Bug #20645 | Backup files created with mysqldump cannot be restored | ||
---|---|---|---|
Submitted: | 23 Jun 2006 2:14 | Modified: | 27 Jul 2006 16:49 |
Reporter: | Sean Molloy | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Administrator | Severity: | S2 (Serious) |
Version: | 1.1.19 | OS: | Windows (WinXP SP2) |
Assigned to: | Mike Lischke | CPU Architecture: | Any |
Tags: | Backup |
[23 Jun 2006 2:14]
Sean Molloy
[23 Jun 2006 7:43]
Sveta Smirnova
Thank you for the report. --- I created dump using server built from last 5.0.23 sources on Linux machine. After I tried to restore it on Windows using server built from last 5.0.23 sources too. Behaviour was as described by reporter, unless I only remove first comment from the dump ("-- MySQL dump 10.10"). After it tables has successfull restored.
[27 Jul 2006 14:00]
Mike Lischke
Thank you for taking the time to write to us, but this is not a bug. Read here http://dev.mysql.com/doc/administrator/en/mysql-administrator-restore-introduction.html about the fact that MA cannot restore mysqldump backups.
[27 Jul 2006 16:49]
Sean Molloy
If this item is not a "bug", then when will the "feature" of restoring files created by mysqldump be added to the MySQL Administrator program? Or has it even been requested yet?
[28 Jul 2006 7:00]
Mike Lischke
I understand your wish that you want MA to be able to restore from dumps created by the command line client, however the internal handling of such dumps is quite different in MA and the CLI client. The primary purpose to offer a backup and restore feature which already is available in another tool was to add some extra values, mainly the ability to select what is to be written out and what should be restored (schema, tables etc.). This requires to parse the dump file in MA. However supporting the full syntax of MySQL in all its glory is a major task and MA only supports a (large) subset. This limits the input that can be handled by it and hence the format of the dumped data. This is the reason why we cannot accept other dump files than those created by MA. Unfortunately, changing the code to accept any (allowed) input would require too much time we don't have now. However, we have planned to include a full parser in new versions of our tools.