Re: PG_DUMP

From: "eduardo cifuentes" <dancifuentes(at)hotmail(dot)com>
To: alvherre(at)dcc(dot)uchile(dot)cl
Cc: pgsql-es-ayuda(at)postgresql(dot)org
Subject: Re: PG_DUMP
Date: 2004-11-12 20:09:24
Message-ID: BAY12-F34halxyPyF1B00068354@hotmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

<html><div style='background-color:'><DIV class=RTE>
<DIV><FONT face=Arial size=2>Lo que queria hacer era Recrear la Base de Datos a la que le habia hecho PG_DUMP (Base_Datos1.pgdump)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Hagamos que ya estoy en EL OTRO SERVIDOR...</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>En ese servidor :</FONT></DIV>
<DIV><FONT face=Arial size=2>Creo una Base de Datos. con cualquier nombre correcto? (Base_Datos2)</FONT></DIV>
<DIV><FONT face=Arial size=2>luego me ubico en esa DB no? ( psql Base_Datos2)</FONT></DIV>
<DIV><FONT face=Arial size=2>y ejecuto el cat ( cat Base_Datos1.pgdump | psql Base_Datos2)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Es eso correcto?</FONT></DIV>
<P><BR><BR></P></DIV>
<DIV></DIV>&gt;From: Alvaro Herrera &lt;alvherre(at)dcc(dot)uchile(dot)cl&gt;
<DIV></DIV>&gt;To: eduardo cifuentes &lt;dancifuentes(at)hotmail(dot)com&gt;
<DIV></DIV>&gt;CC: pgsql-es-ayuda(at)postgresql(dot)org, dcifuentes(at)diamante(dot)com(dot)pe
<DIV></DIV>&gt;Subject: Re: [pgsql-es-ayuda] PG_DUMP
<DIV></DIV>&gt;Date: Fri, 12 Nov 2004 16:30:50 -0300
<DIV></DIV>&gt;
<DIV></DIV>&gt;On Fri, Nov 12, 2004 at 06:37:52PM +0000, eduardo cifuentes wrote:
<DIV></DIV>&gt; &gt; tengo mi DB en Postgres llamada BITACORA:
<DIV></DIV>&gt; &gt;
<DIV></DIV>&gt; &gt; hice la siguiente instruccion :
<DIV></DIV>&gt; &gt;
<DIV></DIV>&gt; &gt; $ pg_dump bitacora &gt; bitacora.pgdump
<DIV></DIV>&gt; &gt;
<DIV></DIV>&gt; &gt; luego se creó el archivo "bitacora.pgdump"
<DIV></DIV>&gt; &gt;
<DIV></DIV>&gt; &gt; Quise recuperar el archivo con:
<DIV></DIV>&gt; &gt;
<DIV></DIV>&gt; &gt; $ cat bitacora.pgdump | psql bitacora
<DIV></DIV>&gt;
<DIV></DIV>&gt;O sea estas tratando de recuperar una base de datos que ya existe?&nbsp;&nbsp;Me
<DIV></DIV>&gt;parece obvio que va a decirte que los objetos ya estan ahi.
<DIV></DIV>&gt;
<DIV></DIV>&gt;BTW, deberias actualizar la version de Postgres.&nbsp;&nbsp;La que estas usando es
<DIV></DIV>&gt;prehistorica.
<DIV></DIV>&gt;
<DIV></DIV>&gt;--
<DIV></DIV>&gt;Alvaro Herrera (&lt;alvherre[a]dcc.uchile.cl&gt;)
<DIV></DIV>&gt;"Porque francamente, si para saber manejarse a uno mismo hubiera que
<DIV></DIV>&gt;rendir examen... ¿Quién es el machito que tendría carnet?"&nbsp;&nbsp;(Mafalda)
<DIV></DIV>&gt;
<DIV></DIV>&gt;
<DIV></DIV>&gt;---------------------------(end of broadcast)---------------------------
<DIV></DIV>&gt;TIP 5: ¿Has leído nuestro extenso FAQ?
<DIV></DIV>&gt;
<DIV></DIV>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;http://www.postgresql.org/docs/faqs/FAQ.html
<DIV></DIV></div><br clear=all><hr>Consigue aquí las mejores y mas recientes ofertas de trabajo en América Latina y USA: <a href="http://g.msn.com/8HMBES/2734??PS=47575" target="_top">Haz clic aquí</a> </html>

Attachment Content-Type Size
unknown_filename text/html 2.9 KB

Responses

  • Re: PG_DUMP at 2004-11-12 20:29:33 from Alvaro Herrera

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Alvaro Herrera 2004-11-12 20:29:33 Re: PG_DUMP
Previous Message Alvaro Herrera 2004-11-12 19:41:38 Re: Palm - PostgreSQL