You can use NDMP or the storage system's dump command to archive the LUNs containing the Exchange data and the SnapInfo directory directly from the storage system to the archive medium. NDMP and the dump command are the most efficient methods for creating archives of the LUN drive files. See the following topics for more information:
When you use NDMP or dump to archive your SnapManager backups, you use NDMP or the storage system's dump command to archive each LUN that contains data for that backup set. Using NDMP or the dump command enables you to archive your SnapManager backup sets without involving Exchange or the Exchange server at all. Snapshots are taken of the LUNs, then copied to the archive medium and deleted.
This archive method is represented by the following diagram:
For more information about backing up storage system data to tape, see the System Administration Data Protection Guide for your version of Data ONTAP.
Using NDMP or dump to archive SnapManager backups provides the following advantages:
The advantages of using NDMP or dump to archive SnapManager backups must be weighted against the following disadvantages:
If archiving extra data is undesirable, you can use NTBackup or another Windows backup utility to back up the corresponding SnapInfo directory. This must be coordinated so that the two pieces of the archive are kept together for later retrieval.
When using NDMP or dump to archive your SnapManager backups, specify the database LUN using its absolute path name
/vol/volume_name/.snapshot/snapshot_name/LUN_name
where the three variables represent the following text strings:
|
Name of the Snapshot copy containing the LUNs to be archived For more information about SnapManager Snapshot copy naming conventions, see SnapManager Snapshot copy naming conventions. |
||
For example, the absolute path name of the LUN exch1db.lun in the Snapshot copy exchsnap__SRVR3_01-20-2006_12.05.58_Daily on the volume ExchVoln is:
/vol/ExchVol/.snapshot/exchsnap__SRVR3_01-20-2006_12.05.58__Daily/exch1db.lun
Suppose you want to use a script to archive your SnapManager backups to tape in the following environment:
The following script uses the storage system dump command to dump the database, transaction logs, and SnapInfo LUNs to tape. This script relies on rsh functioning on the Exchange server using the SnapManager user account.
REM Back up the LUN containing the Exchange database.
REM For this example, a level 0 backup is performed
REM to the tape device named nrst0a.
rsh Filer1 dump 0f nrst0a /vol/ExchVol/.snapshot/%1/exch1db.lun
REM Before appending the next backup to the tape,
REM reposition to the end of the tape so the next
REM write will not overwrite the existing data.
rsh Filer1 mt -f nrst0a eom
REM Back up the LUN containing the Exchange
REM transaction log files and the SnapManager SnapInfo
REM directory.
rsh Filer1 dump 0f nrst0a /vol/ExchVol/.snapshot/%2/exch1logs.lun
To invoke this script using the SnapManager Run Command After Operation feature, use the following command:
C:\SnapManager Scripts\scriptname.txt $ExchSnapshot $InfoSnapshot
The command-line parameters %1 and %2 might provide values similar to the following, respectively:
For more information about the Run Command After Operation feature, see Using Run Command After Operation to archive automatically.
If you prefer not to use the Run Command After Operation feature and you are not using the unique name option for your backups, you can hardcode the Snapshot copy names into the script.
For example, the dump command for the database might look like this, for an Exchange server named SRVR3:
rsh Filer1 dump 0f nrst0a /vol/Exch/.snapshot/exchsnap__SRVR3__recent__Daily/exch1logs.lun
Copyright © 1994-2006, Network Appliance, Inc. All rights
reserved.
Part No. 215-01873_A0
File: archive4.htm
Last updated: 28-Mar-2006 11:31:09