Skip to content

default restore target and explicit recovery target action #210

Open
@gsmolk

Description

@gsmolk

When restoring ARCHIVE backup it is possible to get the following error:

pg_probackup restore -B $HOME/backup_catalog --instance node --recovery-target-action=promote

ERROR: The '--recovery-target-action' option can be applied only when either of '--recovery-target', '--recovery-target-time', '--recovery-target-xid', '--recovery-target-lsn' or '--recovery-target-name' options is specified

Adding the --recovery-target=latest option solves the problem
Reported by Alexey Shishkin.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions