config 1.3 KB

123456789101112131415161718192021222324252627282930313233343536
  1. [location]
  2. # Space-separated list of source directories to backup.
  3. source_directories: /home /etc
  4. # Path to local or remote repository.
  5. repository: user@backupserver:sourcehostname.attic
  6. [storage]
  7. # Passphrase to unlock the encryption key with. Only use on repositories that
  8. # were initialized with passphrase/repokey encryption.
  9. #encryption_passphrase: foo
  10. # For Borg only, you can specify the type of compression to use when creating
  11. # archives. See https://borgbackup.github.io/borgbackup/usage.html#borg-create
  12. # for details. Defaults to no compression.
  13. #compression: lz4
  14. [retention]
  15. # Retention policy for how many backups to keep in each category. See
  16. # https://attic-backup.org/usage.html#attic-prune or
  17. # https://borgbackup.github.io/borgbackup/usage.html#borg-prune for details.
  18. #keep_within: 3H
  19. #keep_hourly: 24
  20. keep_daily: 7
  21. keep_weekly: 4
  22. keep_monthly: 6
  23. keep_yearly: 1
  24. #prefix: sourcehostname
  25. [consistency]
  26. # Space-separated list of consistency checks to run: "repository", "archives",
  27. # or both. Defaults to both. Set to "disabled" to disable all consistency
  28. # checks. See https://attic-backup.org/usage.html#attic-check or
  29. # https://borgbackup.github.io/borgbackup/usage.html#borg-check for details.
  30. checks: repository archives
  31. # For Borg only, you can restrict the number of checked archives to the last n.
  32. #check_last: 3