Skip to content

Pbm 1600 add confirmation prompt description#364

Merged
radoslawszulgo merged 6 commits intoRelease-notes-2.14.0from
PBM-1600-add-confirmation-prompt-description
Apr 24, 2026
Merged

Pbm 1600 add confirmation prompt description#364
radoslawszulgo merged 6 commits intoRelease-notes-2.14.0from
PBM-1600-add-confirmation-prompt-description

Conversation

@radoslawszulgo
Copy link
Copy Markdown
Contributor

@radoslawszulgo radoslawszulgo commented Apr 23, 2026

The sample output is in the release notes.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates PBM documentation to reflect the new confirmation prompt behavior for restore/delete flows and documents the -y/--yes bypass flag, plus a small repo hygiene update.

Changes:

  • Add “Version added: 2.14.0” callouts describing the new restore confirmation prompt and the -y/--yes bypass across restore/PITR docs.
  • Update deletion/cleanup docs to mention confirmation prompts and -y/--yes.
  • Document the -y/--yes flag in the pbm restore reference and ignore venv/ in .gitignore.

Reviewed changes

Copilot reviewed 14 out of 15 changed files in this pull request and generated 13 comments.

Show a summary per file
File Description
docs/usage/restore.md Adds 2.14.0 confirmation prompt note to logical restore flows.
docs/usage/restore-selective.md Notes confirmation prompt behavior for selective restore scenarios.
docs/usage/restore-physical.md Adds 2.14.0 confirmation prompt note for physical restore.
docs/usage/restore-incremental.md Adds 2.14.0 confirmation prompt note for incremental restore.
docs/usage/restore-external.md Adds 2.14.0 confirmation prompt note to external restore workflows.
docs/usage/restore-external-agent-restart.md Adds 2.14.0 confirmation prompt note for restart-at-copyReady workflow.
docs/usage/pitr-tutorial.md Adds 2.14.0 confirmation prompt note for PITR tutorial restore command.
docs/usage/pitr-selective.md Restructures selective PITR page and adds 2.14.0 confirmation prompt note.
docs/usage/pitr-physical.md Adds 2.14.0 confirmation prompt note for physical PITR restore.
docs/usage/delete-backup.md Updates cleanup/delete sections to mention confirmation prompts and bypass flag.
docs/reference/pbm-commands.md Adds -y/--yes to pbm restore flags table.
docs/features/restore-remapping.md Adds 2.14.0 confirmation prompt note near restore remapping usage.
docs/features/physical.md Adds 2.14.0 confirmation prompt note in partial restore section.
docs/features/multi-storage.md Adds 2.14.0 confirmation prompt note in external-storage restore section.
.gitignore Ignores venv/.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/usage/pitr-physical.md Outdated
Comment thread docs/usage/pitr-selective.md Outdated
Comment thread docs/features/multi-storage.md Outdated
Comment thread docs/reference/pbm-commands.md
Comment thread docs/usage/restore.md Outdated
Comment thread docs/features/restore-remapping.md Outdated
Comment thread docs/usage/delete-backup.md Outdated
Comment thread docs/usage/restore.md Outdated
Comment thread docs/usage/restore-external.md
Comment thread docs/usage/pitr-tutorial.md Outdated
radoslawszulgo and others added 2 commits April 23, 2026 16:06
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 14 out of 15 changed files in this pull request and generated 5 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/usage/delete-backup.md Outdated
Comment on lines 17 to 21
During the cleanup, you see the backups and oplog slices to be deleted and are asked to confirm the action (to bypass it, add the `-y` or `--yes` flag):

```bash
pbm cleanup --older-than=`%Y-%M-%D --yes
pbm cleanup --older-than="2023-04-20"
```
Copy link

Copilot AI Apr 23, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The sentence says you can bypass the confirmation by adding -y/--yes, but the example that follows doesn’t include either flag. Either include a -y/--yes example (or add a second example) or adjust the sentence so it’s clear the shown command is the interactive (default) behavior.

Copilot uses AI. Check for mistakes.
Comment thread docs/usage/restore.md Outdated
Comment thread docs/reference/pbm-commands.md Outdated
Comment thread docs/features/multi-storage.md Outdated
Comment on lines +166 to +170
pbm-restore --time=<timestamp> --base-snapshot <backup-name>
```

!!! admonition "Version added: [2.14.0](../release-notes/2.14.0.md)"
Before a restore operation is executed you have to confirm the action (to bypass it, add the `-y` or `--yes` flag).
Copy link

Copilot AI Apr 23, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The command example uses pbm-restore, but elsewhere the CLI is documented as pbm restore. If pbm-restore isn’t an actual binary, this should be corrected to avoid users copying a non-existent command.

Copilot uses AI. Check for mistakes.
Comment thread docs/usage/pitr-selective.md Outdated
radoslawszulgo and others added 2 commits April 24, 2026 08:57
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…y cleanup confirmation

Co-authored-by: Copilot <copilot@github.com>
@radoslawszulgo radoslawszulgo merged commit 9dd14ce into Release-notes-2.14.0 Apr 24, 2026
@radoslawszulgo radoslawszulgo deleted the PBM-1600-add-confirmation-prompt-description branch April 24, 2026 09:56
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.

4 participants