Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WDk2K-0003iE-4i for pgsql-docs@arkaria.postgresql.org; Thu, 13 Feb 2014 00:20:16 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WDk2J-0002qH-L6 for pgsql-docs@arkaria.postgresql.org; Thu, 13 Feb 2014 00:20:15 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WDk2J-0002pP-2d for pgsql-docs@postgresql.org; Thu, 13 Feb 2014 00:20:15 +0000 Received: from moutng.kundenserver.de ([212.227.17.8]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WDk2C-0004C6-CB for pgsql-docs@postgresql.org; Thu, 13 Feb 2014 00:20:14 +0000 Received: from ayaki.localdomain (106-68-40-189.dyn.iinet.net.au [106.68.40.189]) by mrelayeu.kundenserver.de (node=mreue102) with ESMTP (Nemesis) id 0MUnjI-1VfkdO1CHs-00Y9UA; Thu, 13 Feb 2014 01:20:07 +0100 Message-ID: <52FC0FB2.1030705@2ndquadrant.com> Date: Thu, 13 Feb 2014 08:20:02 +0800 From: Craig Ringer Organization: 2nd Quadrant User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0 MIME-Version: 1.0 To: PostgreSQL Developers Subject: archive_command vs recovery_command paths X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:xD+JbbXCf5ScmAknFZkDaYomAJDNhx9EKTs+OCcs2cz SVgfpNl8hAcwfPAupQCLFmc6ZGRvdeiyZihBqEEFlWYMi60481 7OatvgygbqK9mlzAUX7OtrjgTLfPU87cRvP7hteSaE9r/eUH5Y TiSmTQSxWWgOgtBDRxBZKW86ROScG1aCKr6D35iKnudnn7QFSa nbsHM4r9d9ISngXKR0ankMqdBVQ2d/CUzl8MYW641nIGo4SlHv ZSp0pVvP5tuUEC2Xrbjdf15Q6/7838ohKPQ/vrcHSMFQQNi9l/ AXnJSKM2Z/jG1BSfdvxBafM1xyar8slWmaMN7X0wuE25XBsFSM 7L/OHG76jEKhaeFvn4rjvhfyK+egiKlXkvMrA1Hpb X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-docs Precedence: bulk Sender: pgsql-docs-owner@postgresql.org Hi folks Another point of confusion I've been seeing a lot in users on Stack Overflow, dba.stackexchange.com, etc surrounds the meaning of paths given in archive_command and restore_command. Lots of people seem to assume that they are both relative to the master, and that the master will run the restore_command to fetch archives to send to the replica on request. (Yes, I know that's completely missing the point of archive-based replication, but it seems common). So I think docs changes are needed to the explanations of those options, and to the replication/recovery section, that better explain that we assume there's shared storage like NFS involved, and if there isn't you need to use commands like scp/rsync instead, or use tools like WAL-E. I'm not going to get time to do this one for at least a few days, but I'm posting it now partly so I don't forget about it. -- Craig Ringer http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services -- Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-docs