The file pup_safe.3fs 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).
You can see the content of the file pup_safe.3fs 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:
mount -o loop /mnt/hdax/pup_save.3fs /mnt/data
/mnt/hdax is the partition you stored the pup_save.3fs-file (e.g. mount -o loop /mnt/hda2/pup_save.3fs /mnt/data).
If you do not store your files in the file pup_save.3fs but on a partition with 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 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:
Mount the partition, on which you stored your file. It must be a partition with a Linux-filesystem, e.g. ext3
Mount the partition, on which you want to store the backup, e.g. an external harddrive with ext3-filesystem.
Backup the files. If there is no backup-directory, create one with the command mkdir /mnt/sda1/backup
Unmount the partition
Unmount the partition
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: