add new and improved backup-scripts system
This commit is contained in:
parent
6c77886916
commit
77e6f77aba
8 changed files with 173 additions and 0 deletions
|
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
podman exec -i {{ item.container }} pg_dump -U {{ item.pg_user }} {{ item.database }} |
|
||||
/usr/bin/gzip --rsyncable |
|
||||
/usr/local/bin/restic backup --stdin --stdin-filename {{ item.name }}.sql.gz
|
||||
Loading…
Add table
Add a link
Reference in a new issue