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

Add archive-mode option to disable archiving on restore.

When restoring a cluster that will be promoted but is not intended to be the new primary, it is important to disable archiving to avoid polluting the repository with useless WAL. This option makes disabling archiving a bit easier.
This commit is contained in:
David Steele
2020-08-25 15:05:41 -04:00
committed by GitHub
parent 1812725c8e
commit 8c2960fab3
12 changed files with 159 additions and 3 deletions

View File

@ -124,6 +124,8 @@ testRun(void)
"\n"
"Command Options:\n"
"\n"
" --archive-mode preserve or disable archiving on restored\n"
" cluster [default=preserve]\n"
" --db-include restore only specified databases\n"
" [current=db1, db2]\n"
" --force force a restore [default=n]\n"