Skip to content

Add replica selection to Postgres restores - #1397

Merged
hiradp merged 1 commit into
mainfrom
hiradp/postgres-restore-replicas
Sep 3, 2026
Merged

Add replica selection to Postgres restores#1397
hiradp merged 1 commit into
mainfrom
hiradp/postgres-restore-replicas

Conversation

@hiradp

@hiradp hiradp commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

What

Add an optional --replicas flag to PostgreSQL restores started with pscale branch create or pscale backup restore.

The value is the number of additional replicas. Omitting the flag preserves the target cluster size default, while --replicas 0 explicitly requests a single-node branch. The CLI rejects the flag outside PostgreSQL backup restore and point-in-time recovery flows.

@hiradp
hiradp marked this pull request as ready for review September 3, 2026 23:44
@hiradp
hiradp requested a review from a team as a code owner September 3, 2026 23:44
@hiradp
hiradp merged commit 2800b46 into main Sep 3, 2026
4 checks passed
@hiradp
hiradp deleted the hiradp/postgres-restore-replicas branch September 3, 2026 23:50
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.

3 participants