On Wed, 2021-10-27 at 11:21 +1300, Lucas wrote:
> The snapshots are done this way:
> 1. Grab the latest applied WAL File for further references, stores that in a 
> variable in Bash
> 2. Stop the Postgres process
> 3. Check it is stopped
> 4. Start the Block level EBS Snapshot process
> 5. Applied tags to the snapshot, such as the WAL file from Step #1
> 6. Wait for snapshot to complete, querying the AWS API for that
> 7. Start PG
> 8. Check it is started
> 9. Check it is replicating from master

If you shutdown the server cleanly, that backup is good and does not
need recovery to restore.

Yours,
Laurenz Albe
-- 
Cybertec | https://www.cybertec-postgresql.com



Reply via email to