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 Mon 11 Dec 2017, 15:12
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
Save Folder Backup and Restore
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 3 [32 Posts]   Goto page: Previous 1, 2, 3 Next
Author Message
spiritwild


Joined: 03 Oct 2016
Posts: 105

PostPosted: Sun 02 Apr 2017, 16:12    Post subject:  

Ran well on my Xenial box. It completed the backup with no fuss. I haven't tried to restore so I can't comment on that.

Good job, the Izop compression was much faster than I was aware of. I'm keeping this one around Smile
Back to top
View user's profile Send private message 
B.K. Johnson

Joined: 12 Oct 2009
Posts: 639

PostPosted: Sun 02 Apr 2017, 21:58    Post subject:  

drunkjedi, rcrsn51, musher0
Thank you all. I usually just copy the pupsave when running from another puppy.
@musher0
Good to know that
Quote:
it's safe to use live from within the same Puppy if it's the only
operation going on.
I'll be doing a backup tomorrow.
_________________
B.K. Johnson
tahrpup-6.0.5 PAE (upgraded from 6.0 =>6.0.2=>6.0.3=>6.0.5 via quickpet/PPM=Not installed); slacko-5.7 occasionally. Frugal install, pupsave file, multi OS flashdrive, FAT32 , SYSLINUX boot, CPU-Dual E2140, 4GB RAM

Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 11736
Location: Stratford, Ontario

PostPosted: Mon 03 Apr 2017, 08:20    Post subject:  

SaveFolderBackup v1.2 also works with save files. See the note about the best way to run SaveFolderBackup.
Back to top
View user's profile Send private message 
spiritwild


Joined: 03 Oct 2016
Posts: 105

PostPosted: Fri 21 Apr 2017, 19:24    Post subject:  

This is my new favorite utility. I've backed up and restored my partition flawlessly multiple times. Cool
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 11736
Location: Stratford, Ontario

PostPosted: Fri 21 Apr 2017, 20:29    Post subject:  

spiritwild wrote:
This is my new favorite utility. I've backed up and restored my partition flawlessly multiple times.

Excellent. Are you doing "hot" backups from a running Puppy?

--------------------

