Save Folder Backup and Restore
- spiritwild
- Posts: 181
- Joined: Mon 03 Oct 2016, 10:06
-
- Posts: 807
- Joined: Mon 12 Oct 2009, 17:11
drunkjedi, rcrsn51, musher0
Thank you all. I usually just copy the pupsave when running from another puppy.
@musher0
Good to know that
Thank you all. I usually just copy the pupsave when running from another puppy.
@musher0
Good to know that
I'll be doing a backup tomorrow.it's safe to use live from within the same Puppy if it's the only
operation going on.
[color=blue]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[/color]
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[/color]
- spiritwild
- Posts: 181
- Joined: Mon 03 Oct 2016, 10:06
Excellent. Are you doing "hot" backups from a running Puppy?spiritwild wrote:This is my new favorite utility. I've backed up and restored my partition flawlessly multiple times.
--------------------
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.
- Attachments
-
- lzop_full_64bit_1.03-1.1.pet
- (79.84 KiB) Downloaded 329 times
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.spiritwild wrote:Good job, the Izop compression was much faster than I was aware of. I'm keeping this one around
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).
Hi drunkjedi and all.drunkjedi wrote:All my runs were doing "hot" backup of savefolder on Fatdog.rcrsn51 wrote:Excellent. Are you doing "hot" backups from a running Puppy?
But my saveinterval is zero so that would also give no problem. Maybe setting saveinterval to zero on savefiles will work too.
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
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
-
- Posts: 902
- Joined: Mon 22 Jun 2009, 01:36
- Location: Philadelphia, PA
Re: Save Folder Backup and Restore
Thanks a lot, rcrsn51.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.
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: BusterPup, BionicPup64, Xenial, etc
Intel DQ35JOE, Dell Vostro 430
Dell Inspiron, Acer Aspire One, EeePC 1018P
Intel DQ35JOE, Dell Vostro 430
Dell Inspiron, Acer Aspire One, EeePC 1018P
- spiritwild
- Posts: 181
- Joined: Mon 03 Oct 2016, 10:06
shameless praise.....
This is still the single greatest backup tool on the whole damn planet.
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!!
This is still the single greatest backup tool on the whole damn planet.
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!!
The program is /usr/sbin/SaveFolderBackup. Between lines 17 and 18, insert a line like:
Code: Select all
aplay /path/to/soundfile.wav
-
- Posts: 120
- Joined: Wed 15 Feb 2017, 14:00
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
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
It's using
But how were you able to make the backup in the first place if lzop wasn't working?
Code: Select all
lzop -d -c "source file" | tar -x -C "destination folder"
In which Puppy are you working?The issue is with lzop pet you gave, it doesn't install correctly,
But how were you able to make the backup in the first place if lzop wasn't working?
-
- Posts: 120
- Joined: Wed 15 Feb 2017, 14:00
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.rcrsn51 wrote:It's usingCode: Select all
lzop -d -c "source file" | tar -x -C "destination folder"
In which Puppy are you working?The issue is with lzop pet you gave, it doesn't install correctly,
But how were you able to make the backup in the first place if lzop wasn't working?
-
- Posts: 120
- Joined: Wed 15 Feb 2017, 14:00
This is a bump, so this very good program, gets some daylight in the forum.
I hate the way stuff goes deeper and deeper, into the pages of this forum.
A lot of good programs, are lost, when they get 40, 50, 60 70, pages down, into forum sections.
Note:
I suggest you put the download, for the latest version of the 32bit and 64bit, in the first post of this topic.
I hate the way stuff goes deeper and deeper, into the pages of this forum.
A lot of good programs, are lost, when they get 40, 50, 60 70, pages down, into forum sections.
Note:
I suggest you put the download, for the latest version of the 32bit and 64bit, in the first post of this topic.
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected
YaPI(any iso installer)
When I was a kid I wanted to be older.... This is not what I expected
YaPI(any iso installer)
Re: Save Folder Backup and Restore
This is the first post in this topic.
Where does it say SaveFolderBackup pet package will work on 32bit or 64bit Puppy versions?
If you are going to post the 32bit version of lzop pet on this first post.
Make it easy to find the 64 bit version, by also putting it in the first post.
You may think putting a note in the comment for the lzop 32bit pet will always be seen by people.
Not!
Peoples minds do not always work that way
Where does it say SaveFolderBackup pet package will work on 32bit or 64bit Puppy versions?
If you are going to post the 32bit version of lzop pet on this first post.
Make it easy to find the 64 bit version, by also putting it in the first post.
You may think putting a note in the comment for the lzop 32bit pet will always be seen by people.
Not!
Peoples minds do not always work that way
rcrsn51 wrote:Update: SaveFolderBackup v1.2 also works with save files. Drag the file into the selection box.
Hint: The best way to use SaveFolderBackup is to backup/restore Puppy X by working from another Puppy Y. Puppy Y could be on a bootable flash drive that also stores the image files.
Doing "hot" backups of save files can lead to big trouble when you try to restore them. But I've had good luck doing it with save folders. YMMV.
----------------------
SaveFolderBackup makes a backup copy of your Puppy save folder by compressing it into a single image file and storing it in another location. You can then restore it if needed. Because the backup image is a file, you can store it anywhere, like on a FAT32 flash drive.
Install the PET and look in the Utility menu.
SaveFolderBackup uses lzop compression. All Puppies have lzop via Busybox, but the "full" version attached below is faster. The PET is built from Debian packages.
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.
-----------------
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected
YaPI(any iso installer)
When I was a kid I wanted to be older.... This is not what I expected
YaPI(any iso installer)