I use rsnapshot-1.4.1 and install it manually from the tar.gz source by doing
./configure make install
By default it will install a template rsnapshot.conf.default file under /usr/local/etc/ and the rsnapshot perl script under /usr/local/bin/
you need to do 2 things regarding the configuration file:
cp /usr/local/etc/rsnapshot.conf.default /usr/local/etc/rsnapshot.conf
the /usr/local/bin/rsnapshot perl executable looks specify for /usr/local/etc/rsnapshot.conf
then edit /usr/local/etc/rsnapshot.conf
the snapshot_root you should almost always modify to suit your system. In my case below, the /bkup folder is another hard drive mounted to the system. Set permissions on the /bkup folder appropriately, or whatever the name of that folder may be for you. Then under that "bkup" folder it is recommended to make a folder such as "private" that is owned by root having permissions 0700.
If you wish users to access the backup, then do a read-only nfs export of /bkup/private to localhost. Then nfs mount it via
mount localhost:/bkup/private /backup
then the folder /backup will be protected from modification because of the forced read-only nfs export and mount, and users will recognize the full name of "backup" easier.
highlights of my rsnapshot.conf file, I back up 3 folders non-incremental:
snapshot_root /bkup/private/ no_create_root 1 cmd_cp /bin/cp retain daily 1 logfile /var/log/rsnapshot # remove the --delete-excluded from rsync_long_args # this is so rsnapshot NEVER deletes anything it has backed up rsync_long_args --numeric-ids --relative # hostname of this system is jupiter backup /info/ jupiter/ backup /home/ jupiter/ backup /data/ jupiter/