rsnapshot.conf.example 715 B

123456789101112131415161718192021222324252627282930
  1. config_version 1.2
  2. snapshot_root /tmp/rsnapshot/
  3. # do not create $snapshot_root
  4. #no_create_root 1
  5. cmd_cp /bin/cp
  6. cmd_rsync /usr/bin/rsync
  7. cmd_ssh /usr/bin/ssh
  8. retain alpha 16
  9. retain beta 8
  10. retain gamma 8
  11. retain delta 8
  12. # 1 Quiet Print fatal errors only
  13. # 2 Default Print errors and warnings only
  14. # 3 Verbose Show equivalent shell commands being executed
  15. # 4 Extra Verbose Show extra verbose information
  16. # 5 Debug mode Everything
  17. verbose 3
  18. # prevent two instances from running simultaneously and
  19. # potentially messing up $snapshot_root
  20. lockfile /tmp/rsnapshot.pid
  21. #sync_first 1
  22. backup_script /usr/bin/ssh -T -p 2222 dump@localhost > dump.sql mysqldump