[GH-ISSUE #116] Restore doesn't work #94

Closed
opened 2026-02-26 21:34:24 +03:00 by kerem · 1 comment
Owner

Originally created by @svenczbg on GitHub (Apr 12, 2025).
Original GitHub issue: https://github.com/eduardolat/pgbackweb/issues/116

Hi,

restoring an execution doesn't work.
I've installed pgbackweb in a docker stack with a docker-compose.yml similar to the example you provide.
Everything seems to work fine

  • connecting to my postgres DB (in the same stack) works
  • creating backup jobs works
  • backups are executed

However, restoring a backup doesn't work. The log output in the container reports that everything is fine:
2025-04-12 15:52:00 {"time":"2025-04-12T15:52:00.441486465+02:00","level":"INFO","msg":"backup created successfully","backup_id":"fb85d63b-ef86-4437-b661-714ea425976d","execution_id":"58ca9ebd-6621-456c-a4fe-b79133ffbcd7"} 2025-04-12 15:54:14 {"time":"2025-04-12T15:54:14.163836764+02:00","level":"INFO","msg":"backup restored successfully","execution_id":"58ca9ebd-6621-456c-a4fe-b79133ffbcd7","restoration_id":"ac970e5e-7a90-4d2a-b573-bf6428bac9ad"}

But the changes that I've done between backup and restore remain.

The backup job is created with --clean, --create and --if-exist.

Is there any way to print the actual restore command to the log?
How can I debug the problem?

Originally created by @svenczbg on GitHub (Apr 12, 2025). Original GitHub issue: https://github.com/eduardolat/pgbackweb/issues/116 Hi, restoring an execution doesn't work. I've installed pgbackweb in a docker stack with a docker-compose.yml similar to the example you provide. Everything seems to work fine - connecting to my postgres DB (in the same stack) works - creating backup jobs works - backups are executed However, restoring a backup doesn't work. The log output in the container reports that everything is fine: `2025-04-12 15:52:00 {"time":"2025-04-12T15:52:00.441486465+02:00","level":"INFO","msg":"backup created successfully","backup_id":"fb85d63b-ef86-4437-b661-714ea425976d","execution_id":"58ca9ebd-6621-456c-a4fe-b79133ffbcd7"} 2025-04-12 15:54:14 {"time":"2025-04-12T15:54:14.163836764+02:00","level":"INFO","msg":"backup restored successfully","execution_id":"58ca9ebd-6621-456c-a4fe-b79133ffbcd7","restoration_id":"ac970e5e-7a90-4d2a-b573-bf6428bac9ad"}` But the changes that I've done between backup and restore remain. The backup job is created with --clean, --create and --if-exist. Is there any way to print the actual restore command to the log? How can I debug the problem?
kerem closed this issue 2026-02-26 21:34:25 +03:00
Author
Owner

@svenczbg commented on GitHub (Apr 12, 2025):

duplicate of https://github.com/eduardolat/pgbackweb/issues/104

<!-- gh-comment-id:2798850859 --> @svenczbg commented on GitHub (Apr 12, 2025): duplicate of https://github.com/eduardolat/pgbackweb/issues/104
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/pgbackweb#94
No description provided.