Thank you Tom! This is what I was after!
So, to get this straight in my head.
- pg_start_backup forces a checkpoint and writes the information from this checkpoint to the backup_label file
- <snapshot>
- pg_stop_backup removes the backup_label file
- <disaster!>
- <restore snapshot>
- Database starts and determines where to start WAL replay from the backup_label NOT from pg_control (as usual)
Cheers,
James
The contents of this email are confidential and may be subject to legal or professional privilege and copyright. No representation is made that this email is free of viruses or other defects. If you have received this communication in error, you may not copy or distribute any part of it or otherwise disclose its contents to anyone. Please advise the sender of your incorrect receipt of this correspondence.