23.5 Backing Up a VOB on NAS

Any of the VOB backup procedures described in Chapter 10, Backing Up and Restoring VOBs are applicable to a VOB that has its database on a NAS device. In addition, many NAS devices provide platform-specific features that allow you to back up the contents of a NAS volume to another NAS volume or similar local device. See the information about certified NAS devices in the Release Notes for Rational ClearCase and ClearCase MultiSite for information about NAS device backup tools.

With any VOB backup method, it is imperative that you do the following:

Restoring a VOB from Backup

You cannot restore a VOB from backup using vob_restore if the VOB database is stored on a NAS device. Use the procedure described in Restoring a VOB from Backup to restore a VOB to a NAS device. When you register the restored VOB and create a tag for it, you must supply the -host, -hpath, and -gpath options to the cleartool register and mktag commands. For example, if the VOB had been restored to the /vobst_aux directory on a NAS device, you would use the following register and mktag commands:

cleartool register -vob -host ccvobsvr1 -hpath /net/nasdevice/vobst_aux/flex.vbs \
-gpath /net/nasdevice/vobst_aux/flex.vbs /net/nasdevice/vobst_aux/flex.vbs
cleartool mktag -vob -replace -host ccvobsvr1 -tag /vobs/flex \
-hpath /net/nasdevice/vobst_aux/flex.vbs -gpath /net/nasdevice/vobst_aux/flex.vbs \
/net/nasdevice/vobst_aux/flex.vbs