Re: best practices for dumping databases - Mailing list pgsql-novice

From Sean Davis
Subject Re: best practices for dumping databases
Date
Msg-id [email protected]
Whole thread Raw
In response to best practices for dumping databases  ("Mag Gam" <[email protected]>)
List pgsql-novice
On Sun, Apr 6, 2008 at 4:25 PM, Mag Gam <[email protected]> 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 by date:

Previous
From: "Mag Gam"
Date:
Subject: best practices for dumping databases
Next
From: Tom Lane
Date:
Subject: Re: best practices for dumping databases