2014-10-31 06:34:03 +01:00
|
|
|
[location]
|
|
|
|
# Space-separated list of source directories to backup.
|
2016-02-13 21:05:34 +01:00
|
|
|
# Globs are expanded.
|
|
|
|
source_directories: /home /etc /var/log/syslog*
|
2014-10-31 06:34:03 +01:00
|
|
|
|
2016-02-13 19:43:31 +01:00
|
|
|
# For Borg only, you can specify to stay in same file system (do not cross
|
|
|
|
# mount points).
|
|
|
|
#one_file_system: True
|
|
|
|
|
2015-07-19 03:35:29 +02:00
|
|
|
# Path to local or remote repository.
|
2014-10-31 06:34:03 +01:00
|
|
|
repository: user@backupserver:sourcehostname.attic
|
|
|
|
|
2015-09-03 07:48:07 +02: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
|
2016-04-10 19:23:32 +02:00
|
|
|
# archives. See https://borgbackup.readthedocs.org/en/stable/usage.html#borg-create
|
2015-09-03 07:48:07 +02:00
|
|
|
# for details. Defaults to no compression.
|
|
|
|
#compression: lz4
|
2016-02-13 19:59:43 +01:00
|
|
|
# For Borg only, you can specify the umask to be used for borg create.
|
|
|
|
#umask: 0740
|
2015-09-03 07:48:07 +02:00
|
|
|
|
2014-10-31 06:34:03 +01:00
|
|
|
[retention]
|
2015-05-11 07:00:31 +02:00
|
|
|
# Retention policy for how many backups to keep in each category. See
|
2015-07-27 05:57:31 +02:00
|
|
|
# https://attic-backup.org/usage.html#attic-prune or
|
2016-04-10 19:23:32 +02:00
|
|
|
# https://borgbackup.readthedocs.org/en/stable/usage.html#borg-prune for details.
|
2015-07-28 04:06:39 +02:00
|
|
|
#keep_within: 3H
|
2014-12-07 03:35:20 +01:00
|
|
|
#keep_hourly: 24
|
2014-10-31 06:34:03 +01:00
|
|
|
keep_daily: 7
|
|
|
|
keep_weekly: 4
|
|
|
|
keep_monthly: 6
|
2014-12-07 03:35:20 +01:00
|
|
|
keep_yearly: 1
|
|
|
|
#prefix: sourcehostname
|
2015-05-11 07:00:31 +02: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-27 07:02:43 +02:00
|
|
|
# checks. See https://attic-backup.org/usage.html#attic-check or
|
2016-04-10 19:23:32 +02:00
|
|
|
# https://borgbackup.readthedocs.org/en/stable/usage.html#borg-check for details.
|
2015-05-11 07:00:31 +02:00
|
|
|
checks: repository archives
|
2015-07-28 06:47:52 +02:00
|
|
|
# For Borg only, you can restrict the number of checked archives to the last n.
|
|
|
|
#check_last: 3
|