mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2025-02-03 14:01:57 +02:00
21 lines
925 B
Plaintext
21 lines
925 B
Plaintext
|
\! bash sql/delete.sh
|
||
|
###### DELETE COMMAND TEST-0001 ######
|
||
|
###### delete full backups ######
|
||
|
NOTICE: pg_stop_backup complete, all required WAL segments have been archived
|
||
|
NOTICE: pg_stop_backup complete, all required WAL segments have been archived
|
||
|
NOTICE: pg_stop_backup complete, all required WAL segments have been archived
|
||
|
try to delete the oldest backup
|
||
|
2
|
||
|
1
|
||
|
Number of deleted backups should be 1, is it so?: 1
|
||
|
###### DELETE COMMAND TEST-0002 ######
|
||
|
###### keep backups which are necessary for recovery ######
|
||
|
NOTICE: pg_stop_backup complete, all required WAL segments have been archived
|
||
|
NOTICE: pg_stop_backup complete, all required WAL segments have been archived
|
||
|
NOTICE: pg_stop_backup complete, all required WAL segments have been archived
|
||
|
NOTICE: pg_stop_backup complete, all required WAL segments have been archived
|
||
|
try to delete before third backup
|
||
|
3
|
||
|
1
|
||
|
Number of deleted backups should be 1, is it so?: 1
|