From fcec5f867c061669b52a22db11b0118197bea7f2 Mon Sep 17 00:00:00 2001 From: Thariq Shanavas Date: Wed, 14 Aug 2024 16:01:27 -0600 Subject: [PATCH] chore(docs): Encode db dump in UTF-8 for windows (#11787) * Encode db dump in UTF-8 for windows * Update backup-and-restore.md --- docs/docs/administration/backup-and-restore.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/administration/backup-and-restore.md b/docs/docs/administration/backup-and-restore.md index 5c6ae47e43..3d226dd061 100644 --- a/docs/docs/administration/backup-and-restore.md +++ b/docs/docs/administration/backup-and-restore.md @@ -45,7 +45,7 @@ docker compose up -d # Start remainder of Immich apps ```powershell title='Backup' -docker exec -t immich_postgres pg_dumpall --clean --if-exists --username=postgres > "\path\to\backup\dump.sql" +docker exec -t immich_postgres pg_dumpall --clean --if-exists --username=postgres | Set-Content -Encoding utf8 "C:\path\to\backup\dump.sql" ``` ```powershell title='Restore'