When you use a Windows backup utility to archive your SnapManager backups, you mount the LUNs backed by the backup snapshot you want to archive, and then use NTBackup or another Exchange-aware Windows backup utility to copy the archive data to your archive medium. In this case, the NTFS data is backed up, rather than the raw LUNs.
This archive method is represented by the following diagram:
Note
The LUN does not need to be mounted on the Exchange server; another computer can be used for this function.
The archive must include the following two components:
Using a Windows backup utility to archive SnapManager backups provides the following advantages and disadvantages:
The following script mounts a snapshot of the LUNs that contain the Exchange databases and backs them up using NTBackup. It then dismounts the LUNs and backs up the SnapInfo directory. The /N and /D options are used to demonstrate the options to name the tape and add a description.
This script uses the following assumptions, which you might need to alter for your environment:
The drive letter used for the LUN mount must be available when the script is run.
REM Mount a LUN backed by the snapshot of the Exchange database
REM as drive letter V:\.
sdcli snap mount -k s -s %1 -d v
REM Use NTBackup to back up the database files. The
REM path to the databases in your environment might be
REM different.
ntbackup backup "V:\Program Files\Exchsrvr\mdbdata" /N %1 /D %2
REM Dismount the snapshot mounted as drive letter V:\.
REM The below example is shown with an optional
REM parameter (-f) to forcefully disconnect the drive
REM letter.
sdcli snap unmount -d v -f
REM Use NTBackup to back up the snapinfo directory.
REM This backup appends the media so as not to
REM overwrite the database backup. The path to the
REM snapinfo directory is passed as the third
REM parameter on the command line used to launch
REM this script.
ntbackup backup %3 /T%1 /A
This script can be invoked using the SnapManager Run Command After Operation feature with the following command:
C:\SnapManager Scripts\scriptname.txt $ExchSnapshot $SnapInfoName $SnapInfoPath
These command-line parameters provide values to the script similar to these examples:
For more information about the Run Command After Operation feature, see Using Run Command After Operation to archive automatically.
Copyright © 1994-2004, Network Appliance, Inc. All rights
reserved.
Part No. 215-00858
File: archive5.htm
Last updated: Tue Jun 15 15:34:14 2004