How to Restore the Remote Storage Database

ID: Q235469


The information in this article applies to:
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Datacenter Server
  • Microsoft Windows 2000 Server


SUMMARY

This article describes how to restore the Remote Storage Service (RSS) database. This may be useful if:

  • It is necessary to completely re-install Windows 2000. After you do so, you must restore the RSS database files before you can recall files from off-line storage.


  • The RSS database is damaged.


When you try to obtain access to a file in off-line storage when the RSS service is not installed or able to start, you may receive the following error message:
path and file name The file can not be accessed by the system.


MORE INFORMATION

To restore the RSS database, use the appropriate method:

Restore the RSS Database after Completely Re-installing Windows 2000

This procedure assumes that you completely reinstalled Windows 2000, but volumes that contain RSS managed data are still intact.
  1. Reinstall Windows 2000 to the same drive and folder as the previous failed installation. During Setup, do not add the Remote Storage Service component. If this component was added accidentally or automatically, please remove it and restart your computer.

    Note that this is usually C:\Winnt, but if you installed Windows 2000 to a different folder, please see the following article in the Microsoft Knowledge Base:


  2. Q235478 Recover from Failed System Drive with Non-Default %SystemRoot% Folder
  3. Restore the RSS and RSM (Removable Storage Management) databases. Each time RSS migrates data to tape, these databases are automatically backed up to the media containing the migrated data. It is recommended that the databases on this media be used since they will contain the most recent copy of the RSS database. Use the following procedure to restore the databases:

    NOTE: For this procedure to work, Windows 2000 must have been re-installed into the same folder and drive that was previously used. If Windows 2000 is installed to a different folder, the restore operation is not able to return the databases to their original location.
    1. Verify that your tape or storage device is on line and functioning. Start the Computer Management snap-in by right-clicking My Computer, clicking Manage, double-click the Storage branch to expand it, and then click Removable Storage.


    2. Open the Media pools and look in the Import pool. Locate the most recent tape used to store the RSS migrated files. The default name for RSS media is "RS" appended with the machine name and an incremental number (for example, "RS-MachineX-1"). The media with the highest number contains the most recent backup of the databases. If the RSS media spans two or more tapes, catalog these tapes using Backup (temporarily move these tapes to the NTBackup Media pool) and check the dates of the Remote Storage databases and use the one with the latest date.


    3. Move this media to the NTbackup Media pool. If the pool does not exist, start Windows 2000 backup (NTbackup.exe) and it is created automatically.


    4. Use Windows 2000 backup (NTbackup.exe) to catalog the tape to find the latest copy of the RSM and RSS databases. These databases are stored on tape in the %windir%\system32\Ntmsdata and %windir%\system32\RemoteStorage folders. Check the dates of the files to determine the most up-to-date copies.


    5. Select the most current (NtmsData and RemoteStorage) folders to be restored, make sure that all files below these sub-folders are also selected.


    6. In the Restore files to box, click alternate location, and then click the drive that contains the Windows folder.

      NOTE: This step is very important, and if not performed, the databases are restored to the "RSS Managed Volume" instead of the operating system partition.


    7. Click Start Restore, and then click Advanced. Click Restore Removable Storage Database, click OK, and then click OK.


    8. After this process finishes, restart your computer.




  4. Start the Removable Storage Manager Snap-in and verify that the databases have been restored. You can do so by looking to see if all of your media pools are present and all the media are in their appropriate pools.


  5. Use the Add/Remove Programs tool to add the Remote Storage Server component.


  6. After your computer restarts, log on, and then using the Computer Management Snap-in, expand the Services And Applications branch, and then click Services. Verify that the following services are stopped:

    • Remote Storage Engine


    • Remote Storage File


    • Remote Storage Media




  7. At a command prompt, change to the %systemroot%\system32\RemoteStorage\engdb folder, and then verify that this folder is empty by moving the files to another folder.


  8. Use the Rstore.exe tool (a utility that is installed when the Remote Storage service is installed) to run the following command from the engdb folder:
    Rstore %systemroot%\system32\RemoteStorage\engdb.bak


  9. Using the Computer Management Snap-in, expand the Services And Applications branch, and then click Services. Locate and start the following services:

    • Remote Storage Engine


    • Remote Storage File


    • Remote Storage Media




  10. Open the Remote Storage snap-in and verify that your managed volumes appear and all settings are correct. You may also want to test by recalling a few of the migrated files before putting the server back into production.


Restore a Damaged RSS Database

To restore a damaged RSS database: NOTE: This procedure assumes the Removable Storage Manager (RSM) database is intact and you are only interested in restoring the RSS database. For detailed information about restoring the RSM database, please see the following article in the Microsoft Knowledge Base:
Q235032 Problems with a Damaged Removable Storage Manager Database
  1. Using the Computer Management Snap-in, expand the Services And Applications branch, and then click Services. Verify that the following services are stopped:

    • Remote Storage Engine


    • Remote Storage File


    • Remote Storage Media




  2. Using Removable Storage Manager, open the Media pools and look in the Import pool. Locate the most recent tape used to store the RSS migrated files. The default name for RSS media is "RS" appended with the machine name and an incremental number. For example, RS-MachineX-1. The media with the highest number contains the most recent backup of the databases.


  3. Move this media to the NTbackup media pool. If the pool does not exist, start Windows 2000 Backup (NTbackup.exe).


  4. Using Windows 2000 Backup, catalog the tape to find the latest copy of the RSS database. This database is kept on tape in the %windir%\system32\RemoteStorage folder. Check the dates of the files to find the most up-to-date copies.

    If the RSS media spans two or more tapes, catalog these tapes using Backup (temporarly move these tapes to the NTBackup Media pool) and check the dates of the Remote storage databases and use the one with the latest date.


  5. Select the most current RemoteStorage folder to be restored, and make sure that all files under this sub-folder are also selected.


  6. In the Restore files to box, click alternate location, and then click the drive that contains the Windows folder.

    NOTE: This step is very important, and if not performed, the databases are restored to the "RSS Managed Volume" instead of the operating system partition.


  7. After the restoration finishes, change to the following folder from a command prompt:
    %systemroot%\system32\RemoteStorage\engdb
    Make sure this folder is empty by moving any existing files to another folder.


  8. Use the Rstore.exe tool (a utility that is installed when the Remote Storage service is installed) to run the following command from the engdb folder:
    Rstore %systemroot%\system32\RemoteStorage\engdb.bak


  9. After this command finishes, place the Remote Storage media used during the NTbackup restoration of the databases back in the RemoteStorage media pool.


  10. Using the Computer Management Snap-in, expand the Services And Applications branch, and then click Services. Locate and start the following services:

    • Remote Storage Engine


    • Remote Storage File


    • Remote Storage Media




  11. Open the Remote Storage snap-in and verify that your managed volumes appear and all settings are correct. You may also want to test by recalling a few of the migrated files before putting the server back into production.


Additional query words:

Keywords : kbtool kbui
Version : WINDOWS:2000
Platform : WINDOWS
Issue type : kbhowto


Last Reviewed: December 30, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.