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