Hello, I am creating an automation script which can do PITR restore. For example if users specify the timestamp, I can retore the db to that point. All backup files are on other place, the restore procedure includes
However, the problem is how I can read the begin and end transaction timestamp in each wal archive file? Without knowing the transaction timestamp, I am not able know which wal archive file I need to download. I tried pg_waldump, but it doesn’t have transaction timestamp. Does anyone know the solution? Thanks! James |