| Author |
Message |
sunburnt

Joined: 08 Jun 2005 Posts: 4016 Location: Arizona, U.S.A.
|
Posted: Mon 07 Jan 2013, 21:32 Post_subject:
Save file backup and restore Menu option. |
|
# Suggestion to the main Puppy Developers:
A menu item for backing up and restoring the SAVE file.
A restore option would also be added to the boot menu`s options.
So then it could do an instant recovery from a bad SAVE file ( common ).
Gzip the SAVE file with the date added in it`s name.
Show the SAVE file list when the boot menu option is invoked.
.
|
|
Back to top
|
|
 |
Henry
Joined: 29 Jul 2006 Posts: 812 Location: Oregon USA
|
Posted: Mon 07 Jan 2013, 23:38 Post_subject:
Re: Puppy Save file backup and restore. |
|
| sunburnt wrote: | # Suggestion to the main Puppy Developers:
A menu item for backing up and restoring the SAVE file.
A restore option would also be added to the boot menu`s options.
So then it could do an instant recovery from a bad SAVE file ( common ).
Gzip the SAVE file with the date added in it`s name.
Show the SAVE file list when the boot menu option is invoked.
. |
2. Don't copy, rename, delete or replace a save file while it is in use. Never use the running save file (e.g. save-A.2fs) to copy itself, which will corrupt it. Reboot and use a different save file to copy or replace it with one of its backups using Pupsave restore.
3. Pupsave Hot Backup safely makes a time stamped copy of the running save file in /mnt/home. See http://www.murga-linux.com/puppy/viewtopic.php?t=49999
4. Keep two save files in /mnt/home: save-A.2fs and save-B.2fs. During startup you can choose one or the other. If you choose A you can copy or replace B with one of its backups. Or vice versa. Or use Pupsave Restore. Note: restore A or B from B or A not from A or B!
http://www.murga-linux.com/puppy/viewtopic.php?t=72153 Note that PupsaveRestore.sh has been modified, changing gtkdialog3 to gtkdialog2 near the end.
I've been using Pupsave Hot Backup and Pupsave Restore for years. Couldn't do without them!
|
|
Back to top
|
|
 |
sunburnt

Joined: 08 Jun 2005 Posts: 4016 Location: Arizona, U.S.A.
|
Posted: Tue 08 Jan 2013, 14:31 Post_subject:
|
|
Henry; It`s interesting that you say not to copy the Save while in use.
I`ve heard this many times in the forum, but I`ve never had a problem.
I`ve copied the working Save file many dozens of times with no problems.
The same for SFS files, there`s no reason mounted files can`t be copied.
I`ve seen no warnings about copying mounted files in mount man files.
NOTE: I just copied the Save in this Puppy with no problems.
It`s understandable that writing to the Save during copying might barf it.
Why isn`t Pupsave Hot Backup on Puppy`s menu?
And I assume Pupsave Restore is the working part of Puppy`s bootup?
|
|
Back to top
|
|
 |
Henry
Joined: 29 Jul 2006 Posts: 812 Location: Oregon USA
|
Posted: Tue 08 Jan 2013, 16:34 Post_subject:
|
|
Sunburnt,
I've had plenty of experience of corruption using the save file to copy itself. Usually not massive corruption but unacceptable in details. A word to the wise . . .
About hot back up and restore, why not just look at the urls I provided. They're pretty clear.
Henry
|
|
Back to top
|
|
 |
rhadon

Joined: 27 Mar 2008 Posts: 1228 Location: Germany
|
Posted: Wed 09 Jan 2013, 17:45 Post_subject:
|
|
Hot Backup uses the usual cp command for copying, so how can it be more save than using this command manually?
OK, Hot Backup uses e2fsck after copying, but AFAIK nothing more. I like this program and use it for backups but I don't think it's safer than backing up a save file in use manually and then e2fsck. For me, both methods are safe enough.
Rolf
_________________ Ich verwende "frugal", und das ist gut so.
Raspberry Pi without Puppy? No, thanks.
|
|
Back to top
|
|
 |
Henry
Joined: 29 Jul 2006 Posts: 812 Location: Oregon USA
|
Posted: Wed 09 Jan 2013, 18:44 Post_subject:
|
|
| rhadon wrote: | Hot Backup uses the usual cp command for copying, so how can it be more save than using this command manually?
OK, Hot Backup uses e2fsck after copying, but AFAIK nothing more. I like this program and use it for backups but I don't think it's safer than backing up a save file in use manually and then e2fsck. For me, both methods are safe enough.
Rolf |
Thanks for that clarification, Rolf. Maybe it's only a small corruption that would be fixed by e2fsck, but I would rather not have to bother with that. For me these hot backup and restore features are very convenient to use as a a pair and do not need me to boot with pfix=ram. (My puppy is so very customised that when I do that it looks strange to me - no, I have not remastered it.)
I am continually doing small (and not so small) tweaks, and these help me to keep my save file safe
|
|
Back to top
|
|
 |
|