From: Raghavendra Rao J S V [mailto:raghavendrajsv@xxxxxxxxx]
Hi All, We are using pg_dump
backup utility in order to take the backup of the database. Unfortunately,it is taking around 24hrs of time to take the backup of 28GB database. Please guide me how to reduce the time and is there any parameter need to be modified which will help
us to reduce the backup time. We are using Postgres 9.2 version Note:-Kindly suggest me options using
pg_dump only. --
Regards, =========================================== I agree with Ozz, be sure you’re dumping to another drive than what your DB sits on. Investigate the “-f d” option, and the “-j” option can be useful too. I’ll also point out that hardware makes a big difference.
:) We can dump a 180G DB in about 15min. Note, that is to an SSD RAID array and we do “-f d -j $num_cpus_minus_2” and there
are 32 cpus on the server (so -j 30). HTH, Kevin |