pg_dumpall pg_restore

Поиск
Список
Период
Сортировка
От Rob Sell
Тема pg_dumpall pg_restore
Дата
Msg-id 004d01c3aeb6$8a587640$640101c0@rob
обсуждение исходный текст
Ответ на Re: How can I check if table exists in DB?  (Stephan Szabo <sszabo@megazone.bigpanda.com>)
Ответы Re: pg_dumpall pg_restore  (Stephan Szabo <sszabo@megazone.bigpanda.com>)
Re: pg_dumpall pg_restore  (Oliver Elphick <olly@lfix.co.uk>)
Список pgsql-novice
Ok this should be simple but I am missing something here.

Yesterday I upgrade to 7.4 before I do that I run

$pg_dumpall > /tmp/pg_keep

When I try to restore off this file I get
pg_restore: [archiver] input file does not appear to be a valid archive

So I tar the file and it appears to be a valid archive now..
Now when I try to restore I get the error:

pg_restore: [tar archiver] could not find header for file toc.dat in tar
archive

What am I missing here? Or is my dump just not valid and I am out of luck.

Btw I did the dump with the 7.3 tools and now am using the 7.4 restore if
that makes any difference.

Rob



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

Предыдущее
От: Andrei Ivanov
Дата:
Сообщение: ERROR: nodeRead: did not find '}'
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: pg_dumpall pg_restore