Received: from bugs.unl.edu.ar (bugs.unl.edu.ar [168.96.132.208]) by postgresql.org (Postfix) with ESMTP id 06CA4475902 for ; Thu, 14 Mar 2002 05:23:22 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by bugs.unl.edu.ar (Postfix) with ESMTP id 28211FDD2 for ; Thu, 14 Mar 2002 07:24:15 -0300 (GMT) Received: by bugs.unl.edu.ar (Postfix, from userid 1004) id 99BC0FCA2; Thu, 14 Mar 2002 07:24:14 -0300 (GMT) Content-Type: text/plain; charset="iso-8859-1" From: =?iso-8859-1?q?Mart=EDn=20Marqu=E9s?= To: "PGSQL" Subject: Re: backup postgres database Date: Thu, 14 Mar 2002 07:24:12 -0300 X-Mailer: KMail [version 1.3.2] References: <005801c1cab4$ea8e4180$270a0a0a@esi> <5.1.0.14.0.20020314123718.025890f0@cooee.cybersydney.com.au> In-Reply-To: <5.1.0.14.0.20020314123718.025890f0@cooee.cybersydney.com.au> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20020314102414.99BC0FCA2@bugs.unl.edu.ar> X-Virus-Scanned: by AMaViS snapshot-20011031 X-Archive-Number: 200203/21 X-Sequence-Number: 990 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 -----------------------------------------------------------------