Bug #57526 mysqlbackup (innobackupC) : --exec-when-locked, wrong help text for Windows
Submitted: 18 Oct 2010 14:34 Modified: 2 Dec 2010 0:16
Reporter: Ritheesh Vedire Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Enterprise Backup Severity:S3 (Non-critical)
Version: OS:Any
Assigned to: Ritheesh Vedire CPU Architecture:Any

[18 Oct 2010 14:34] Ritheesh Vedire
Description:
The help text reads:

BACKUP_DIR will be set in the environment of the utility
to the directory that contains the backup (a subdirectory
of the specified BACKUP-ROOT-DIR). For example:
--exec-when-locked='mysqldump mydb t1 > $BACKUP_DIR/t1.sql'
Note the single quotes that prevent your shell from
interpreting $BACKUP_DIR before starting mysqlbackup.

This is only true for unix type machines.

In Windows machines, it should read  --exec-when-locked="mysqldump %BACKUP_DIR%"
using DOUBLE quotes only.

How to repeat:
mysqlbackup --help.

Suggested fix:
change the help text.
[18 Oct 2010 14:37] Ritheesh Vedire
Assigning satya as the only reviewer.
[19 Oct 2010 12:01] Ritheesh Vedire
Pushed to meb-3.5-next
revision id: revision-id: ritheesh.vedire@sun.com-20101019114513-r1ml37hudg09rrn6