Re: [PERFORM] Backup taking long time !!! - Mailing list pgsql-performance

From Vladimir Borodin
Subject Re: [PERFORM] Backup taking long time !!!
Date
Msg-id D60EACF0-5D9B-4CCF-B526-A645319E7AF4@simply.name
Whole thread Raw
In response to Re: [PERFORM] Backup taking long time !!!  (Dinesh Chandra 12108 <Dinesh.Chandra@cyient.com>)
Responses Re: [PERFORM] Backup taking long time !!!
List pgsql-performance

20 янв. 2017 г., в 19:59, Stephen Frost <sfrost@snowman.net> написал(а):

How are you testing your backups..?  Do you have page-level checksums
enabled on your database?  

Yep, we use checksums. We restore latest backup with recovery_target = 'immediate' and do COPY tablename TO '/dev/null’ with checking exit code for each table in each database (in several threads, of course).

Right, unfortunately that only checks the heap pages, it won't help with
corruption happening in an index file or other files which have a
checksum.

That’s fine for us because indexes could be rebuilt. The main idea is the guarantee that data would not be lost.

--
May the force be with you…

pgsql-performance by date:

Previous
From: julyanto SUTANDANG
Date:
Subject: Re: [PERFORM] Backup taking long time !!!
Next
From: Stephen Frost
Date:
Subject: Re: [PERFORM] Backup taking long time !!!