High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
Specify PowerShell for win backup/restore (#9262)
Matthew Momjiandc4f7bef691a
diff --git a/docs/docs/administration/backup-and-restore.md b/docs/docs/administration/backup-and-restore.mdindex ab9dcec830..4334bb0227 100644--- a/docs/docs/administration/backup-and-restore.md+++ b/docs/docs/administration/backup-and-restore.md@@ -18,7 +18,7 @@ Refer to the official [postgres documentation](https://www.postgresql.org/docs/cThe recommended way to backup and restore the Immich database is to use the `pg_dumpall` command. When restoring, you need to delete the `DB_DATA_LOCATION` folder (if it exists) to reset the database.<Tabs>- <TabItem value="Linux system based Backup" label="Linux system based Backup" default>+ <TabItem value="Linux system" label="Linux system" default>```bash title='Backup'docker exec -t immich_postgres pg_dumpall --clean --if-exists --username=postgres | gzip > "/path/to/backup/dump.sql.gz"@@ -38,7 +38,7 @@ docker compose up -d # Start remainder of Immich apps```</TabItem>- <TabItem value="Windows system based Backup" label="Windows system based Backup">+ <TabItem value="Windows system (PowerShell)" label="Windows system (PowerShell)">```powershell title='Backup'docker exec -t immich_postgres pg_dumpall --clean --if-exists --username=postgres > "\path\to\backup\dump.sql"