[pgsql-ayuda] Ayuda

Ing. Roberto Andrade randrade@campus.iztacala.unam.mx
Fri, 18 Dec 1998 11:56:56 -0600 (CST)


Hola:

> Hola lista, Parece que mi mensaje anterior no llego, alguien de uds me
> puede decir como respaldo una base de datos y me la llevo a otra maquina??
> intente llevandome el archivo /var/lib/pgsql/base/mi_base  pero no
> funciono, las dos maquinas tienen linux RedHat 5.1 y postgresql-6.3.2-4
> De antemano, muchas gracias...

Revisa el mas de pg_dump, esa es una buena soluci'on:

 pg_dump is a utility for dumping out a  Postgres  database  into  a
       script  file  containing query commands.  The script files are in a
       ASCII format and can be used to reconstruct the database,  even  on
       other  machines  and other architectures.  pg_dump will produce the
       queries necessary to re-generate all user-defined types, functions,
       tables,  indices,  aggregates, and operators.  In addition, all the
       data is copied out in ASCII format so that it can be readily copied
       in again, as well, as imported into tools for textual editing.


Saludos,

Roberto Andrade Fonseca

--------- Pie de mensaje -------------------------------------------
Archivo historico: http://tlali.iztacala.unam.mx/maillist/pgsql-ayuda
Cancelar inscripcion:
mail to: majordomo@tlali.iztacala.unam.mx
text   : cancelacion pgsql-ayuda