From 13a62715e4d7c3edcb91de975ffbabe243f5d47b Mon Sep 17 00:00:00 2001 From: Matthew Momjian <50788000+mmomjian@users.noreply.github.com> Date: Thu, 9 May 2024 15:18:52 +0100 Subject: [PATCH] docs: backup restore - add warning to not backup DB_DATA_LOCATION (#9353) backup restore add warning for backing up folder --- docs/docs/administration/backup-and-restore.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/docs/administration/backup-and-restore.md b/docs/docs/administration/backup-and-restore.md index 4334bb0227..ed62bdf201 100644 --- a/docs/docs/administration/backup-and-restore.md +++ b/docs/docs/administration/backup-and-restore.md @@ -17,6 +17,10 @@ Refer to the official [postgres documentation](https://www.postgresql.org/docs/c The 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. +:::caution +It is not recommended to directly backup the `DB_DATA_LOCATION` folder. Doing so while the database is running can lead to a corrupted backup that cannot be restored. +::: +