From: Josh Goldberg <josh@4dmatrix.com>
To: postgres-admin <pgsql-admin@postgresql.org>
Subject: backups and restores: -Fc vs. -Ft
Date: Tue, 29 Apr 2003 15:26:59 -0700
Message-ID: <0e1501c30e9e$736ef8e0$6e02a8c0@4dmatrix.com> (raw)
All this talk lately about problems using -Ft when restoring backups...I've always used -Fc. What other advantages/disadvantages are there to using the custom format as opposed to the tar format, besides the fact that tar has never reliably worked for me? Why are all you other admins (seemingly) dependent on having tar working, besides that it's really really cool when everything 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: josh@4dmatrix.com
Subject: Re: backups and restores: -Fc vs. -Ft
In-Reply-To: <0e1501c30e9e$736ef8e0$6e02a8c0@4dmatrix.com>
References: <0e1501c30e9e$736ef8e0$6e02a8c0@4dmatrix.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox