Replace backup script with autorestic
This commit is contained in:
parent
13084e3558
commit
ed51a86935
17 changed files with 188 additions and 232 deletions
|
|
@ -1,5 +0,0 @@
|
|||
backup_path="$BACKUP_LOCATION/immich"
|
||||
mkdir -p "$backup_path"
|
||||
|
||||
cd /opt/services/immich || exit
|
||||
docker compose exec database sh -c 'pg_dump -U "$DB_USERNAME" "$DB_DATABASE"' | gzip >"$backup_path/immich.sql.gz"
|
||||
Loading…
Reference in a new issue