rsnapshot is a filesystem snapshot utility based on rsync. rsnapshot makes it easy to make periodic snapshots of local machines, and remote machines over ssh. The code makes extensive use of hard links whenever possible, to greatly reduce the disk space required. 1
rsnapshot can be installed with the Pakfire WebGUI or via the console:
pakfire install rsnapshot
There is no web interface for this add-on. To run this add-on open the client console or terminal and access the IPFire box via SSH.
To obtain a list of possible commands, options, and arguments enter rsnapshot help. The output is similar to this:
$ rsnapshot help
rsnapshot 1.4.5
Usage: rsnapshot [-vtxqVD] [-c cfgfile] [command] [args]
rsnapshot is a filesystem snapshot utility. It can take incremental
snapshots of local and remote filesystems for any number of machines.
Options:
-v verbose - Show equivalent shell commands being executed.
-t test - Show verbose output, but don't touch anything.
This will be similar, but not always exactly the same
as the real output from a live run.
. . .
/mnt/hddmkdir --verbose --mode=777 /mnt/hdd/rsnapshot/etc/rsnapshot.conf file/etc/rsnapshot.conf file.snapshot_root /mnt/hdd/rsnapshot/ line/etc/rsnapshot.conf file:rsnapshot configtest
Changes to fcron are made as part of the rsnapshot add-on install (i.e., fcron.hourly, fcron.daily, fcron.weekly, fcron.monthly)
Once the external drive is connected and the snapshot_root is correctly set, rsnapshot will begin backups per the BACKUP LEVELS / INTERVALS in the /etc/rsnapshot.conf file.
Do you see an error like this in the /var/log/messages log?
rsnapshot[nn]: /usr/bin/rsnapshot -c /etc/rsnapshot.conf sync: ERROR: rsnapshot refuses to create snapshot_root when no_create_root is enabled
This indicates there may be an issue with the snapshot_root. The directory may not be created or may be misspelled. Or the external drive may not be mounted.
Introduction from https://rsnapshot.org ↩