Refactor borg to be backup and restore script.

This commit is contained in:
lhahn committed 2024-07-24 21:30:58 +02:00
1 parent 2e113e7219
commit be347ba6fc
6 files changed
+148 -117

No files matched your search

+8 -2
View File
@@ -17,6 +17,12 @@ backup_run_folder: "{{ cloud_storage }}"
backup_storage_key: "MyStorageKey"
backup_client: true
backup_host: "example"
backup_app: app
backup_cron_specialtime: "daily"
backup_cron_owner: "{{ backup_owner }}"
backup_cron_owner: "{{ backup_owner }}"
backup_script:
prework_backup: |
echo "This is executed before borg backup. Please collect data for backup in path: {{ backup_storage }}"
postwork_restore: |
echo "This is executed after borg restore. Please collect data during restore from path: {{ backup_storage }}"