IBM Support

How to restore a single module from the IBM Rational DOORS database backup

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.

      1. Then do the same search in the backup database. You should have the same Unique ID (For example: m00000080.mod) in the backup database
      2. Rename the troubled module '.mod' to '.mod.old' (in the current database. For example: m00000080.mod.old)
      3. 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')

Then launch DOORS again and open the module.

When replacing .mod directory of the same module does preserve the link information on the module.

[{"Product":{"code":"SSKR2T","label":"IBM Engineering Requirements Management DOORS"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"General Information","Platform":[{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"8.2;8.3;9.0;9.1;9.1.0.2;9.2;9.2.0.1;9.2.0.2;9.2.0.3;9.2.0.4;9.2.0.5;9.3;9.3.0.1;9.3.0.2;9.3.0.3;9.3.0.4;9.3.0.5;9.3.0.6;9.3.0.7;9.4;9.4.0.1;9.5;9.5.0.1","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
01 May 2020

UID

swg21399441