pg_receivexlog only captures WAL data, not *.backup?

From: Jerry Sievers <gsievers19(at)comcast(dot)net>
To: pgsql-admin(at)postgresql(dot)org
Subject: pg_receivexlog only captures WAL data, not *.backup?
Date: 2018-01-11 02:24:29
Message-ID: 87inc9ceua.fsf@jsievers.enova.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

This is on 9.6 and I have not tested on 10 yet.

The docs mention being able to use pg_receivexlog in stead of
archive_command as main backup method, I wonder how this is possible?

I did observe that no such *.backup file gets copied by pg_receivexlog
after the server was put in and taken out of backup mode.

It was my impression that *.backup files were required during PITR to
mark the point of consistency.

Is this not or no longer the case?

Or, I wonder if it depends on pg_basebackup being used w/one of the
options that captures all WAL as part of it?

Also, I did not (yet) test to see whether timeline *.history files get
copied if pg_receivexlog was pointed at a standby that was then
promoted.

Thanks for any insight.
--
Jerry Sievers
Postgres DBA/Development Consulting
e: postgres(dot)consulting(at)comcast(dot)net
p: 312.241.7800

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Aldo Sarmiento 2018-01-11 09:37:10 PG backrest restore
Previous Message Ramesh naik 2018-01-11 02:19:56 Re: Replication mode