
April 8th, 2011, 02:27 PM
|
|
Contributing User
|
|
Join Date: Sep 2006
Location: Plovdiv. Bulgaria
Posts: 200
  
Time spent in forums: 2 Days 6 h 50 m 14 sec
Reputation Power: 11
|
|
|
When does the backup/restore with IBExpert fails? When you do the backup, or when you do the restore?
And can you use Verbose option when you do the restore - to see exactly when it fails? Is it when restore activate some index?
If it's a foreign key's index then you have a record that point to master record that don't exists in the master table.
In these cases there are two options - try to insert the missing record, or delete the records in the child table that points to the missing master records. After that do backup restore.
I use this kind of query to find the missing records
SELECT CHILD.*,MASTER.* FROM CHILD LEFT JOIN MASTER ON CHILD.FK = MASTER.PK
And the rows where I have data for the child table but not for the master are the problem ones.
Try this first and if this doesn't help we'll think something else.
Last edited by mIRCata : April 8th, 2011 at 02:36 PM.
|