config 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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. # For Borg only, you can specify the umask to be used for borg create.
  18. #umask: 0740
  19. [retention]
  20. # Retention policy for how many backups to keep in each category. See
  21. # https://attic-backup.org/usage.html#attic-prune or
  22. # https://borgbackup.github.io/borgbackup/usage.html#borg-prune for details.
  23. #keep_within: 3H
  24. #keep_hourly: 24
  25. keep_daily: 7
  26. keep_weekly: 4
  27. keep_monthly: 6
  28. keep_yearly: 1
  29. #prefix: sourcehostname
  30. [consistency]
  31. # Space-separated list of consistency checks to run: "repository", "archives",
  32. # or both. Defaults to both. Set to "disabled" to disable all consistency
  33. # checks. See https://attic-backup.org/usage.html#attic-check or
  34. # https://borgbackup.github.io/borgbackup/usage.html#borg-check for details.
  35. checks: repository archives
  36. # For Borg only, you can restrict the number of checked archives to the last n.
  37. #check_last: 3