Here is the 64bit version of lzop-full, made from Debian amd64 packages. It has been tested with some 64bit Puppies (but I can't remember which). If you test it, please report.
lzop_full_64bit_1.03-1.1.pet
Description 
pet

 Download 
Filename  lzop_full_64bit_1.03-1.1.pet 
Filesize  79.84 KB 
Downloaded  55 Time(s) 
Back to top
View user's profile Send private message 
rufwoof

Joined: 24 Feb 2014
Posts: 2176

PostPosted: Fri 21 Apr 2017, 20:55    Post subject:  

spiritwild wrote:
Good job, the Izop compression was much faster than I was aware of. I'm keeping this one around Smile

Similar compression speed to LZ4 however LZ4 isn't a common busybox compression option. For restores LZ4 is much quicker, it can decompress using multi-cores at speeds approaching ram speeds. Compression isn't as tight however as the likes of gzip.

All-told lzo level 1 is a good choice IMO, more readily available (in busybox) and compressed size (disk IO) versus speed has a nice balance (what is lacks in compression tightness it makes up for (and more) in speed). My preferred choice of kernel (initrd) compression (unless lz4 is available).
Back to top
View user's profile Send private message 
drunkjedi


Joined: 24 May 2015
Posts: 684

PostPosted: Fri 21 Apr 2017, 21:15    Post subject:  

rcrsn51 wrote:
Excellent. Are you doing "hot" backups from a running Puppy?
All my runs were doing "hot" backup of savefolder on Fatdog.
But my saveinterval is zero so that would also give no problem. Maybe setting saveinterval to zero on savefiles will work too.
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 11736
Location: Stratford, Ontario

PostPosted: Fri 21 Apr 2017, 22:58    Post subject:  

@rufwoof: Are you providing a test report on this specific project?
Back to top
View user's profile Send private message 
musher0


Joined: 04 Jan 2009
Posts: 11252
Location: Gatineau (Qc), Canada

PostPosted: Sat 22 Apr 2017, 00:49    Post subject:  

drunkjedi wrote:
rcrsn51 wrote:
Excellent. Are you doing "hot" backups from a running Puppy?
All my runs were doing "hot" backup of savefolder on Fatdog.
But my saveinterval is zero so that would also give no problem. Maybe setting saveinterval to zero on savefiles will work too.

Hi drunkjedi and all.

I've been using SFR's PackIT to lzop, lz4, even zip the pupsave of the
Puppy from the Puppy itself for years. I never had a problem.

Just make sure there is no other operation going on in the Puppy when
you do it. And if you have defined save intervals, no expected pupsave
update in the next three minutes.

Also the following should be obvious: the destination archive of this
archiving operation has to be outside the pupsave, in
/mnt/home/"PuppyDir", next to the pupsave file. Do not edit the PackIT
default directory and you'll be fine.

IHTH.

_________________
musher0
~~~~~~~~~~
"Logical entities must not be multiplied beyond necessity." | |
« Il ne faut pas multiplier les entités logiques sans nécessité. » (Ockham)
Back to top
View user's profile Send private message 
sheldonisaac

Joined: 21 Jun 2009
Posts: 702
Location: Philadelphia, PA

PostPosted: Sat 22 Apr 2017, 10:28    Post subject: Re: Save Folder Backup and Restore  

rcrsn51 wrote:
You can also use SFB to backup/restore any collection of data. It puts a ".sfb" extension on the image files to distinguish them from other archiving formats.

Thanks a lot, rcrsn51.
I installed the SFB and the lzop pets, and tried it on a 472K folder with two files in it. It made a tax.2017-04-22.sfb file of 374K in about 1 second.

---------

Booted tahr6.0.6 again, this time with pfix=ram
Installed the two pets.
Used SFB to save a 386MB save folder
to a 238MB tahrsave-feb26.2017-04-22.sfb
Took about 10 seconds.

Restored it (to a different partition) in 4 seconds

_________________
Dell E6410: Xenial, etc
Dell Mini 9, Acer Aspire One, EeePC 1018P, PowerBook G4
Intel D865GBF, Intel DQ35JOE
Back to top
View user's profile Send private message 
spiritwild


Joined: 03 Oct 2016
Posts: 105

PostPosted: Mon 16 Oct 2017, 19:40    Post subject:  

shameless praise.....

This is still the single greatest backup tool on the whole damn planet. Very Happy

Edit: out of curiosity, is it possible to add a line to the code that will play a sound when "done" ?

Sometimes I'm not at the pc and a notification would help me out.

I have a soundfile I like and use aplay in scripts, I'm not familiar with GTK though.

Thanks!!
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 11736
Location: Stratford, Ontario

PostPosted: Tue 17 Oct 2017, 09:00    Post subject:  

The program is /usr/sbin/SaveFolderBackup. Between lines 17 and 18, insert a line like:
Code:
aplay /path/to/soundfile.wav
Back to top
View user's profile Send private message 
frenchiveruti

Joined: 15 Feb 2017
Posts: 93

PostPosted: Thu 09 Nov 2017, 10:55    Post subject: Doesn't restore  

Hello! I'm having an issue, I have a big SFB file (~3.5GB) in my flashdrive, and when I want to "restore" it, It just says "done" but it does nothing.
Is there a commandline that I can use to do the same restore action and actually see if there's something wrong?
Thanks.

The issue is with lzop pet you gave, it doesn't install correctly, I ended up compiling from source so no big deal luckily. Thanks
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 11736
Location: Stratford, Ontario

PostPosted: Thu 09 Nov 2017, 11:03    Post subject:  

It's using
Code:
lzop -d -c "source file" | tar -x -C "destination folder"


Quote:
The issue is with lzop pet you gave, it doesn't install correctly,

In which Puppy are you working?

But how were you able to make the backup in the first place if lzop wasn't working?
Back to top
View user's profile Send private message 
frenchiveruti

Joined: 15 Feb 2017
Posts: 93

PostPosted: Thu 09 Nov 2017, 11:59    Post subject:  

rcrsn51 wrote:
It's using
Code:
lzop -d -c "source file" | tar -x -C "destination folder"


Quote:
The issue is with lzop pet you gave, it doesn't install correctly,

In which Puppy are you working?

But how were you able to make the backup in the first place if lzop wasn't working?

Well I made the backup on my TahrPupx64 and now I'm on a RAM puppy that's literally clean, so I was able to make the backup on my "save-session" puppy, but not able to restore it on my "RAM session" because of this issue.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 2 of 3 [32 Posts]   Goto page: Previous 1, 2, 3 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
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.0534s ][ Queries: 14 (0.0053s) ][ GZIP on ]