Guest User

nextcloud_setup.yaml #borgmatic

a guest
Jan 3rd, 2023
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.27 KB | None | 0 0
  1. ---
  2. location:
  3. source_directories:
  4. - /root/docker/nextcloud/nc_data/config
  5. - /root/docker/nextcloud/nc_data/themes
  6. - /root/docker/nextcloud/db_data/backup
  7. - /root/docker/nextcloud/docker-compose.yml
  8. - /root/scripts/
  9. repositories:
  10. - ssh://borg@borgserver/backups/nextcloud/setup
  11. retention:
  12. keep_daily: 7
  13. keep_weekly: 4
  14. keep_monthly: 6
  15.  
  16. storage:
  17. compression: zstd,7
  18. encryption_passphrase: "xxx"
  19. retries: 3
  20. retry_wait: 10
  21.  
  22. hooks:
  23. before_actions:
  24. - bash /root/scripts/dumpDB
  25. - sleep 15
  26. after_actions:
  27. - wget -qO - http://xxxxx:3001/api/push/xxxxxxx?status=up&msg=Backup+done &> /dev/null
  28. healthchecks: http://xxxxxx:8000/ping/xxxxxx
  29.  
  30. consistency:
  31. # List of one or more consistency checks to run: "repository", "archives", and/or
  32. # "extract". Defaults to "repository" and "archives". Set to "disabled" to disable
  33. # all consistency checks. "repository" checks the consistency of the repository,
  34. # "archive" checks all of the archives, and "extract" does an extraction dry-run
  35. # of just the most recent archive.
  36. checks:
  37. - repository
  38. - archives
  39. # Restrict the number of checked archives to the last n. Applies only to the "archives" check.
  40. check_last: 3
Advertisement
Add Comment
Please, Sign In to add comment