X-Original-To: pgsql-admin@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 97835476345 for ; Tue, 29 Apr 2003 18:28:08 -0400 (EDT) Received: from mail.4dmatrix.com (unknown [208.248.151.248]) by postgresql.org (Postfix) with ESMTP id CBE40476344 for ; Tue, 29 Apr 2003 18:28:03 -0400 (EDT) Received: from joshdesk2 (sonicwall.4dmatrix.com [208.248.151.201] (may be forged)) by mail.4dmatrix.com (8.9.3/8.9.3) with SMTP id PAA23375 for ; Tue, 29 Apr 2003 15:22:25 -0700 Message-ID: <0e1501c30e9e$736ef8e0$6e02a8c0@4dmatrix.com> From: "Josh Goldberg" To: "postgres-admin" Subject: backups and restores: -Fc vs. -Ft Date: Tue, 29 Apr 2003 15:26:59 -0700 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0E12_01C30E63.C6EC4530" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Spam-Status: No, hits=-0.8 required=5.0 tests=BAYES_30,HTML_30_40,HTML_WITH_BGCOLOR version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200304/392 X-Sequence-Number: 8547 This is a multi-part message in MIME format. ------=_NextPart_000_0E12_01C30E63.C6EC4530 Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: quoted-printable All this talk lately about problems using -Ft when restoring backups...I've= always used -Fc. What other advantages/disadvantages are there to using t= he custom format as opposed to the tar format, besides the fact that tar ha= s never reliably worked for me? Why are all you other admins (seemingly) d= ependent on having tar working, besides that it's really really cool when e= verything works as expected? Thanks in advance for the enlightenment :-) p.s. - fyi, here's my backup/restore method (I don't use the contrib lo, I = just use the regular built-in stuff.): pg_dump -Fc -obf dumpfile -U mysuer mydatabase pg_restore -Fc -s -U myuser -d mydatabase dumpfile pg_restore -Fc -ao -U myuser -d mydatabase dumpfile ------=_NextPart_000_0E12_01C30E63.C6EC4530 Content-Type: text/html; charset="iso-2022-jp" Content-Transfer-Encoding: quoted-printable
All this talk lately about problems using = -Ft when=20 restoring backups...I've always used -Fc.  What other=20 advantages/disadvantages are there to using the custom format as opposed to= the=20 tar format, besides the fact that tar has never reliably worked for me?&nbs= p;=20 Why are all you other admins (seemingly) dependent on having tar working,= =20 besides that it's really really cool when everything works as=20 expected?
 
Thanks in advance for the enlightenment=20 :-)
 
p.s. - fyi, here's my backup/restore metho= d (I don't use the contrib lo, I just use the regular bu= ilt-in=20 stuff.):
pg_dump -Fc -obf dumpfile -U mysuer=20 mydatabase
pg_restore -Fc -s -U myuser -d mydatabase= =20 dumpfile
pg_restore -Fc -ao -U myuser -d mydatabase= =20 dumpfile
 
 
------=_NextPart_000_0E12_01C30E63.C6EC4530--