Recovering specific Domino databases

You might need to restore a specific Domino® database or a group of databases, using the Restore Object (RST) command.

Here is an example of the steps for restoring all the files to the HRDPT subdirectory:

  1. Start a IBM® i session with a user profile that has *JOBCTL and *SAVSYS special authorities.
  2. Stop the Domino server that contains the databases that you want to restore. Use the End Domino Server (ENDDOMSVR) command. (You can restore a database when the system is running. However, you need to make sure that no one is using the database. Stopping the server is the best way to ensure that no one is using the database.)
  3. Mount the media volume that has the most recent backup of the databases.
  4. Type the appropriate RST command for the mail files that you want to restore.
    For example, to restore all the files to the MAIL subdirectory, type the following command:
    
    RST DEV('/QSYS.LIB/media-device-name.DEVD')
        OBJ('/NOTES/DATA/HRDPT/*.NSF')  

Examples:

  • To restore a specific database that is named HRINFO to the HRDPT subdirectory (folder), type the following command:
    
    RST DEV('/QSYS.LIB/media-device-name.DEVD')
        OBJ('/NOTES/DATA/HRDPT/HRINFO.NSF') 
  • To restore all the Domino databases to the CUSTSVC subdirectory, type the following command:
    
    RST DEV('/QSYS.LIB/media-device-name.DEVD')
        OBJ('/NOTES/DATA/CUSTSVC/*.NSF') 
  • To restore all the Domino databases with names that begin with INV to the main directory for your system, type the following command:
    
    RST DEV('/QSYS.LIB/media-device-name.DEVD')
        OBJ('/NOTES/DATA/INV*.NSF')
    
Notes about the examples:
  • All of the examples assume that the directory for your Domino server is /NOTES/DATA.
  • You cannot restore over a database that is in use. All users must close the database before you can restore a backup copy.
  • Consult your Domino documentation for any special recovery activities that you might need to perform after you have restored a Domino database.