Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Update] Update config.yaml to Address Deprecated Options #276

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
65 changes: 32 additions & 33 deletions data/borgmatic.d/config.yaml
@@ -1,35 +1,34 @@
location:
source_directories:
- /mnt/source
repositories:
- /mnt/borg-repository
one_file_system: true

storage:
source_directories:
- /mnt/source
repositories:
- path: /mnt/borg-repository
one_file_system: true


# Passphrase is set in variable $BORG_PASSPHRASE
# encryption_passphrase: "DoNotMissToChangeYourPassphrase"
compression: lz4
archive_name_format: 'backup-{now}'

retention:
keep_hourly: 2
keep_daily: 7
keep_weekly: 4
keep_monthly: 12
keep_yearly: 10
prefix: 'backup-'

consistency:
checks:
- repository
- archives
check_last: 3
prefix: 'backup-'

hooks:
before_backup:
- echo "Starting a backup job."
after_backup:
- echo "Backup created."
on_error:
- echo "Error while creating a backup."
compression: lz4
archive_name_format: 'backup-{now}'


keep_hourly: 2
keep_daily: 7
keep_weekly: 4
keep_monthly: 12
keep_yearly: 10



checks:
- name: repository
- name: archives
check_last: 3



before_backup:
- echo "Starting a backup job."
after_backup:
- echo "Backup created."
on_error:
- echo "Error while creating a backup."