Solved

PostgreSQL backup without compression

  • 20 September 2022
  • 2 replies
  • 194 views

Userlevel 4
Badge +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?

icon

Best answer by Meera 20 September 2022, 10:50

View original

2 replies

Userlevel 3
Badge +7

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

Userlevel 4
Badge +13

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