mirror of
https://github.com/immich-app/immich.git
synced 2025-01-28 06:32:44 +01:00
parent
f1ca1794a1
commit
c902c93082
1 changed files with 6 additions and 0 deletions
|
@ -86,6 +86,12 @@ Then you can restore with the same command but pointed at the latest dump.
|
||||||
gunzip < db_dumps/last/immich-latest.sql.gz | docker exec -i immich_postgres psql --username=postgres
|
gunzip < db_dumps/last/immich-latest.sql.gz | docker exec -i immich_postgres psql --username=postgres
|
||||||
```
|
```
|
||||||
|
|
||||||
|
:::note
|
||||||
|
If you see the error `ERROR: type "earth" does not exist`, or you have problems with Reverse Geocoding after a restore, add the following `sed` fragment to your restore command.
|
||||||
|
|
||||||
|
Example: `gunzip < "/path/to/backup/dump.sql.gz" | sed "s/SELECT pg_catalog.set_config('search_path', '', false);/SELECT pg_catalog.set_config('search_path', 'public, pg_catalog', true);/g" | docker exec -i immich_postgres psql --username=postgres`
|
||||||
|
:::
|
||||||
|
|
||||||
## Filesystem
|
## Filesystem
|
||||||
|
|
||||||
Immich stores two types of content in the filesystem: (1) original, unmodified content, and (2) generated content. Only the original content needs to be backed-up, which includes the following folders:
|
Immich stores two types of content in the filesystem: (1) original, unmodified content, and (2) generated content. Only the original content needs to be backed-up, which includes the following folders:
|
||||||
|
|
Loading…
Reference in a new issue