Re: Backups and restores.

From: Doug McNaught <doug(at)mcnaught(dot)org>
To: Brian Avis <brian(dot)avis(at)searhc(dot)org>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Backups and restores.
Date: 2003-06-07 14:55:33
Message-ID: m3k7bykkd6.fsf@varsoon.wireboard.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Brian Avis <brian(dot)avis(at)searhc(dot)org> writes:

> I am upgrading my workstation to 7.3.3. I have some database backups
> that were created with this command.
>
> /usr/local/pgsql/bin/pg_dump $db | gzip > /usr/local/pgsql/backups/$filename
>
> Which generates this sort of file.
>
> pgdump_2003-6-5-csp.gz

For dumps in SQL format (the default), feed them to 'psql' rather than
using 'pg_restore', which is for "tar" and "custom" format dumps.

-Doug

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2003-06-07 15:06:10 Re: Backups and restores.
Previous Message Jim C. Nasby 2003-06-07 13:58:37 Re: Optimizer failure on integer column?