1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-07-05 00:28:52 +02:00

Clarify restore --type behavior in command reference.

This commit is contained in:
Cynthia Shang
2021-07-14 16:06:42 -04:00
committed by David Steele
parent d791bb7298
commit a6691c6f61
4 changed files with 55 additions and 32 deletions

View File

@ -173,12 +173,13 @@ testRun(void)
"specific repository, the --repo option can be passed (e.g. --repo=1). The --set\n"
"option can be passed if a backup other than the latest is desired.\n"
"\n"
"For PITR, --type=time must be provided and the target time specified with the\n"
"--target option. If a backup is not specified via the --set option, then the\n"
"configured repositories will be checked, in order, for a backup that contains\n"
"the requested time. If no backup can be found, the latest backup from the first\n"
"repository containing backups will be used. See Point-in-Time Recovery for more\n"
"details and examples.\n"
"When PITR of --type=time is specified, then the target time must be specified\n"
"with the --target option. If a backup is not specified via the --set option,\n"
"then the configured repositories will be checked, in order, for a backup that\n"
"contains the requested time. If no backup can be found, the latest backup from\n"
"the first repository containing backups will be used. For other types of PITR,\n"
"e.g. xid, the --set option must be provided if the target is prior to the\n"
"latest backup. See Point-in-Time Recovery for more details and examples.\n"
"\n"
"Command Options:\n"
"\n"