photoview: add config

This commit is contained in:
Jef Roosens 2024-10-01 14:28:28 +02:00
parent 56faa4323b
commit ad36788772
Signed by: Jef Roosens
GPG key ID: B75D4F293C7052DB
12 changed files with 191 additions and 13 deletions

View 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