Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 31 Jul 2014, 22:17
All times are UTC - 4
 Forum index » Taking the Puppy out for a walk » Suggestions
Save file backup and restore Menu option.
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [6 Posts]  
Author Message
sunburnt


Joined: 08 Jun 2005
Posts: 5010
Location: Arizona, U.S.A.

PostPosted: 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
View user's profile Send private message 
Henry

Joined: 29 Jul 2006
Posts: 829
Location: Oregon USA

PostPosted: 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
View user's profile Send private message Visit poster's website 
sunburnt


Joined: 08 Jun 2005
Posts: 5010
Location: Arizona, U.S.A.

PostPosted: 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
View user's profile Send private message 
Henry

Joined: 29 Jul 2006
Posts: 829
Location: Oregon USA

PostPosted: 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
View user's profile Send private message Visit poster's website 
rhadon


Joined: 27 Mar 2008
Posts: 1291
Location: Germany

PostPosted: 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. Wink
Raspberry Pi without Puppy? No, thanks.
Back to top
View user's profile Send private message 
Henry

Joined: 29 Jul 2006
Posts: 829
Location: Oregon USA

PostPosted: 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 Smile
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [6 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Taking the Puppy out for a walk » Suggestions
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0639s ][ Queries: 12 (0.0117s) ][ GZIP on ]