mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2025-01-10 23:29:34 +02:00
51 lines
1.4 KiB
Plaintext
51 lines
1.4 KiB
Plaintext
|
\! bash sql/restore.sh
|
||
|
###### RESTORE COMMAND TEST-0001 ######
|
||
|
###### recovery to latest from full backup ######
|
||
|
NOTICE: pg_stop_backup complete, all required WAL segments have been archived
|
||
|
0
|
||
|
0
|
||
|
|
||
|
###### RESTORE COMMAND TEST-0002 ######
|
||
|
###### recovery to latest from full + page backups ######
|
||
|
NOTICE: pg_stop_backup complete, all required WAL segments have been archived
|
||
|
0
|
||
|
NOTICE: pg_stop_backup complete, all required WAL segments have been archived
|
||
|
0
|
||
|
0
|
||
|
|
||
|
###### RESTORE COMMAND TEST-0003 ######
|
||
|
###### recovery to latest from compressed full backup ######
|
||
|
NOTICE: pg_stop_backup complete, all required WAL segments have been archived
|
||
|
0
|
||
|
0
|
||
|
|
||
|
###### RESTORE COMMAND TEST-0004 ######
|
||
|
###### recovery to target timeline ######
|
||
|
NOTICE: pg_stop_backup complete, all required WAL segments have been archived
|
||
|
0
|
||
|
0
|
||
|
0
|
||
|
checking recovery.conf...
|
||
|
OK: recovery.conf has the given target timeline.
|
||
|
|
||
|
###### RESTORE COMMAND TEST-0005 ######
|
||
|
###### recovery to target time ######
|
||
|
NOTICE: pg_stop_backup complete, all required WAL segments have been archived
|
||
|
0
|
||
|
0
|
||
|
|
||
|
###### RESTORE COMMAND TEST-0006 ######
|
||
|
###### recovery to target XID ######
|
||
|
NOTICE: pg_stop_backup complete, all required WAL segments have been archived
|
||
|
0
|
||
|
0
|
||
|
OK: recovery-target-xid options works well.
|
||
|
|
||
|
###### RESTORE COMMAND TEST-0007 ######
|
||
|
###### recovery with target inclusive false ######
|
||
|
NOTICE: pg_stop_backup complete, all required WAL segments have been archived
|
||
|
0
|
||
|
0
|
||
|
OK: recovery-target-inclusive=false works well.
|
||
|
|