| 12345678910111213141516171819202122232425262728293031 |
- repositories:
- - path: ssh://${STORAGE_BOX_USER}@${STORAGE_BOX_USER}.your-storagebox.de:23/./borg-repo
- label: hetzner
- remote_path: borg-1.4
- ssh_command: ssh -i /var/run/secrets/${SSH_KEY_NAME}
- log_file: /root/.local/share/borgmatic/log
- encryption_passphrase: "{credential container ${BORG_PASSPHRASE_NAME}}"
- compression: lz4
- checks:
- - name: repository
- frequency: 2 weeks
- - name: archives
- frequency: always
- - name: extract
- frequency: 2 weeks
- - name: data
- frequency: 1 month
- commands:
- - before: everything
- run:
- - echo "Starting a backup job."
- - after: everything
- run:
- - echo "Backup created."
- - after: error
- run:
- - echo "Error while creating a backup."
|