How to back up a save file, convert it to a save folder?

Issues and / or general discussion relating to Puppy

Moderator: Forum moderators

Post Reply
User avatar
spiritwild
Posts: 77
Joined: Wed Jul 22, 2020 1:34 am
Been thanked: 24 times

How to back up a save file, convert it to a save folder?

Post by spiritwild »

I've been using save folders exclusively for 20 years. I set up a server on an old PC using xenialpup 7.5
Thought I'd try using a save file.

Questions being, whats the best way to back it up?
Can you just copy it like any other file?

Also.... can you convert back to a save folder if need be?

Thanks

User avatar
mikewalsh
Moderator
Posts: 5765
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 643 times
Been thanked: 1785 times

Re: How to back up a save file, convert it to a save folder?

Post by mikewalsh »

@spiritwild :-

Yup; you can copy it - to back it up - just as you can with any other file in Puppy. I ran with save-files for at least the first 4 years I was with Puppy, and in fact the ONLY form of back-ups I've ever employed for the whole of the last decade is a simple copy/paste. Which has always worked flawlessly.

To convert back, just create a new blank directory, name it appropriately - no need for the 2fs/3fs/4fs extension, obviously! - then mount the save-file and just copy the contents over. I've never had any issues with doing this.

Mike. Image

Puppy "stuff" ~ MORE Puppy "stuff" ~ ....and MORE! :D
_______________________________________________________

Image

redquine
Posts: 34
Joined: Sat Jun 13, 2020 12:38 pm
Has thanked: 102 times
Been thanked: 8 times

Re: How to back up a save file, convert it to a save folder?

Post by redquine »

To convert back, just create a new blank directory, name it appropriately - no need for the 2fs/3fs/4fs extension, obviously! - then mount the save-file and just copy the contents over. I've never had any issues with doing this.

Agreed. The only thing I'd add is, make sure you show the hidden files and folders so you can copy these over as well.

User avatar
mikewalsh
Moderator
Posts: 5765
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 643 times
Been thanked: 1785 times

Re: How to back up a save file, convert it to a save folder?

Post by mikewalsh »

redquine wrote: Sat Feb 24, 2024 9:56 am

To convert back, just create a new blank directory, name it appropriately - no need for the 2fs/3fs/4fs extension, obviously! - then mount the save-file and just copy the contents over. I've never had any issues with doing this.

Agreed. The only thing I'd add is, make sure you show the hidden files and folders so you can copy these over as well.

@redquine :-

Good catch. Yes, I meant to mention that myself, but forgot.......so long as it's been brought up, that's the main thing. :D

Mike. ;)

Puppy "stuff" ~ MORE Puppy "stuff" ~ ....and MORE! :D
_______________________________________________________

Image

esos
Posts: 161
Joined: Thu Feb 18, 2021 4:33 am
Been thanked: 17 times

Re: How to back up a save file, convert it to a save folder?

Post by esos »

I use this tool to backup "save folder"

Attachments
backup-restore.png
backup-restore.png (34.68 KiB) Viewed 218 times
User avatar
bigpup
Moderator
Posts: 6550
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 797 times
Been thanked: 1364 times

Re: How to back up a save file, convert it to a save folder?

Post by bigpup »

savefile2dir - Convert savefile to savefolder
http://murga-linux.com/puppy/viewtopic.php?t=96472

The first post tells you about the different versions and what they are for.

Specific download links are in the different posts.


If you do a manual conversion.
Need to make sure the save folder is the correct name, used by the Puppy version, for a save folder.
Usually the same name as a save file, without the .xfs at the end.

I do a normal copy paste of a save file to make a backup.
I add bak. to the start of the name, so it is not seen as a usable save when Puppy boots.
Just remove the bak. and it is all correct to use.
Plus the bak. in the name, tells me this is a backup copy.
This also works for save folders.

Forum Global Moderator
The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

User avatar
spiritwild
Posts: 77
Joined: Wed Jul 22, 2020 1:34 am
Been thanked: 24 times

Re: How to back up a save file, convert it to a save folder?

Post by spiritwild »

Thanks for the help. I like the savefolder pet. been using the save folder backup since it was created.
I like that it dates the files .

I like xenial 7.5, not sure it's the best choice but seems to have a much smaller footprint than others I tried.
I was just making use of these obsolete computers I have laying around and it seems to run fine for a file server.
I can run
apache
ssh
ftp
x11vnc
anydesk ..... if need be

although, ssh was a day long adventure of configs coffee and cigarettes.
I think I just enjoy the creation of things or the stress of it. Both maybe.
Excert When you try to fix one thing and that other thingquits working.
It's the main reason I chose Puppy so long ago, It just seems to be
a more user friendly linux and the forum support has been great.

Me after googling bash commands.....

https://youtu.be/qyUnSuYYs18?si=ix-OKRII7ylTCYqm

Post Reply

Return to “Users”