Re: Data corruption while taking backup of database - Mailing list pgsql-jdbc

From Pushker Chaubey
Subject Re: Data corruption while taking backup of database
Date
Msg-id 4862074B.6060904@vertex.co.in
Whole thread Raw
In response to Data corruption while taking backup of database  (Pushker Chaubey <pchaubey@vertex.co.in>)
List pgsql-jdbc

Here is the exact command we use

pg_dump --disable-triggers -v -a -U postgres -p 5432 -h 127.0.0.1 -n pam
-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
> use simultaneously from various clients.
>
> In the back up file that was generated we found some data that was
> violating foreign key constraints. And there fore we were not able to
> 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
> data through DMLs and the same time take the back up using pg_dump?
>
> Regards
> Pushker
>


The information contained in this electronic message and any attachments to this message are intended for the exclusive
useof the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended
recipient,you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy
theoriginal message all copies of this message and any attachments. 
WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for
thepresence of viruses. The company 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.

pgsql-jdbc by date:

Previous
From: Pushker Chaubey
Date:
Subject: Data corruption while taking backup of database
Next
From: "Heikki Linnakangas"
Date:
Subject: Re: Data corruption while taking backup of database