common.yaml 718 B

123456789101112131415161718192021222324252627282930313233
  1. constants:
  2. home: /mnt/source/home/theenglishway
  3. repositories:
  4. - path: ssh://${STORAGE_BOX_USER}@${STORAGE_BOX_USER}.your-storagebox.de:23/./borg-repo
  5. label: hetzner
  6. remote_path: borg-1.4
  7. ssh_command: ssh -i ~/.ssh/${SSH_KEY_NAME}
  8. encryption_passphrase: "{credential file /credentials/borg_passphrase}"
  9. compression: lz4
  10. checks:
  11. - name: repository
  12. frequency: 2 weeks
  13. - name: archives
  14. frequency: always
  15. - name: extract
  16. frequency: 2 weeks
  17. - name: data
  18. frequency: 1 month
  19. commands:
  20. - before: everything
  21. run:
  22. - echo "Starting a backup job."
  23. - after: everything
  24. run:
  25. - echo "Backup created."
  26. - after: error
  27. run:
  28. - echo "Error while creating a backup."