From 89197bbbc6d92ad30cf5cc48cb82d646d212043f Mon Sep 17 00:00:00 2001 From: Rostislav Dugin Date: Fri, 20 Mar 2026 17:41:09 +0300 Subject: [PATCH] FEATURE (restore): Add restore hint for Docker --- .../backups/ui/AgentRestoreComponent.tsx | 27 +++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/frontend/src/features/backups/ui/AgentRestoreComponent.tsx b/frontend/src/features/backups/ui/AgentRestoreComponent.tsx index 828d82f..79dc425 100644 --- a/frontend/src/features/backups/ui/AgentRestoreComponent.tsx +++ b/frontend/src/features/backups/ui/AgentRestoreComponent.tsx @@ -207,7 +207,30 @@ volumes:
- Step {isDocker ? '5' : '4'} — Start PostgreSQL + Step {isDocker ? '5' : '4'} — Handle archive_command +
+

+ The restored backup includes the original archive_command configuration. + PostgreSQL will fail to archive WAL files after recovery unless you either: +

+ + {renderCodeBlock(`# In ${targetDirPlaceholder}/postgresql.auto.conf, remove or comment out: +# archive_mode = on +# archive_command = '...'`)} +
+ +
+
+ Step {isDocker ? '6' : '5'} — Start PostgreSQL

Start PostgreSQL to begin WAL recovery. It will automatically replay WAL segments. @@ -218,7 +241,7 @@ volumes:

-
Step {isDocker ? '6' : '5'} — Clean up
+
Step {isDocker ? '7' : '6'} — Clean up

After recovery completes, remove the WAL restore directory: