init commit borg

This commit is contained in:
lhahn committed 2024-06-23 15:31:52 +02:00
1 parent 36ed650628
commit 84b87a56d0
14 files changed
+75 -298

No files matched your search

+11 -54
View File
@@ -3,67 +3,24 @@ cloud_apps: /opt
cloud_storage: /opt/storage
cloud_stage: prod
cloud_update: false
ssh_port: 1802
ssh_port: 22
# clients push only daily backup
# server (!= client) will then pull daily backups
backup_client: true
backup_host: "example"
backup_special_time: "hourly"
# Server should pull 1 hour later the backups.
backup_hour_shift: 1
backup_times_weekday: "*"
backup_times_hour:
- 6
- 10
- 14
- 18
- 22
backup_times_minute: 0
backup_keep_days: 7
backup_owner: backup
backup_owner_ssh_key: "ssh-rsa THEREISSUCHRSAKEYYET"
backup_group: "{{ backup_owner }}"
backup_permission: 0770
backup_group: "backup"
backup_owner_ssh_key: "ssh-rsa THEREISNOSUCHRSAKEYYET"
backup_hosts:
- name: server1-name
domain: host1.my-domain.tld
ip: 001.112.223.123
- name: server2-name
domain: host2.my-domain.tld
ssh://u406933@u406933.your-storagebox.de:23/./test
borg_location: ""
backup_folder: "{{ cloud_apps }}/backup"
backup_folder: "{{ cloud_storage }}/backup"
backup_storage: "{{ backup_folder }}/storage"
backup_run_folder: "{{ cloud_storage }}"
#backup_client_scripts:
# - /path/to/script -param
backup_client_scripts: []
#backup_client_script_envs:
# - var: VAR_NAME
# path: /some/path
# - var: VAR_NAME
# value: some_value
backup_client_script_envs: []
backup_lock: "{{ backup_folder }}/backup.lock"
#backup_targets:
# db:
# - type: mariadb
# name: db_name_mdb
# - type: pgsql
# name: db_name_pg
# mail:
# - type: file
# path: /path/to/some/file
# - type: mariadb
# name: db_name_mdb_mail
# file:
# - /path/to/some/file
# - /path/to/some/dir
backup_targets:
db: []
mail: []
file: []
backup_storage_key: "MyStorageKey"