*untested* Revamp of backup protocol and some cleanup
This commit is contained in:
1 parent
dc23952921
commit
829f433656
8 files changed
+196
-193
No files matched your search
@@ -7,34 +7,35 @@ all:
|
||||
web:
|
||||
ansible_host: "10.26.48.3"
|
||||
docker_backup:
|
||||
- container_name: http-test
|
||||
- container_name: gitea_new
|
||||
directories_to_backup:
|
||||
- /var/www/html
|
||||
backup_dir: /backup/httptest
|
||||
backup_name_prefix: http-test
|
||||
max_backups_kept: 3
|
||||
- container_name: gitea
|
||||
directories_to_backup:
|
||||
- /gitea
|
||||
backup_dir: /backup/gitea
|
||||
backup_name_prefix: gitea
|
||||
- /gitea_new
|
||||
backup_dir: /backup/gitea_new
|
||||
backup_name_prefix: gitea_new
|
||||
max_backups_kept: 3
|
||||
mysql_backup:
|
||||
target: 10.26.48.3
|
||||
target_port: 3306
|
||||
target_username: "ansible"
|
||||
target password: !vault |
|
||||
$ANSIBLE_VAULT;1.1;AES256
|
||||
35636232613339633862326664653765616631623032663465326631323030323536663539313336
|
||||
3462336531356362323636323439363465343465613131370a353632396338386135336133623739
|
||||
63643933663937643333396237623935313265393065653465363133386461643435316337373430
|
||||
6531663233633931390a313265333031346430653730353366393832333133653532666631623661
|
||||
66316463663333623639623465383964616336656634313366656632643032326439
|
||||
database_name: gitea
|
||||
backup_dir: /backup/gitea_new_db
|
||||
backup_name_prefix: gitea_new_db
|
||||
max_backups_kept: 3
|
||||
- container_name: infrastructure-compose-web_recipes-1
|
||||
directories_to_backup:
|
||||
- /tandoor
|
||||
backup_dir: /backup/tandoor
|
||||
backup_name_prefix: tandoor
|
||||
max_backups_kept: 3
|
||||
- container_name: nextcloud
|
||||
directories_to_backup:
|
||||
- /nextcloud
|
||||
backup_dir: /backup/nextcloud
|
||||
backup_name_prefix: nextcloud
|
||||
max_backups_kept: 3
|
||||
database:
|
||||
ansible_host: "10.12.34.3"
|
||||
publicworks:
|
||||
ansible_host: "10.77.7.3"
|
||||
dmz:
|
||||
ansible_host: "172.16.132.4"
|
||||
docker_backup:
|
||||
@@ -112,34 +113,6 @@ all:
|
||||
max_backups_kept: 3
|
||||
nfsserver:
|
||||
ansible_host: "10.42.0.3"
|
||||
openocean:
|
||||
ansible_host: "172.16.132.2"
|
||||
backup_url: "172.16.132.2:1234"
|
||||
backup_user: "backup"
|
||||
backup_user_password: !vault |
|
||||
$ANSIBLE_VAULT;1.1;AES256
|
||||
31336636333061393333326263353835636431313739613462356531623532663137626466613433
|
||||
3438616239333536643835643933333461323666343864640a386361306163623261656630643837
|
||||
65396139333264636333656337383766393931393934373335646231336330656561303039326665
|
||||
3331636339356236330a333330373264306163393162386330393763613332376261373433303035
|
||||
65633034366439343232356639346665326234666630633063616437376131396463
|
||||
backup_location: "/backup"
|
||||
backup_number_to_keep: 10
|
||||
boardwalk:
|
||||
ansible_host: "10.77.7.2"
|
||||
backup_url: "10.77.7.2:1234"
|
||||
backup_user: "backup"
|
||||
backup_user_password: !vault |
|
||||
$ANSIBLE_VAULT;1.1;AES256
|
||||
34313763623733323133393734326533333661343239393037666462323732393839386131393165
|
||||
6233376533623431333238373039353330616265363566320a393730343938306430313864666534
|
||||
36363736303436643163313636303931323032366136616634366363383036303737356336343638
|
||||
6566663062336566320a323536303233393431363263313933643839303435356266656136343438
|
||||
35306638356564333962656433323735656136386130373233393765616265306636
|
||||
backup_location: "/backup"
|
||||
backup_number_to_keep: 10
|
||||
monitor:
|
||||
ansible_host: "10.42.0.4"
|
||||
nextcloud:
|
||||
ansible_host: "10.26.48.4"
|
||||
children:
|
||||
@@ -147,14 +120,9 @@ all:
|
||||
hosts:
|
||||
web:
|
||||
database:
|
||||
publicworks:
|
||||
dmz:
|
||||
games:
|
||||
nextcloud:
|
||||
pfsense_nodes:
|
||||
hosts:
|
||||
openocean:
|
||||
boardwalk:
|
||||
database_nodes:
|
||||
database:
|
||||
|
||||
Reference in new issue
Block a user