High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
docs: put Windows restore command on one line (#16074)
Joren Guillaume8c882b54cd32
diff --git a/docs/docs/administration/backup-and-restore.md b/docs/docs/administration/backup-and-restore.mdindex cd58604e1f..4eb4d3a8bb 100644--- a/docs/docs/administration/backup-and-restore.md+++ b/docs/docs/administration/backup-and-restore.md@@ -77,9 +77,7 @@ docker start immich_postgres # Start Postgres serversleep 10 # Wait for Postgres server to start updocker exec -it immich_postgres bash # Enter the Docker shell and run the following command# Check the database user if you deviated from the default. If your backup ends in `.gz`, replace `cat` with `gunzip`-cat < "/dump.sql" \-| sed "s/SELECT pg_catalog.set_config('search_path', '', false);/SELECT pg_catalog.set_config('search_path', 'public, pg_catalog', true);/g" \-| psql --dbname=postgres --username=<DB_USERNAME> # Restore Backup+cat < "/dump.sql" | sed "s/SELECT pg_catalog.set_config('search_path', '', false);/SELECT pg_catalog.set_config('search_path', 'public, pg_catalog', true);/g" | psql --dbname=postgres --username=<DB_USERNAME>exit # Exit the Docker shelldocker compose up -d # Start remainder of Immich apps```