Question & Answer
Question
Restoring a single module from the backup of an IBM Rational DOORS database.
Cause
If you have a single module corruption and would like to restore particular module from backup.
Answer
If you have full backup of the database and would like to restore particular module from the backup to current database. You will have to find the uniqueID of the module in the current database and then search into the backup database.
Procedure on how to get .mod directory:
1. From the database explorer window, highlight the troubled module and go to Tools>Edit DXL
2. Run the following DXL.
print uniqueID getSelectedItem
3. This will return output with Unique IDs.
4. Select the ID for the troubled module (For example: 00000080 My Module)
5. Search for mxxxxxxxx.mod folder in the current DOORS database. (where xxxxxxxx is 00000080)
Note: Stop the DOORS DB during the .mod file replacement process since, this may lead to data corruption in the restored module.
- Then do the same search in the backup database. You should have the same Unique ID (For example: m00000080.mod) in the backup database
- Rename the troubled module '.mod' to '.mod.old' (in the current database. For example: m00000080.mod.old)
- Copy the .mod from backup to the same location as corrupted module (For example: the same location where you'd renamed the troubled module to '.mod.old')
When replacing .mod directory of the same module does preserve the link information on the module.
Was this topic helpful?
Document Information
Modified date:
01 May 2020
UID
swg21399441