Bug #59998 Extract command does not extract files if src-entry option is specified to dir
Submitted: 7 Feb 2011 20:53 Modified: 7 Feb 2011 22:56
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 20:53] Hema Sridharan
Description:
Create backup image using backup-to-image command of mysqlbackup.
Now to check the contents of specific database is backed up or not, we will use 
extract command with src-entry option pointing to directory.  
But when src-entry option is pointed to directory, the files are not extracted in that dir.

How to repeat:
Create backup image using backup-to-image option of mysqlbackup
Once image is created, do the following to extract the files of dbb database

./mysqlbackup --defaults-group-suffix=.1 --backup-image=/export/home2/tmp/bkpabs.mbi  --src-entry=dbb extract

None of the files for dbb database will  be extracted in the current working 
directory. But note that if we give any specific file name for extraction in src-entry option (like src-entry=mysql/user.MYD), then it will work fine.

Suggested fix:
Extraction of files should be possible when src-entry option is specified to directory also.
[7 Feb 2011 22:56] Thava Alagu
The problem now has been fixed, hence closing the bug.