common.yaml 720 B

12345678910111213141516171819202122232425262728293031
  1. repositories:
  2. - path: ssh://${STORAGE_BOX_USER}@${STORAGE_BOX_USER}.your-storagebox.de:23/./borg-repo
  3. label: hetzner
  4. remote_path: borg-1.4
  5. ssh_command: ssh -i /var/run/secrets/${SSH_KEY_NAME}
  6. log_file: /root/.local/share/borgmatic/log
  7. encryption_passphrase: "{credential container ${BORG_PASSPHRASE_NAME}}"
  8. compression: lz4
  9. checks:
  10. - name: repository
  11. frequency: 2 weeks
  12. - name: archives
  13. frequency: always
  14. - name: extract
  15. frequency: 2 weeks
  16. - name: data
  17. frequency: 1 month
  18. commands:
  19. - before: everything
  20. run:
  21. - echo "Starting a backup job."
  22. - after: everything
  23. run:
  24. - echo "Backup created."
  25. - after: error
  26. run:
  27. - echo "Error while creating a backup."