cloud-backup/defaults/main.yml

29 lines
807 B
YAML
Executable File

---
cloud_apps: /opt
cloud_storage: /opt/storage
cloud_stage: prod
cloud_update: false
backup_owner: backup
backup_group: "{{ backup_owner }}"
backup_owner_ssh_private_key: "ssh-rsa THEREISNOSUCHRSAKEYYET"
backup_owner_ssh_public_key: "ssh-rsa THEREISNOSUCHRSAKEYYET"
backup_location: "/borg"
backup_root: "{{ cloud_storage }}/backup"
backup_run_folder: "{{ cloud_storage }}"
backup_storage_key: "MyStorageKey"
backup_client: true
backup_app: app
backup_cron_specialtime: "daily"
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 }}"