pg_basebackup with a twist?

From: Ray Stell <stellr(at)vt(dot)edu>
To: pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: pg_basebackup with a twist?
Date: 2018-02-02 19:40:20
Message-ID: f40ed60f-89b8-0b39-5c03-3ddbaca40b3c@vt.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

I have a fairly busy primary that I put a symlink in to move pg_xlog
over to another I/O subsystem.   I was going to build a standby with
pg_basebackup running the command from the standby host.  I thought
maybe I could put the symlink in on the new standby, but no go: 
"pg_basebackup: directory "/database/test.basebackup/" exists but is not
empty" as documented.  Is the only way to do this to "fix" it up after
the restore?   I want to use the "-x" option in order to get the WAL
during the backup.  Just curious, my guess is I'll have to build the
stby from a intermediate file.  TIA.

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Peter Eisentraut 2018-02-02 21:11:12 Re: pg_basebackup with a twist?
Previous Message Craig James 2018-02-02 18:41:01 Extreme slowdown querying system tables