tarsnap.conf.sample 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. ### Recommended options
  2. # Tarsnap cache directory
  3. cachedir /usr/local/tarsnap-cache
  4. # Tarsnap key file
  5. keyfile /root/tarsnap.key
  6. # Don't archive files which have the nodump flag set.
  7. nodump
  8. # Print statistics when creating or deleting archives.
  9. print-stats
  10. # Create a checkpoint once per GB of uploaded data.
  11. checkpoint-bytes 1G
  12. ### Commonly useful options
  13. # Use SI prefixes to make numbers printed by --print-stats more readable.
  14. #humanize-numbers
  15. ### Other options, not applicable to most systems
  16. # Aggressive network behaviour: Use multiple TCP connections when
  17. # writing archives. Use of this option is recommended only in
  18. # cases where TCP congestion control is known to be the limiting
  19. # factor in upload performance.
  20. #aggressive-networking
  21. # Exclude files and directories matching specified patterns.
  22. # Only one file or directory per command; multiple "exclude"
  23. # commands may be given.
  24. #exclude
  25. # Include only files and directories matching specified patterns.
  26. # Only one file or directory per command; multiple "include"
  27. # commands may be given.
  28. #include
  29. # Attempt to reduce tarsnap memory consumption. This option
  30. # will slow down the process of creating archives, but may help
  31. # on systems where the average size of files being backed up is
  32. # less than 1 MB.
  33. #lowmem
  34. # Try even harder to reduce tarsnap memory consumption. This can
  35. # significantly slow down tarsnap, but reduces its memory usage
  36. # by an additional factor of 2 beyond what the lowmem option does.
  37. #verylowmem
  38. # Snapshot time. Use this option if you are backing up files
  39. # from a filesystem snapshot rather than from a "live" filesystem.
  40. #snaptime <file>