Here is the exact command we use
pg_dump --disable-triggers -v -a -U postgres -p 5432 -h 127.0.0.1 -n pam
on the postgres database version 8.1.11
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?
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of 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 the original 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 the presence 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.
In response to
pgsql-jdbc by date
|Next:||From: Heikki Linnakangas||Date: 2008-06-25 09:51:10|
|Subject: Re: Data corruption while taking backup of database|
|Previous:||From: Pushker Chaubey||Date: 2008-06-25 08:47:11|
|Subject: Data corruption while taking backup of database|