From: Martín Marqués <martin@bugs.unl.edu.ar>
To: PGSQL <pgsql-php@postgresql.org>
Subject: Re: backup postgres database
Date: Thu, 14 Mar 2002 07:24:12 -0300
Message-ID: <20020314102414.99BC0FCA2@bugs.unl.edu.ar> (raw)
In-Reply-To: <5.1.0.14.0.20020314123718.025890f0@cooee.cybersydney.com.au>
References: <005801c1cab4$ea8e4180$270a0a0a@esi>
<5.1.0.14.0.20020314123718.025890f0@cooee.cybersydney.com.au>
On Mié 13 Mar 2002 22:38, you wrote:
> >
> >Isn't it that
> >
> >psql template1 > dump-file
> >
> >also works? That's how I restore a backup.
>
> That would be dumping template1 not restoring to it :) (Change the > to <
> and you've got it right).
:-)
Right! Lucky the mistake was on a mail and not on the command line. :-)
Saludos... :-)
--
Porqué usar una base de datos relacional cualquiera,
si podés usar PostgreSQL?
-----------------------------------------------------------------
Martín Marqués | mmarques@unl.edu.ar
Programador, Administrador, DBA | Centro de Telematica
Universidad Nacional
del Litoral
-----------------------------------------------------------------
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-php@postgresql.org
Cc: martin@bugs.unl.edu.ar
Subject: Re: backup postgres database
In-Reply-To: <20020314102414.99BC0FCA2@bugs.unl.edu.ar>
References: <005801c1cab4$ea8e4180$270a0a0a@esi> <5.1.0.14.0.20020314123718.025890f0@cooee.cybersydney.com.au> <20020314102414.99BC0FCA2@bugs.unl.edu.ar>
* 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