How to Rename the Configuration Files Directory

The information in this section only applies to

Backup servers.

Unlike the /nsr/indexdirectory, the /nsr/resdirectory that contains the configuration files cannot be reliably overwritten while Backup is running. Therefore, mmrecov recovers the /nsr/resdirectory as /nsr/res.R. To complete the recovery of the configuration files, shut down Backup , rename the recovered /nsr/res.Rdirectory to /nsr/res, and then restart Backup.
When the
mmrecovprogram is complete, it displays this message:

IMAGE imgs/disrec.book11.gif
The index for `server_name' is now fully recovered.
IMAGE imgs/disrec.book11.gif
To complete the recovery of the Backup configuration files, follow these steps: 1.Shut down the Backup server using the nsr_shutdowncommand:

IMAGE imgs/disrec.book11.gif
#nsr_shutdown
IMAGE imgs/disrec.book11.gif
2.Save the original /resdirectory as /res.orig, and rename the recovered file
(
res.R) to res.

IMAGE imgs/disrec.book11.gif
# mv res res.orig
# mv res.R res
IMAGE imgs/disrec.book11.gif
3.Restart Backup.
When it restarts, the server uses the recovered configuration data in the recovered
/resdirectory.

# nsrd
# nsrexecd

4.After you verify the Backup configurations are correct, you can remove the
res.origdirectory.

# rm -r /nsr/res.orig

Chapter 2

Disaster Recovery

29