Setup backup server configuration for backup replication.

This commit is contained in:
lhahn committed 2024-08-16 21:30:11 +02:00
1 parent 768da9cf45
commit 3508f62085
10 files changed
+560 -21

No files matched your search

+20
View File
@@ -20,9 +20,29 @@ backup_client: true
backup_app: app
backup_cron_specialtime: "daily"
backup_cron_owner: "{{ backup_owner }}"
backup_server_remote_prune_time: 6
backup_server_remote_backup_time: 8
backup_server_local_prune_time: 10
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 }}"
backup_ssh_port: 22
backup_host: my-borg-repo.tld
backup_clients: []
# app1:
# owner: user1
# app: app1
# borgkey: BorgRepoKey1
# sshpubkey: SshPubKey1
# sshprivkey: SshPrivKey1
# app2:
# owner: user2
# app: app2
# borgkey: BorgRepoKey2
# sshpubkey: SshPubKey2
# sshprivkey: SshPrivKey2