How to restore a deleted room?

Attention: Although I did not find an issue by doing this, it is not an officaly supported way. So use this at your own risk.

If a user deleted a room within a place you can restore this room from your backup by performing the following steps:

  • Create a new room in the production place with the same name as the deleted room.
  • Note the name of the NSF file for the new room (something like “PageLibraryxxxxx..nsf”). You can see the name if you hoover with the mouse over the link to the newly created room.
  • Restore the whole place from your backup to a local directory (not within the Domino data directory of the server).
  • Open the MAIN.NSF of the restored place with your Notes client.
  • Switch to the System\Subrooms view. For every sub room of the place you will find a document in this view. Find the correct document (by looking at the titel) and notice the field “h_LocDbName”. This is the name of the NSF file which contains the deleted room (something like “PageLibraryxxxxxx.NSF”).
  • Copy this “PageLibraryxxxxxx.NSF” from your restored place into the directory of the production place. Use the name of the new sub room you noted before as the target name and overwrite it. The NSF might be in use and you need to issue some “dbcache flush” and “drop all” commands before you are able to overwrite it.
  • On the server console unregister the place with the command “load qptool unregister -placecatalog -p <placename>” and register it again with “load qptool register -placecatalog -p <placename>” to make sure the room is correctly registered in the placecatalog.
  • Now you are done and the room should be accessible again.

The solution below seems not to work 100%. E.g. if you archive a place with a restored room the room will NOT be archived. It seems that there is some information missing but I did not find out where. So please do NOT use this solution!

  • Restore the whole place from your backup to a local directory (not within the Domino data directory of the server).
  • Open the MAIN.NSF of the restored place with your Notes client.
  • Switch to the QDK view and sort this view by “h_type”. For every sub room of the place you will find a document with “h_type=3”.
  • Open the correct room document and check the field “h_LocDbName”. There you find the name of the NSF file which contains the sub room (something like “PAGELIBxxxxxx.NSF”).
  • Copy this NSF from your restored place into the place directory of your productive place on the server. If the file still exists (double check to make sure you are copying the correct file!!) you can overwrite it. If the server has the file still in use, issue some “dbcache flush” commands on the server console.
  • Now, with the Notes client, copy and paste the room document from the restored MAIN.NSF to the productive MAIN.NSF of you place.
  • On the server console unregister the place with the command “load qptool unregister -placecatalog -p <placename>” and register it again with “load qptool register -placecatalog -p <placename>” to make sure the room is correctly registered in the placecatalog.
  • Now you are done and the room should be accessible again.