photoview: add config
This commit is contained in:
parent
56faa4323b
commit
ad36788772
12 changed files with 191 additions and 13 deletions
5
roles/photoview/files/photoview.postgres.backup.sh
Normal file
5
roles/photoview/files/photoview.postgres.backup.sh
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
cd /etc/photoview
|
||||
|
||||
/usr/bin/docker compose exec -T db pg_dump -U photoview photoview |
|
||||
/usr/bin/gzip --rsyncable |
|
||||
/usr/local/bin/restic backup --stdin --stdin-filename photoview-postgres.sql.gz
|
||||
Loading…
Add table
Add a link
Reference in a new issue