How to verify that an archive produced by pg_dump is OK and valid?
I am working on backup/restore data from postgresql for what I use pg_dump.exe and pg_restore.exe. In order to restore backup file I have to delete actual tables in database what can be "suicidal job" if something with dumped file isn't OK. I can check dumped file for integrity with (say) '7z t mydump.gz' what I do like first test. But I would like to know, because this archive is original PG archive did PostgreSQL contain any technique to check this '.gz' archive which I can take before deleting actual tables? And if do, how to do a proper check? EDIT: This is my actual command for dumping: "
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.