Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---
- location:
- source_directories:
- - /root/docker/nextcloud/nc_data/config
- - /root/docker/nextcloud/nc_data/themes
- - /root/docker/nextcloud/db_data/backup
- - /root/docker/nextcloud/docker-compose.yml
- - /root/scripts/
- repositories:
- - ssh://borg@borgserver/backups/nextcloud/setup
- retention:
- keep_daily: 7
- keep_weekly: 4
- keep_monthly: 6
- storage:
- compression: zstd,7
- encryption_passphrase: "xxx"
- retries: 3
- retry_wait: 10
- hooks:
- before_actions:
- - bash /root/scripts/dumpDB
- - sleep 15
- after_actions:
- - wget -qO - http://xxxxx:3001/api/push/xxxxxxx?status=up&msg=Backup+done &> /dev/null
- healthchecks: http://xxxxxx:8000/ping/xxxxxx
- consistency:
- # List of one or more consistency checks to run: "repository", "archives", and/or
- # "extract". Defaults to "repository" and "archives". Set to "disabled" to disable
- # all consistency checks. "repository" checks the consistency of the repository,
- # "archive" checks all of the archives, and "extract" does an extraction dry-run
- # of just the most recent archive.
- checks:
- - repository
- - archives
- # Restrict the number of checked archives to the last n. Applies only to the "archives" check.
- check_last: 3
Advertisement
Add Comment
Please, Sign In to add comment