Re: Ayuda con Backup y Restores

From: Luis Guevara <luis(dot)a(dot)guevara(at)gmail(dot)com>
To: fernando villarroel <bbddlinux(at)yahoo(dot)es>
Cc: pgsql-es-ayuda(at)postgresql(dot)org
Subject: Re: Ayuda con Backup y Restores
Date: 2005-08-28 19:52:03
Message-ID: fa2b6e3a05082812527ece518f@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

¿Porque no lo haces con la opcion Backup y Restore del PGADMIN ?

A mi me funciona sin ningun problema.

atte.
Luis Guevara

El 27/08/05, fernando villarroel<bbddlinux(at)yahoo(dot)es> escribió:
> Hola me baje el script para respaldar que aparece en
> el sitio www.postgresql.cl:
> http://www.postgresql.cl/colabora/script_respaldo.htm
>
> Bueno modifique algunos parametro, los siguientes:
>
> USER=operador #Decia Postgres
> BACKUP_DIR="/home/operador/resp/" #Decia
> "/data/web/internal_app/pg_backups/"
>
> TMP_DIR="/home/operador/tmp/"# Decia "/tmp/"
>
> Bueno el respaldo funciono bien.
>
>
> Pero el Restore me tira lo siguientes errores:
>
> ERROR: relation "cltescred" does not exist
> ERROR: relation "cltescred" does not exist
> ERROR: relation "cltescred" does not exist
> ERROR: relation "cltescred" does not exist
> ERROR: relation "cltescred" does not exist
> ERROR: relation "cltescred" does not exist
> ERROR: relation "tipotransac" does not exist
> ERROR: relation "tipotransac" does not exist
> ERROR: relation "tipotransac" does not exist
> ERROR: relation "tipotransac" does not exist
> ERROR: relation "camrepar" does not exist
> ERROR: relation "camrepar" does not exist
> ERROR: relation "camrepar" does not exist
> ERROR: relation "camrepar" does not exist
> ERROR: relation "camrepar" does not exist
> ERROR: relation "camrepar" does not exist
> ERROR: relation "camrepar" does not exist
> ERROR: relation "camrepar" does not exist
> ERROR: relation "camrepar" does not exist
> ERROR: relation "camrepar" does not exist
> ERROR: relation "camrepar" does not exist
> ERROR: relation "camrepar" does not exist
> ERROR: relation "umedida_cmedida_seq" does not exist
> ERROR: relation "sucursal_csucursal_seq" does not
> exist
> ERROR: relation "giros_cgiro_seq" does not exist
> ERROR: relation "comunas_ccomuna_seq" does not exist
> ERROR: relation "motivos_cmotivo_seq" does not exist
> ERROR: relation "tarifas_codtar_seq" does not exist
>
> Lo que ocurre es que tengo una base de datos corriendo
> en una maquina A y necesito llevar ese respaldo a otra
> maquina B que esta en otro lugar, es decir desde el
> respaldo necesito cargar la base de datos en la nueva
> maquina, estructuras, tablas, datos, usuarios, etc, me
> sirve el script anterior?
>
> Fernando Villarroel N.
>
>
>
>
>
> ______________________________________________
> Renovamos el Correo Yahoo!
> Nuevos servicios, más seguridad
> http://correo.yahoo.es
>
> ---------------------------(fin del mensaje)---------------------------
> TIP 8: explain analyze es tu amigo
>

In response to

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message viernes 2005-08-29 00:54:20 Eliminar caracteres de escape en insert
Previous Message Luis Guevara 2005-08-28 19:19:24 Re: Mantenimiento de Postgres