Skip to main content
Solved

PostgreSQL backup without compression

  • September 20, 2022
  • 2 replies
  • 274 views

Robert Horowski
Commvault Certified Expert
Forum|alt.badge.img+13

Hi,

 

A customer has a CPU constraint server with PostgreSQL DB running. DB is approx. 96GB in size. Dumpbased backup took 5h30m which is a very long time to backup 96GB of data. Commvault by default is using pg_dump with -Fc parameter which compresses backup by default

 

I’m not a DB admin but as far as I know postgreSQL compression is very resource intensive. Is there a way to run PostgreSQL dumpbased backup without pg_dump compression?

Best answer by Meera

Hi Robert,

 

Is performing file based backups using FSBased BackupSet feasible? 

Archive log directory would need to be configured for this.

 

https://documentation.commvault.com/11.25/expert/21518_configuring_postgresql_archive_log_directory.html

https://www.postgresql.org/docs/current/continuous-archiving.html

 

Regards,

Meera

View original
Did this answer your question?

2 replies

Meera
Vaulter
Forum|alt.badge.img+7
  • Vaulter
  • 70 replies
  • Answer
  • September 20, 2022

Hi Robert,

 

Is performing file based backups using FSBased BackupSet feasible? 

Archive log directory would need to be configured for this.

 

https://documentation.commvault.com/11.25/expert/21518_configuring_postgresql_archive_log_directory.html

https://www.postgresql.org/docs/current/continuous-archiving.html

 

Regards,

Meera


Robert Horowski
Commvault Certified Expert
Forum|alt.badge.img+13
  • Author
  • Commvault Certified Expert
  • 114 replies
  • September 20, 2022

Hi @Meera 

Thanks for you suggestion. The WAL are not currently configured, I spoke with administrator responsible for this particular server but he is concerned about turning on logs further reducing already poor performance of this server. He also told me that this server is gonna be decommissioned soon, so we will just have to struggle on for a couple of days.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings