Wiki source for Backup


Show raw source

{{include tonguesBackup}}
[[HomePage]] > [[ComponentHowTo Components and HowTos]] > [[HowToConfigure Configure]]

====Backup====

==How to Backup, Restore and Clone an Ext Partition: ==
http://www.murga-linux.com/puppy/viewtopic.php?t=54231

==Hot Backup for Frugal Pups==
[[PupsaveBackup]] backups the [[SaveFile PupSave file]] (this is the file that saves additions and changes to a [[InstallationFrugal Frugal Installation]]).

Features:
-Very nice GUI. Easy to use
-Auto-detects the current savefile.
-Generates the backup file name with the date and time appended.
-Checks the available space for the backup file.
-Will not perform the backup if anything is incorrect.
-Displays real-time status and progress feedback.
-Supports 2fs and 3fs save file types.
-date and time as part of the filename
-File system check on the backed up pupsave.
-Lots of built-ins and safety features make it very "oops" proof.

[[http://www.murga-linux.com/puppy/viewtopic.php?t=49999 forum thread]]

==Simple Backup/restore script for frugal pups:==
[[http://www.murga-linux.com/puppy/viewtopic.php?t=60233 forum thread]]

-Can run without starting X
-Auto-dectects all savefile & backups in /mnt/home
-Date as part of the filename(the author was lazy to inculde time, so make sure you dont overwrite when making 2 backups on the same day)
-Will search(for restore) and save only in /mnt/home unless you edit the script your self.

==How to backup savefile when shuting down for frugal:==
[[http://www.murga-linux.com/puppy/viewtopic.php?t=55420 forum thread]]

The way it works is this. On shutdown, there is a query asking whether you want to back up the pupsave. If you say "y", it backs it up in a previously specified location; there are as many backups there as you want to specify (for example, if you want the 4 latest backups, when you do a new one the oldest one already there is deleted). After the backup is finished, the shutdown completes. If you say "n", the shutdown simply completes as is normal. If you say nothing (for example, you've walked off after telling Puppy to shut down), after 20 seconds it times out and completes the shutdown without backing up.

==Backup savefile every "time interval"(fully automatic/run in background). Also includes backup-on-shutdown:== http://www.murga-linux.com/puppy/viewtopic.php?p=495560 forum post]]

-Put this into /root/Startup, so i wont have to care about backing up again!
-Configure time interval between save.
-Easy to configure, adjust it to your needs.
-Backup on shutdown is more simple that the script above.

==Snap2 rotating snapshot backups for Puppy:==
[[http://www.murga-linux.com/puppy/viewtopic.php?t=50402 forum post]]

-If you would like to keep 'snapshot's of your files (or, usually, a subset of your files) as they were hours ago, days ago, weeks ago, etc., this program will do that, automatically "spacing out" the backups over time.
-Thanks to the use of hard links, it can keep several gigabytes of files on a one-gig USB drive, without compression. Your backups are accessed as ordinary directories and files.
-It can also do backup to a remote server. Thanks to the hard link trick, duplicate files (from one backup to another) are "copied" without using disk space. And thanks to rsync magic, only changed portions of files are transmitted.
-You access and browse your backups just as you would ordinary directories and files, with any file manager. Despite the huge savings in disk space through the use of hard links, no compression is used. This allows you to easily inspect backup files and compare one version of a file with another.

==PUDD copy drive/partition==
This can be found under the Utility menu group in most Puppys and can be used for backing up directories/partitions/drives. It has step by step instruction, but it could be good to add some more information there. You may have to start with a live CD (Like if the Puppy save file is on the partition). Some HDDs can be configured so that when choosing a partiton, you wind up with two partitions on 2 rows and can't continue.
Some snags one can experience when backing up a partition to a file:
The partition to be copied must be UNmounted. But when you are choosing when to put the saved zipped file, the partition where you place it must be MOUNTED to find it (go below ROOT, choose MNT and find your partiton. You can change the name MYFILE.IMG to something more descriptive before clicking OK).
Once it's working it says "wait very patiently". Example a 70 GB partition gZIPed took 36 minutes and created a 0,7 Gb file (the original partition was not very full. So it can take MUCH longer)

==Hard drive migration==
Tutorial - Hard disk migration - Cloning a Windows installation
A small hard drive with a Windows XP installation is successfully upgraded with a much larger hard drive.
The step-by-step instructions are given here...
[[http://www.murga-linux.com/puppy/viewtopic.php?t=95284 Tutorial using DriveImage XML]]

==Also on the Wiki==
~[[puppy-rsync]], [[gRsync]], [[rsync]] - utility that provides incremental file transfer
~[[dd]] - create an image

==Related Webpages==
~http://clonezilla.org/

==Categories==
CategorySecurity
CategorySoftware
CategoryFileSystem
CategoryRecovery
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki