First page Back Continue Last page Overview Graphics

Tying it together: rsnapshot.conf

This is a sample rsnapshot conf file, with the normal comments elided for brevity. (There is a sample file installed with rsnapshot which gives you examples of the myriad options you can use, heavily commented.)

config_version 1.2 cmd_rsync /usr/bin/rsync cmd_logger /usr/bin/logger verbose 2 loglevel 3 ############################### ### BACKUP POINTS / SCRIPTS ### ############################### snapshot_root /data/backup/yourbox/ interval daily 7 lockfile /var/run/yourbox.rsnapshot.pid backup_script /usr/local/bin/mysqlbak.pl /etc/mysqlbak/yourbox.conf ./mysqldump/ backup yourbox::backup/ ./yourbox/