Bug #59993 backup-dir-to-image command fails for mysqlbackup
Submitted: 7 Feb 2011 18:43 Modified: 7 Feb 2011 22:55
Reporter: Hema Sridharan Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Enterprise Backup Severity:S3 (Non-critical)
Version:MEB 3.6 OS:Linux
Assigned to: CPU Architecture:Any

[7 Feb 2011 18:43] Hema Sridharan
Description:
I wanted to convert the backup directory to an image. I use the option backup-dir-to-image to convert the exisiting backup directory.

This fails by giving error
mysqlbackup: Error writing file 'UNKNOWN' (Errcode: 9)
 mysqlbackup: ERROR: Problem encountered while adding dir entry to backup image.
  Component dir name : .
 mysqlbackup: ERROR: Problem found trying to add this directory to backup image:
         source directory: /export/home2/tmp/mysql-5.1-meb-testing/mysql-test/var/tmp/meb_dir

Note: Use the latest MEB 3.6 version from bzrroot/meb/sbin-repo/single-bin

How to repeat:
Execute the command,
--exec $MYSQLBACKUP --backup-image=$MYSQLTEST_VARDIR/tmp/backupimg.mbi --backup-dir=$BACKUP_DIR backup-dir-to-image > $BACKUP_LOG 2>&1

The above command fails by giving an error that is mentioned above.
[7 Feb 2011 22:55] Thava Alagu
The problem was now fixed and pushded to the single-bin workspace:
    /bzrroot/meb/sbin-repo/single-bin