Using pg_rewind for differential backup - Mailing list pgsql-hackers

From Sameer Kumar
Subject Using pg_rewind for differential backup
Date
Msg-id CADp-Sm7D4dN6Ntjt_-4xiv17C0TVOT19HMUjSDJnX9-yextJFQ@mail.gmail.com
Whole thread Raw
Responses Re: Using pg_rewind for differential backup  (Michael Paquier <michael.paquier@gmail.com>)
List pgsql-hackers
Can we tweak pg_rewind to take differential backups in PostgreSQL?

I was wondering can we hack the pg_rewind code to print the details of the file which have been modified compared to a target server. 
The list output can then be used for taking differential backups.

Or perhaps we can add an option/switch in pg_rewind --action

--action=print ---> would print the files which have changed
--action=sync ---> would sync them
--action=copy ---> with this option I can specify an additional optino --target-dir where I can copy the files which have changed blocks


pg_rewind- 


Best Regards,

Sameer Kumar | Database Consultant

ASHNIK PTE. LTD.

101 Cecil Street, #11-11 Tong Eng Building, Singapore 069533

M: +65 8110 0350  T: +65 6438 3504 | www.ashnik.com

icons

 

Email patch

 

This email may contain confidential, privileged or copyright material and is solely for the use of the intended recipient(s).

Attachment

pgsql-hackers by date:

Previous
From: Mats Erik Andersson
Date:
Subject: pg_isready: Missing translation macros.
Next
From: Bruce Momjian
Date:
Subject: Re: What exactly is our CRC algorithm?