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 Interfaces Jdbc > Re: Data corrup...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 7 Topic 1981 of 2064
Post > Topic >>

Re: Data corruption while taking backup of database

by pchaubey@[EMAIL PROTECTED] (Pushker Chaubey) Jun 25, 2008 at 02:22 PM

Here is the exact command we use

pg_dump --disable-triggers -v -a -U postgres -p 5432 -h 127.0.0.1 -n
pam=20
-f  <backupfilename>

on the postgres database version 8.1.11

Regards,
Pushker Chaubey

Pushker Chaubey wrote:
> Hi Experts,
>
> We took back up of a database using the following command
> pg_dump -a
> Please note that when we took the back the database was available for=20
> use simultaneously from various clients.
>
> In the back up file that was generated we found some data that was=20
> violating foreign key constraints. And there fore we were not able to=20
> restore database back with this back up file.
>
> What may be the possible reasons?
>
> Also please tell me, is it safe if we allow concurrent modification
of=20
> data through DMLs and the same time take the back up using pg_dump?
>
> Regards
> Pushker
>

=0D
The information contained in this electronic message and any attachments
to=
 this message are intended for the exclusive use of the addressee(s) and
ma=
y contain proprietary, confidential or privileged information. If you are
n=
ot the intended recipient, you should not disseminate, distribute or copy
t=
his e-mail. Please notify the sender immediately and destroy the original
m=
essage all copies of this message and any attachments.
WARNING: Computer viruses can be transmitted via email. The recipient
shoul=
d check this email and any attachments for the presence of viruses. The
com=
pany accepts no liability for any damage caused by any virus transmitted
by=
 this email.

Please do not print this email unless it is absolutely necessary.
--=20
Sent via pgsql-jdbc mailing list (pgsql-jdbc@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc
 




 7 Posts in Topic:
Data corruption while taking backup of database
pchaubey@[EMAIL PROTECTED  2008-06-25 14:17:11 
Re: Data corruption while taking backup of database
pchaubey@[EMAIL PROTECTED  2008-06-25 14:22:27 
Re: Data corruption while taking backup of database
heikki@[EMAIL PROTECTED]   2008-06-25 12:51:10 
Re: Data corruption while taking backup of database
pchaubey@[EMAIL PROTECTED  2008-06-25 15:38:28 
Re: Data corruption while taking backup of database
dmigowski@[EMAIL PROTECTE  2008-06-26 16:36:57 
Re: Data corruption while taking backup of database
tgl@[EMAIL PROTECTED] (T  2008-06-25 17:20:04 
Re: Data corruption while taking backup of database
pchaubey@[EMAIL PROTECTED  2008-06-26 15:50:19 

Post A Reply:
  Go here to Signup

AddThis Feed Button


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

Contact
tan12V112 Sat Oct 11 19:11:21 CDT 2008.