Bug #64136 Running an incremental backup with the compress option fails.
Submitted: 26 Jan 2012 15:52 Modified: 31 Jan 2012 17:11
Reporter: Scott Watson Email Updates:
Status: Can't repeat Impact on me:
None 
Category:MySQL Enterprise Backup Severity:S3 (Non-critical)
Version:3.6 OS:Any
Assigned to: CPU Architecture:Any
Tags: MEB incremental backup compress

[26 Jan 2012 15:52] Scott Watson
Description:
FROM THE DOC

You can use the --compress option for full backups, or for incremental backups in combination with the --incremental option

[mysql@mysql002] cat mysql_incr_backup.cnf 
[mysqlbackup]
user=root
incremental-backup-dir=/data/backup/incremental
port=3306
protocol=tcp
with-timestamp

[mysql@mysql002] cat incr_backup_201201260717.log 

MySQL Enterprise Backup version 3.6.0 [2011/07/20]
Copyright (c) 2003, 2011, Oracle and/or its affiliates. All Rights Reserved.

INFO: Starting with following command line ...
 /opt/mysql/meb-3.6/bin/mysqlbackup
        --defaults-extra-file=/home/mysql/dbscripts/etc/mysql_incr_backup.cnf
        --incremental --start-lsn=1094893769543 backup

Error: Incompatible option found. Current Operation: backup
    Specified option: Incremental backup does not support --compress option

Use --help option for usage description.

So according to the doc a compressed backup is supported but when I run it it fails.

How to repeat:
Try and create a compressed incremental backup.
[28 Jan 2012 13:47] Sveta Smirnova
Thank you for the report.

> FROM THE DOC
>
> You can use the --compress option for full backups, or for incremental backups in 
> combination with the --incremental option

Could you please send the exact link saying this?
[30 Jan 2012 20:17] Scott Watson
I am looking at the doc that is provided in the downloaded bundle when you download MEB.  I don't know where to find online doc for MEB.
[30 Jan 2012 20:58] Sveta Smirnova
Thank you for the feedback.

Which package do you use? I just downloaded 3.7 from eDelivery and found no such text in manual.html

Anyway, this is surely documentation bug and I believe it should be fixed in 3.7. But in case if I am wrong, please, download 3.7 from same place where you got 3.6 and if this mistake still exists provide us package name and URL where you downloaded it.
[30 Jan 2012 21:26] Scott Watson
I see the update in version 3.7 it is in section 3.3.3 now it says

You can only use the --compress option for full backups, not for incremental backups.
[31 Jan 2012 17:11] Sveta Smirnova
Thank you for the feedback.

Closed as "Can't repeat" since it is fixed.