Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Novice > Re: best practi...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 6 Topic 3062 of 3215
Post > Topic >>

Re: best practices for dumping databases

by sdavis2@[EMAIL PROTECTED] ("Sean Davis") Apr 6, 2008 at 04:51 PM

On Sun, Apr 6, 2008 at 4:25 PM, Mag Gam <magawake@[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

-- 
Sent via pgsql-novice mailing list (pgsql-novice@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-novice
 




 6 Posts in Topic:
best practices for dumping databases
magawake@[EMAIL PROTECTED  2008-04-06 16:25:13 
Re: best practices for dumping databases
sdavis2@[EMAIL PROTECTED]  2008-04-06 16:51:55 
Re: best practices for dumping databases
tgl@[EMAIL PROTECTED] (T  2008-04-06 18:36:27 
Re: best practices for dumping databases
magawake@[EMAIL PROTECTED  2008-04-06 20:49:35 
Re: best practices for dumping databases
tgl@[EMAIL PROTECTED] (T  2008-04-06 21:24:04 
Re: best practices for dumping databases
rterry@[EMAIL PROTECTED]   2008-04-07 13:45:13 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Sep 8 2:48:48 CDT 2008.