WIP: backups with borg and borgmatic #39

Manually merged
jeltz merged 45 commits from backups into master 2024-07-01 01:55:28 +02:00
2 changed files with 47 additions and 8 deletions
Showing only changes of commit f8e5f0cc76 - Show all commits

View file

@ -1,8 +0,0 @@
postgresql:
version: 11
hosts: # dbname, username, CIDR ip addr, auth method
- [ "nextcloud", "nextcloud", "10.128.0.58", "md5" ]
- [ "gitea", "gitea", "10.128.0.60", "md5" ]
- [ "drone", "drone", "10.128.0.64", "md5" ]
- [ "wikijs", "wikijs", "10.128.0.66", "md5" ]
- [ "vote", "vote", "10.128.0.81", "md5" ]

View file

@ -0,0 +1,47 @@
---
postgresql:
version: 13
postgresql_hosts:
- database: nextcloud
user: nextcloud
net: 10.128.0.58/32
method: md5
- database: gitea
user: gitea
net: 10.128.0.60/32
method: md5
- database: wikijs
user: wikijs
net: 10.128.0.66/32
method: md5
- database: drone
user: drone
net: 10.128.0.64/32
method: md5
postgresql_databases:
- nextcloud
- gitea
- wikijs
- drone
postgresql_users:
- name: nextcloud
database: nextcloud
password: "{{ postgresql_nextcloud_passwd }}"
privs:
- ALL
- name: gitea
database: gitea
password: "{{ postgresql_gitea_passwd }}"
privs:
- ALL
- name: wikijs
database: wikijs
password: "{{ postgresql_wikijs_passwd }}"
privs:
- ALL
- name: drone
database: drone
password: "{{ postgresql_drone_passwd }}"
privs:
- ALL
...