From: | Stephen Frost <sfrost(at)snowman(dot)net> |
---|---|
To: | rakeshkumar464 <rakeshkumar464(at)outlook(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Incremental / Level -1 backup in PG |
Date: | 2017-03-22 13:07:25 |
Message-ID: | 20170322130725.GB9812@tamriel.snowman.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Greetings,
* rakeshkumar464 (rakeshkumar464(at)outlook(dot)com) wrote:
> >The short answer is 'no'. There are complications around this,
> >particularly at the edges and because files can be written and rewritten
> >as you're reading them.
> >Basically, no file with a timestamp after the
> >checkpoint before the backup can be omitted from an incremental backup.
>
> what you have written above applies to oracle/db2 too. In case you are not
> aware, during backup, those products have a mechanism to save the image
> of any changing block as it existed before the start of the backup. that is
> used
> to reconstruct the PIT image of the block.
That is WAL archiving, which PG already does, but is different from
backups.
> Anyhow looks like this can't be done in PG.
PG does support WAL archiving, as discussed on this thread, and it works
exactly as you describe above. As I mentioned, there are also tools for
performing incremental backups, which isn't quite the same as straight
WAL archiving.
Thanks!
Stephen
From | Date | Subject | |
---|---|---|---|
Next Message | Thomas Kellerer | 2017-03-22 13:42:57 | Re: Incremental / Level -1 backup in PG |
Previous Message | Stephen Frost | 2017-03-22 13:04:19 | Re: Incremental / Level -1 backup in PG |