Re: best practices for dumping databases

Поиск
Список
Период
Сортировка
От Sean Davis
Тема Re: best practices for dumping databases
Дата
Msg-id 264855a00804061351w667fde3buc093b780b76da67@mail.gmail.com
обсуждение исходный текст
Ответ на best practices for dumping databases  ("Mag Gam" <magawake@gmail.com>)
Список pgsql-novice
On Sun, Apr 6, 2008 at 4:25 PM, Mag Gam <magawake@gmail.com> wrote:
> What is the best way to dump a database?
>
> Currently, I am using pg_dump dbname. However, my data contains a lot of
> escape sequences and various characters which is causing a restore problem.
> How can I avoid problems like this? Is there a "binary" dump and restore? I
> rather use that if its going to guarantee valid data.

See the format argument to pg_dump.  It allows binary dumps.

Sean

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

Предыдущее
От: "Mag Gam"
Дата:
Сообщение: best practices for dumping databases
Следующее
От: Tom Lane
Дата:
Сообщение: Re: best practices for dumping databases