From 59d93138d33055b79e537f93a3a7583dc0e2473c Mon Sep 17 00:00:00 2001 From: Jason Rasmussen Date: Fri, 28 Apr 2023 22:10:20 -0400 Subject: [PATCH] fix: linting (#2353) --- docs/docs/administration/backup-and-restore.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/docs/administration/backup-and-restore.md b/docs/docs/administration/backup-and-restore.md index 0877742bf..5f323eaa7 100644 --- a/docs/docs/administration/backup-and-restore.md +++ b/docs/docs/administration/backup-and-restore.md @@ -17,6 +17,7 @@ gunzip < /path/to/backup/dump.sql.gz | docker exec -i immich_postgres psql -U po ``` The database dumps can also be automated (using [this image](https://github.com/prodrigestivill/docker-postgres-backup-local)) by editing the docker compose file to match the following: + ``` container_name: immich_postgres image: postgres:14 @@ -52,6 +53,7 @@ container_name: immich_postgres ``` Then you can restore with the same command but pointed at the latest dump. + ```bash title='Automated Restore' gunzip < db_dumps/last/immich-latest.sql.gz | docker exec -i immich_postgres psql -U postgres -d immich ```