Re: problemas con el restore

From: "Jaime Casanova" <systemguards(at)gmail(dot)com>
To: Juan Martínez <jeugenio(at)umcervantes(dot)cl>
Cc: "Nicolas Recabarren" <nrecabarren(at)adexus(dot)cl>, pgsql-es-ayuda(at)postgresql(dot)org
Subject: Re: problemas con el restore
Date: 2006-06-22 05:29:20
Message-ID: c2d9e70e0606212229q4211c793q74930269ebe048a3@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

>
> > y luego intente hacer el restore de la siguiente manera.
> > pg_restore.exe -i -h localhost -p 5432 -U postgres -d sourceforge -s -v
> > "C:\Documents and Settings\Nico\Desktop\backup.backup"
> >
> > y esto me da el siguiente error
> >
> > pg_restore: [archiver] input file does not appear to be a valid archive
> >
> > no se por que si creo que todo esta correcto.
>
> Tu problema esta en que:
>
> 1. En la informatica el 'creo' significa 'no se'. Y lo que _no se_ sabe se
> ve en la documentacion, google, listas y codigo fuente. En ese orden.
>
> 2. Debes obligatoriamente leer la doc para que dejes de creer y comiences
> a asegurar ;-)
>

ademas seria util la version de postgres, parece (por el formato de
las sentencias en el dump) alguna de las ramas del 7.x.x

si hubieras leido la documentacion
(http://www.postgresql.org/docs/8.1/static/app-pgrestore.html) habrias
visto esto:

pg_restore is a utility for restoring a PostgreSQL database from an
archive created by pg_dump in one of the non-plain-text formats

--
Atentamente,
Jaime Casanova

"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs and the universe trying
to produce bigger and better idiots.
So far, the universe is winning."
Richard Cook

In response to

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Jaime Casanova 2006-06-22 05:33:35 Re: problemas con el restore
Previous Message Nicolas Recabarren 2006-06-22 03:49:17 problemas con el restore