Moving a client index on a NetWorker server (Windows)

The only supported method for moving a client index to another location is uasm. A word of warning to those who are not familiar with uasm...uasm is difficult to use! The uasm command is log and cryptic. It is very easy to make a mistake when working with the uasm command.

Warning: Legato issued a white paper stating that client index files on NetWorker version 6.x servers could be moved using standard "move" commands rather than using uasm. However, I find that each attempted corrupted our NetWorker 6.01 indexes. The uasm technique described below works for NetWorker version 5.x and 6.x

The best way to show you haw to move an index is with an example. IN the example, we will move the following index from C:\Program Files\Legato\nsr\index\alpha99 to D:\index\alpha99

  1. Run an nsrck -F client_name command on the client index you are preparing to move. This will ensure that the client index is clean
  2. Create a new "top level" directory to hold the indexes. This is the location where you wih you move the index to. In this example, we entered the following commands from a command prompt on the NetWorker server:
  3. C:\> D:
    D:\> cd \
    D:\> md index
  4. Make sure thet NetWorker server is idle, then shutdown the NetWorker processes. To stop NetWorker services on a Windows 2000 NetWorker server:
    • click on Start > Programs > Administratiive Tools > Services
    • Right-click on the "NetWorker Backup and Recover Server" entry
    • click on Stop.
  5. From the NetWorker server, start a command prompt
  6. Change directories to the install directory where the NetWorker binaries are located, for example:
    cd \Program Files\Legato\nsr\bin
  7. Enter the following command:
    uasm -si "c:\program files\legato\nsr\index\alpha99" |\
    uasm -rm "c\\program files\legato\nsr\index\alpha99=d:\index\alpha99"
    Note: If he above command works properly, you will see absooltely no output from the command. If you receive any type of error, or prompts to overwrite files, hit CTRL+C to kill the command, then recheck you command syntax.
  8. Using Windows explorer, browse to the new index directory and make sure the files were actually copied.
  9. Using Windows explorer, rename the "old" directory. In our example, we renamed the old index directory alpha99 to alpha99.old
  10. Restart the NetWorker service
  11. From the NetWorker Administration program, edit the client configuration for the client whose index was moved. CHange the "Index Path" entry to point to the new index location.
  12. Run an nsrck -F client_name command on the client index you just moved to make sure all is well. The nsrck command should reflect the new location.
  13. After you run the next backup of the affected client, you can delete the old (renamed) client index directory.