Re: [Pgsql-ayuda] Cambiar Base de Datos

From: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>
To: Heber Lazcano Camargo <heber_lazcano(at)msn(dot)com>
Cc: pgsql-ayuda(at)tlali(dot)iztacala(dot)unam(dot)mx
Subject: Re: [Pgsql-ayuda] Cambiar Base de Datos
Date: 2003-11-29 21:30:26
Message-ID: 20031129213026.GA17460@dcc.uchile.cl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

On Sat, Nov 29, 2003 at 02:40:05PM -0600, Heber Lazcano Camargo wrote:

> [parrafo HTML incitable]

Por favor, escriban _sin_ HTML.

De lo poco que entendí tu pregunta, me parece que lo que necesitas es

pg_dump > archivo
luego te llevas el archivo a la otra maquina, y haces
psql < archivo

(también puedes usar pg_dump con -Ft o -Fc, y reemplazas psql por
pg_restore en el otro extremo).

--
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
Jude: I wish humans laid eggs
Ringlord: Why would you want humans to lay eggs?
Jude: So I can eat them

In response to

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message IVO PLANA VALLVE 2003-11-30 18:30:28 [Pgsql-ayuda] Tuplas en PostgreSQL
Previous Message Heber Lazcano Camargo 2003-11-29 20:40:05 [Pgsql-ayuda] Cambiar Base de Datos