on-internet
← Community

How can we validate a Postgres database backup is not corrupted?

Stack Overflow ·

Is there a efficient way to check if the Postgres backups (for managed services like RDS and Cloudsql) are not corrupted? Currently one of the ways we are implementing this check is in the following way: spin up a new DB from the backup and run a vacuum if the vacuum runs successful we are considering the backup is not corrupted delete the test DB Does this sound like a valid approach and any better solution to this? PS: GCP has this open source tool to test on their end, but did not understand how we can implement or use it on a managed PG instance. https://github.com/google/pg_page_verificat

Comments

Sign in or sign up to comment and upvote.

No comments yet.