Bug #56352 ndb_restore
Submitted: 29 Aug 2010 23:09 Modified: 10 Oct 2010 15:54
Reporter: Reynaldo Francisco Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Server: Backup Severity:S2 (Serious)
Version:mysql-5.1.41 ndb-7.0.13 OS:Any
Assigned to: CPU Architecture:Any
Tags: ndb_restore Failed

[29 Aug 2010 23:09] Reynaldo Francisco
Description:
everytime I try to restore my backup I get this error: 

[root@mgmt1 BACKUP-32]# /usr/bin/ndb_restore -n 3 -m -b 32 --backup_path=/home/sysAdmin/BACKUP-32/
Nodeid = 3
Backup Id = 32
backup path = /home/sysAdmin/BACKUP-32/
Opening file '/home/sysAdmin/BACKUP-32/BACKUP-32.3.ctl'
Backup version in files: ndb-6.3.11 ndb version: mysql-5.1.41 ndb-7.0.13
Stop GCP of Backup: 0
Connected to ndb!!
Successfully restored table `db_forums/def/t_kms_user`
Successfully restored table event REPL$db_forums/t_user
Create table `db_forums/def/t_user` failed: 721: Schema object with given name already exists
Restore: Failed to restore table: `db_forums/def/t_user` ... Exiting

NDBT_ProgramExit: 1 - Failed

I can't restore my backup... it seems my tables is define twice in metadata

I copy BACKUP from Data node to Management server so I can fully execute ndb_restore I have 2 api, 2 mgmt, 2 data node... I've start all data node with --initial options. I'm getting same error.

How to repeat:
[root@mgmt1 BACKUP-32]# /usr/bin/ndb_restore -n 3 -m -b 32 --backup_path=/home/sysAdmin/BACKUP-32/
[10 Sep 2010 15:54] Sveta Smirnova
Thank you for the report.

Please send us backup command do you use when doing backup and inform us about what kind of objects your database have: how many tables etc.
[10 Oct 2010 23:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".