silently ignore -c parameter if --checkDevicesBS0 if lower than 1M

Bug #612373 reported by Michal Bičan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
storebackup (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: storebackup

If you use checkDevices* and set block size lower than 1M bzip2 compression is used for backup of block device but other files are compressed right with gzip. There is no warning at all but extension of the files of block device is as in parameter (.gz)
storeBackup -c 'gzip -9' -p '.gz' -s ~/stbu/empty -b /media/backup/backup/ -S system -l /tmp/storeBackup.log --checkDevices0 /dev/sda1 --checkDevicesBS0 256k --checkDevicesCompr0 --checkDevicesDir0 .

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: storebackup 3.2-1
ProcVersionSignature: Ubuntu 2.6.32-24.38-generic 2.6.32.15+drm33.5
Uname: Linux 2.6.32-24-generic x86_64
Architecture: amd64
Date: Mon Aug 2 00:11:31 2010
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_US:en
 LANG=cs_CZ.utf8
 SHELL=/bin/bash
SourcePackage: storebackup

Revision history for this message
Michal Bičan (bicanm) wrote :
Revision history for this message
Heinz-Josef Claes (hjclaes) wrote :

I just read this bug report (didn't know about this place) and fixed the bug.
It will be published with version 3.3, which probably will be released in a few weeks or a month or so.
If you want to test it before that date, please contact me.

Revision history for this message
Heinz-Josef Claes (hjclaes) wrote :

corrected in version 3.3-rc1

The call of storeBackup above is wrong. You also have to specify
-u 'gzip -d'
or storeBackupRecover (and others) will try to uncompress files with bzip2 (default value) instead of gzip.

Starting with version 3.3 you also have to change usage of option --checkDevicesCompr0 to
--checkDevicesCompr0 yes
or
--checkDevicesCompr0 check
due to functional enhancement.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.