Unable to user pg_restore

Поиск
Список
Период
Сортировка
От Kumar
Тема Unable to user pg_restore
Дата
Msg-id 00fb01c3970a$5f95b620$7502a8c0@hdsc.com
обсуждение исходный текст
Ответы Re: Unable to user pg_restore  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-sql
Dear Friends,
 
I have created a compressed backup for the database - sampledb using the following
$ pg_dump -h 192.128.2.51 -v -u -f /home/db_repository/sampledb20031020.sql.tar.gz wats -F c
 
while I try to restore this with the pg_restore function as follows
$ pg_restore -d sampledbtest -f /home/db_repositorysampledb.sql.tar.gz -F c -v -c -O -h 192.128.2.51 -p 5432 -u
User name: postgres
 
It never prompt for password, so I just typed the password , and get the error as follows,
postgres
pg_restore: [archiver] did not find magic string in file header
$
 
Anyone could advise me on this pls.
 
Kumar

В списке pgsql-sql по дате отправления:

Предыдущее
От: Christopher Browne
Дата:
Сообщение: Re: Max input parameter for a function
Следующее
От: "Kumar"
Дата:
Сообщение: Scripting only the functions