Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1056417 - RFE: db-control online-backup add option to compress backup
Summary: RFE: db-control online-backup add option to compress backup
Status: NEW
Alias: None
Product: Spacewalk
Classification: Community
Component: Server
Version: 2.1
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Tomas Lestach
QA Contact: Red Hat Satellite QA List
Depends On:
Blocks: spacewalk-rfe
TreeView+ depends on / blocked
Reported: 2014-01-22 07:55 UTC by Peter Robinson
Modified: 2017-10-31 08:40 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed:

Attachments (Terms of Use)

Description Peter Robinson 2014-01-22 07:55:14 UTC
The db-control online-backup uses pg_dump to make a online backup of the spacewalk/satellite database. 

The pg_dump utility has the ability to compress the data base dump and it would be useful to have the ability to compress the backup on the fly to reduce overall disk usage of the backups as they can get rather large.

Comment 1 Jan Pazdziora 2014-01-24 02:15:39 UTC
The pg_dump is called with -Fc -Z7 since Spacewalk 1.8 so it is compressed as much as possible. What output do you experience?

Comment 2 Peter Robinson 2014-01-26 10:35:02 UTC
running "db-contol online-backup /var/lib/pgsql/backup/rhsat-20140106" just gives me a file that I can view and see all the raw sql statements where I would be expecting gzip data and if I do "file /var/lib/pgsql/backup/rhsat-20140106" it reports it as "PostgreSQL custom database dump - v1.11-0" where I would expect it to be likely reporting a gzip archive.

Note You need to log in before you can comment on or make changes to this bug.