previous page | print version | next page

9. How to make a backup

9.1 How to backup pup_safe.2fs

The file pup_safe.2fs contains the personal settings and your personal files, if the files are not stored on another partition (e.g. harddrive, USB stick). The backup is very simple. Either you start Puppy with the boot-option "puppy pfix=ram" or you start your old operating system (Windows). Then you copy the file onto the backup medium (e.g. another harddrive, USB stick, CD-ROM).

9.2 How to restore files out of the pup_save.2fs-file

You can see the content of the file pup_safe.2fs only if the file is loaded while booting Puppy. If the file cannot be loaded, there is nevertheless a way of getting into the file and saving the content:

9.3 Backup with rsync

If you do not store your files in the file pup_save.2fs but on a partition with ext2/ext3-filesystem, you can backup the files with the rsync-command. I recommend a second (external) harddrive as backup medium. The backup harddrive must have an ext2/ext3-filesystem too (see chapter 3.3.2).

Rsync synchronizes the backup with your current files and copies only the new and/or changed files on the backup medium. At the same time rsync deletes (if you want) all files from the backup medium, which you don’t have anymore. In order to be able to use rsync, you must install the program first. (Search at the Puppy-Forum).

Before you make a backup ensure that your files were not compromised (see chapter 11.4).

The following example assumes that you saved your files at the directory /myData and that the backup directory is /backup.

Open a shell and enter the following commands:

Note: The diagonal stroke behind /mnt/hda4/myData/ is important. Only the files within the directory /mnt/hda4/myData are copied, not the directory myData itself.

These are the rsync-options:

With the following commands you can restore your files from the backup: