Documentation is wrong in how to define which backup to restore from

Description

In section :

optional --set argument allows you to choose the backup which will be the starting point for point-in-time recovery. You can look through the available backups with the kubectl get pg-backup command to find out the proper backup name. This option must be specified if the target is one or more backups away from the current moment.

This won’t work. If you run kubectl get pg-backup, you get something like:

If you try to restore it like this:

You’ll get an error:

The --set option is a pgbackrest option, not an operator option, and it references a pgbackrest backup id:

This will work:

Environment

None

Activity

Done

Details

Assignee

Reporter

Needs QA

Yes

Affects versions

Priority

Smart Checklist

Created May 17, 2024 at 6:28 PM
Updated June 28, 2024 at 3:38 PM
Resolved June 28, 2024 at 3:38 PM