1
0
mirror of https://github.com/immich-app/immich.git synced 2024-11-28 09:33:27 +02:00

fix: linting (#2353)

This commit is contained in:
Jason Rasmussen 2023-04-28 22:10:20 -04:00 committed by GitHub
parent 78de189d56
commit 59d93138d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
```