We are backing up 1TB+ of postgres database using barman. Barman is backing up full database daily. Every day we are dumping 1TB+ database. So it's consuming huge space. We have following configuration in barman:(broad - level config)
backup_method=rsync
compression=pzip
reuse_backup=copy
Due to hardware constraint we can't use reuse_backup=link, means we can't take incremental backup.
We don't know even after setting up compression=pzip, why barman is not compressing the backup.
So what we want is that, can we have a post script which will compress the database backup or any other option to compress the backup taken using barman.
Version details: Barman : ver2.12 Postgresql:13 OS: Ubuntu 20.04
Thanks in advance.
PG barman is doing only wal compression. If you need to do the full backup compression, PGBackrest is the best option for sure.