rsnapshot.conf.example 696 B

1234567891011121314151617181920212223242526272829303132
  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. ssh_args -p 2022
  22. sync_first 1
  23. backup alice@localhost:/ data-volume