Thread: Re: Point in time Recovery in Postgres?

Re: Point in time Recovery in Postgres?

From
pavan95
Date:
Hi all,

Is it possible to do PITR in postgres for a database provided that database
pg_dump backup is available and archive logs are also configured....

Could you please confirm?  Thanks in Advance!!


Regards,
Pavan



--
Sent from: http://www.postgresql-archive.org/PostgreSQL-admin-f2076596.html


Re: Point in time Recovery in Postgres?

From
Shreeyansh Dba
Date:
Hi Pavan,

PITR is the ability to restore a database cluster up to the present or to a specified point of time in the past with the help of WAL’s.  PITR uses full database cluster backup and the write-ahead logs(i.e WAL’s). For that we should have cluster level (file system level) backup like pg_basebackup.

In PostgreSQL it is possible to have PITR but it requires file system level backup (like pg_basebackup).
So, It is not possible to do PITR with pg_dump backup.




On Tue, Oct 23, 2018 at 10:14 AM pavan95 <pavan.postgresdba@gmail.com> wrote:
Hi all,

Is it possible to do PITR in postgres for a database provided that database
pg_dump backup is available and archive logs are also configured....

Could you please confirm?  Thanks in Advance!!


Regards,
Pavan



--
Sent from: http://www.postgresql-archive.org/PostgreSQL-admin-f2076596.html

Re: Point in time Recovery in Postgres?

From
Pavan Teja
Date:
Hi Shreeyansh,

Thanks for confirmation. Actually did PITR with basebackup. 

Wanted to know if it could be done by using dump bkp.

Anyways, thanks for confirmation

Regards,
Pavan

On Tue, Oct 23, 2018, 11:17 AM Shreeyansh Dba <shreeyansh2014@gmail.com> wrote:
Hi Pavan,

PITR is the ability to restore a database cluster up to the present or to a specified point of time in the past with the help of WAL’s.  PITR uses full database cluster backup and the write-ahead logs(i.e WAL’s). For that we should have cluster level (file system level) backup like pg_basebackup.

In PostgreSQL it is possible to have PITR but it requires file system level backup (like pg_basebackup).
So, It is not possible to do PITR with pg_dump backup.




On Tue, Oct 23, 2018 at 10:14 AM pavan95 <pavan.postgresdba@gmail.com> wrote:
Hi all,

Is it possible to do PITR in postgres for a database provided that database
pg_dump backup is available and archive logs are also configured....

Could you please confirm?  Thanks in Advance!!


Regards,
Pavan



--
Sent from: http://www.postgresql-archive.org/PostgreSQL-admin-f2076596.html

Re: Point in time Recovery in Postgres?

From
Evan Bauer
Date:
Since pg_dump is logical, it won’t provide the basis for PITR.  A number of other tools will.

There is a good discussion of the capabilities of most of the PostgreSQL backup tools here:
https://severalnines.com/blog/top-backup-tools-postgresql 

Cheers,

- Evan

Evan Bauer
eb@evanbauer.com
+1 646 641 2973
Skype: evanbauer


> On Oct 23, 2018, at 00:43, pavan95 <pavan.postgresdba@gmail.com> wrote:
>
> Hi all,
>
> Is it possible to do PITR in postgres for a database provided that database
> pg_dump backup is available and archive logs are also configured....
>
> Could you please confirm?  Thanks in Advance!!
>
>
> Regards,
> Pavan
>
>
>
> --
> Sent from: http://www.postgresql-archive.org/PostgreSQL-admin-f2076596.html
>



Re: Point in time Recovery in Postgres?

From
Vikas Gupta
Date:
Hi Pavan,

Is it not possible with the pg_dump backup and with the wal files.

to do he PITR we need the pg_base backup along with WAL files.
Thanks and  Regards
Vikas Gupta PMP
+91-987181913
+91-9953999863


On Tue, Oct 23, 2018 at 10:14 AM pavan95 <pavan.postgresdba@gmail.com> wrote:
Hi all,

Is it possible to do PITR in postgres for a database provided that database
pg_dump backup is available and archive logs are also configured....

Could you please confirm?  Thanks in Advance!!


Regards,
Pavan



--
Sent from: http://www.postgresql-archive.org/PostgreSQL-admin-f2076596.html