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.
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.
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 /dev/hda4 /mnt/hda4
Mount the partition, on which you stored your file. It must be a partition with a Linux-filesystem, e.g. ext2/ext3
mount /dev/sda1 /mnt/sda1
Mount the partition, on which you want to store the backup, e.g. an external harddrive with ext2/ext3-filesystem.
Backup the files. If there is no backup-directory, create one with the command mkdir /mnt/sda1/backup
umount /dev/hda4
Unmount the partition
umount /dev/sda1
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:
a: all directories and files are copied
v: you can see the progress on the screen
delete: directories and files, that no longer exist in myData are deleted from the backup. If you don’t like this, leave out the --delete option.
With the following commands you can restore your files from the backup: