Refactor borg to be backup and restore script.
This commit is contained in:
1 parent
2e113e7219
commit
f33b96dc7e
6 files changed
+158
-117
No files matched your search
+8
-2
@@ -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 }}"
|
||||
Reference in new issue
Block a user