Add immich as gallery
This commit is contained in:
parent
6574543759
commit
24d93ecad6
7 changed files with 116 additions and 2 deletions
roles/backup/files/node002
5
roles/backup/files/node002/immich.sh
Executable file
5
roles/backup/files/node002/immich.sh
Executable file
|
@ -0,0 +1,5 @@
|
|||
backup_path="$BACKUP_LOCATION/immich"
|
||||
mkdir -p "$backup_path"
|
||||
|
||||
cd /opt/services/immich || exit
|
||||
docker compose exec database pg_dump -U "$DB_USERNAME" "$DB_DATABASE" | gzip >"$backup_path/immich.sql.gz"
|
Reference in a new issue