Skip to content

[#383] Sync backups across pgmoneta nodes - #1751

Open
Shgit29 wants to merge 1 commit into
pgmoneta:mainfrom
Shgit29:feat/clustering-backup-distribution-squashed
Open

Shgit29 wants to merge 1 commit into
pgmoneta:mainfrom
Shgit29:feat/clustering-backup-distribution-squashed

Conversation

@Shgit29

@Shgit29 Shgit29 commented Nov 29, 2026

Copy link
Copy Markdown

Refs #383. Related: #1745, #1747.

Purpose

Maintain restorable backup copies across nodes without taking another backup
from PostgreSQL. Peers authenticate through mutual TLS, and received backups
are verified before publication to avoid exposing incomplete transfers.

Tradeoffs

Received copies survive source outages and removal. Deletion propagation is
disabled pending agreement on authority and retention. WAL retrieval covers
backup-required ranges on one timeline, not continuous PITR streaming.

Validation

  • Regression suite: 449 passed, 1 skipped, 0 failures.
  • Isolated two-daemon tests covered transfer, verification, restore,
    compressed/encrypted incremental backups, tablespaces and interruption recovery.

Related work

Based directly on upstream main; does not depend on #1745 or #1747.

@Shgit29 Shgit29 mentioned this pull request Nov 29, 2026
@Shgit29
Shgit29 force-pushed the feat/clustering-backup-distribution-squashed branch from f32afd1 to 63c9f29 Compare November 30, 2026 12:37
@Shgit29
Shgit29 force-pushed the feat/clustering-backup-distribution-squashed branch from 63c9f29 to 4e12ec8 Compare November 30, 2026 20:38
@ecleon26
ecleon26 self-requested a review December 1, 2026 20:29
@ecleon26

ecleon26 commented Dec 1, 2026

Copy link
Copy Markdown
Collaborator

I will review it soon

@ecleon26

ecleon26 commented Dec 1, 2026

Copy link
Copy Markdown
Collaborator

@jesperpedersen this pr, #1745 and #1747 all three are for #383 and use diff design

I think we should go with #1751 and close the rest two -
It's the only one that implements the feature. It transfers, verifies, publishes and restores received backups, including WAL. #1745 and #1747 are scaffolding: configuration, an ID/servers/backups listing, and an owner field. Neither moves a single file.

the secuirty is also good in #1751

@ecleon26

ecleon26 commented Dec 1, 2026

Copy link
Copy Markdown
Collaborator

@Shgit29 there seem to be some critical design problem, which i will see in depth later

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants