[Gfoss] problema con pg_restore postgresql

Sandro Santilli strk a keybit.net
Mer 15 Feb 2012 17:09:59 CET


On Wed, Feb 15, 2012 at 05:05:47PM +0100, Luca Mandolesi wrote:
> Ciao Sandro,
> 
> questo รจ il massimo di errore che mi da...
> 
> Last login: Wed Feb 15 16:19:56 on ttys000
> host94-215-dynamic:~ luca$ /usr/local/pgsql/bin/pg_restore -i -h 127.0.0.1
> -p 5432 -U postgres -d pyarchinit -v "/users/luca/backupdb_2_nov_2011.sql"
> pg_restore: [archiviatore] il file di input non sembra essere un archivio
> valido
> host94-215-dynamic:~ luca$

Il backup devi farlo col formato custom, non ascii sql.
pg_dump -Fc

E' scritto nel manuale:
http://postgis.refractions.net/documentation/manual-svn/postgis_installation.html#hard_upgrade

--strk;

  ,------o-. 
  |   __/  |    Delivering high quality PostGIS 2.0 !
  |  / 2.0 |    http://strk.keybit.net
  `-o------'



Maggiori informazioni sulla lista Gfoss