mirror of
				https://github.com/KevinMidboe/immich.git
				synced 2025-10-29 17:40:28 +00:00 
			
		
		
		
	fix: linting (#2353)
This commit is contained in:
		| @@ -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 | ||||
| ``` | ||||
|   | ||||
		Reference in New Issue
	
	Block a user