Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YzsYP-00015s-U9 for pgsql-docs@arkaria.postgresql.org; Tue, 02 Jun 2015 20:12:54 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YzsYP-0007o9-DS for pgsql-docs@arkaria.postgresql.org; Tue, 02 Jun 2015 20:12:53 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YzsYO-0007n9-49 for pgsql-docs@postgresql.org; Tue, 02 Jun 2015 20:12:52 +0000 Received: from lists.commandprompt.com ([69.168.55.30]) by magus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1YzsYF-0003FH-5V for pgsql-docs@postgresql.org; Tue, 02 Jun 2015 20:12:50 +0000 Received: from [192.168.1.3] (spinlock.commandprompt.com [69.168.55.30]) by lists.commandprompt.com (Postfix) with ESMTPA id F2AFC351 for ; Tue, 2 Jun 2015 13:12:40 -0700 (PDT) Received: from [192.168.1.3] ([67.168.169.165] helo=[192.168.1.3]) by assp.commandprompt.com with ESMTPS(AES128-SHA) (2.1.1); 2 Jun 2015 13:12:40 -0700 Message-ID: <556E0E38.1090704@commandprompt.com> Date: Tue, 02 Jun 2015 13:12:40 -0700 From: "Joshua D. Drake" Organization: Command Prompt, Inc. User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: pgsql-docs@postgresql.org Subject: Re: backup.sgml WIP (patch included) References: <555BF933.3050200@commandprompt.com> <556DFAD0.8050003@commandprompt.com> <20150602200451.GI2988@postgresql.org> In-Reply-To: <20150602200451.GI2988@postgresql.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Assp-Version: 2.1.1(11364) on assp.commandprompt.com X-Assp-Client-SSL: yes X-Assp-ID: assp.commandprompt.com m1-75960-03083 X-Assp-Envelope-From: jd@commandprompt.com X-Assp-Intended-For: pgsql-docs@postgresql.org X-Assp-Original-Subject: Re: [DOCS] backup.sgml WIP (patch included) 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 On 06/02/2015 01:04 PM, Alvaro Herrera wrote: > > Joshua D. Drake wrote: > >> A change I did not make per Craig Ringer (and plenty of other people through >> the years): >> >> "Instead we should be advising people to use pg_dump -Fc and pg_restore as >> their default and primary method of dumping a database. It is rarely >> desirable to use text dumps and if pg_dump was being written now, it'd >> surely default to -Fc ." >> >> I think we really need to think about this. > > Yeah, this makes sense, except that if you want parallel dump (and many > people do) you need -Fd. > Oh agreed there. I do say in the current patch: The pg_dump application provides other formats. The most notable are the use of -F c or -F d. The use of the custom format (-F c) is an excellent option for smaller databases when you need fine grained control of the objects you chose to restore. The use of the directory format (-F d) allows for parallel connection based backups. If you are performing a backup with many objects and using pg_dump then the directory format will be the most efficient. This option also allows for fine grained control of the objects you chose to restore. Further, the use of the custom or directory pg_dump formats requires the use of pg_restore and will not work with psql. There is more information on using pg_restore in section Section 24.1.3. JD -- Command Prompt, Inc. - http://www.commandprompt.com/ 503-667-4564 PostgreSQL Centered full stack support, consulting and development. Announcing "I'm offended" is basically telling the world you can't control your own emotions, so everyone else should do it for you. -- Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-docs