Thread: pg_restore error

pg_restore error

From
"Roberto de Amorim"
Date:
Hi all,

I did a database backup using the command:$ pg_dump -Ft -b mydb >
backupdb.tar

and now I'm tring to restore this backup using:$ pg_restore -d mydb
backupdb.tar
and I'm getting this error message: Segmentation fault (core dumped)

what is wrong? or what the best way to me backup my database and restore it
in other computer? which params should I use in pg_dump and pg_restore???

please help


Roberto de Amorim - +55 48 346-2243
Software engineer at SmartBit Software
roberto@smartbit.inf.br