Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ehhCP-0000s9-At for pgsql-admin@arkaria.postgresql.org; Fri, 02 Feb 2018 19:40:37 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ehhCO-000520-DX for pgsql-admin@arkaria.postgresql.org; Fri, 02 Feb 2018 19:40:36 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1ehhCO-00051n-6I for pgsql-admin@lists.postgresql.org; Fri, 02 Feb 2018 19:40:36 +0000 Received: from omr1.cc.ipv6.vt.edu ([2607:b400:92:8300:0:c6:2117:b0e] helo=omr1.cc.vt.edu) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ehhCK-0001pd-DT for pgsql-admin@lists.postgresql.org; Fri, 02 Feb 2018 19:40:35 +0000 Received: from mr3.cc.vt.edu (mr3.cc.vt.edu [IPv6:2607:b400:92:8500:0:7f:b804:6b0a]) by omr1.cc.vt.edu (8.14.4/8.14.4) with ESMTP id w12JeSWE013282 for ; Fri, 2 Feb 2018 14:40:28 -0500 Received: from mail-qt0-f198.google.com (mail-qt0-f198.google.com [209.85.216.198]) by mr3.cc.vt.edu (8.14.7/8.14.7) with ESMTP id w12JeMpm002713 for ; Fri, 2 Feb 2018 14:40:27 -0500 Received: by mail-qt0-f198.google.com with SMTP id f16so20298510qth.20 for ; Fri, 02 Feb 2018 11:40:27 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding:content-language; bh=porVucleI46bHwoxwavHIBx/xhP0HOU3l0TXhUJ3KME=; b=anQ1WIvpJm4FyO+r0tRLMEKu/qoythqf9P1/janO/qoF5/igNCRQ1x4f5Gdc0hTA5O m76CMKx/9U3Svy1xjY+uG2Rn/iHJp3qTQTNk8RhdRB6WPaaDpL0IfnbqtblTt5oHLyq5 o6218D5mPz35us47FXLmwTTZncEKtd+Fwm8I7OCTmtBeaXjRLJE1MTuIDfWGU8hA9mht ZsxwlV8DVoAcvsuJTgdEfSSfGYy3CZJTXVPDmr3KFJDtArqorkGZqvgTgjQ7MgkMAoaH qH7Bx8Qe/pEas/kgzytsAJ6DEDU6dFRmnspDShLRrZDeeM0xVMgMwsXliuELWvAwBSuj 2hrA== X-Gm-Message-State: AKwxytcRKoKRAExuS5aYvWsizHOHqIuU+k0wWO1pO2FEB88A8r8/d3Xc OjKaQiCoI29WA8v7a1hXL38I2I5t8icaX+mMegye2Ba410wJjfy+r3YgauQT2ffv3hWOaAZvTJj B2/LjtkF6ZFk42NZY0m5wTMksppxn5PlBjgV1BoGi7AZT54BzsNYyeE0cnsVqY+U7mcQuwOQ3d/ yAtBWHZVVm X-Received: by 10.200.37.13 with SMTP id 13mr19007603qtm.306.1517600422431; Fri, 02 Feb 2018 11:40:22 -0800 (PST) X-Google-Smtp-Source: AH8x227wL208dMZ4SlMlYpyo8+QgAcc+aa2PfXk6QCqkB4gdudYIH7apVm+JyZtjmCzMmui7v7+YQQ== X-Received: by 10.200.37.13 with SMTP id 13mr19007584qtm.306.1517600422240; Fri, 02 Feb 2018 11:40:22 -0800 (PST) Received: from stell.cns.vt.edu (stell.cns.vt.edu. [128.173.8.158]) by smtp.gmail.com with ESMTPSA id 33sm1836746qtf.52.2018.02.02.11.40.21 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 02 Feb 2018 11:40:21 -0800 (PST) To: pgsql-admin@lists.postgresql.org From: Ray Stell Subject: pg_basebackup with a twist? Message-ID: Date: Fri, 2 Feb 2018 14:40:20 -0500 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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.