config 1.4 KB

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