Re: recovery fail

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: recovery fail
Дата
Msg-id AANLkTi=2YHimySxFCcAAYa=jQPfBP9ZoAZVxKfA3t0t=@mail.gmail.com
обсуждение исходный текст
Ответ на recovery fail  (Łukasz Bieniek <lukebieniek@interia.pl>)
Список pgsql-general
2010/8/25 Łukasz Bieniek <lukebieniek@interia.pl>:
> I'have made a backup my DB with pg_dump its (' pg_dump -U username dbname >backupfilename.sql.gz. When i want to
restoreit ( I drop the old database ,creaete new and language to it and i type a command 'cat
backupfilename.sql.gz|gunzip|/usr/local/pgsql/bin/psql-U username dbname) this backup restore my all tables but its
losesrelations to some tables. and when it is restoring sysem send me messeges about missing relations . I think it is
aboutorder in this recovery data from backup. How to resolve this problem? 

Are you piping the pg_dump through gzip?  It doesn't look like it.  If
you are, replace your restore command with:

zcat backupfile.sql.gz | psql ...

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Differences between to_tsquery() and plainto_tsquery() when it comes to applying an index?
Следующее
От: Selena Deckelmann
Дата:
Сообщение: Re: recovery fail