When you use NDMP or dump to archive your SnapManager backups, you use NDMP or the filer'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 filer 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 and disadvantages:
Note
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.
You use the following absolute path name when using the NDMP or dump archive method:
/vol/volume_name/.snapshot/snapshot_name/LUN_name
For more information about SnapManager snapshot naming conventions, see SnapManager snapshot naming conventions.
The following script uses the filer's 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.
This script uses the following assumptions, which you might need to alter for your environment:
REM Back up the LUN containing the Exchange
REM database. For this example, a level 0 backup is
REM performed 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
This script can be invoked using the SnapManager Run Command After Operation feature with the following command:
C:\SnapManager Scripts\scriptname.txt $ExchSnapshot $InfoSnapshot
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.
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 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-2004, Network Appliance, Inc. All rights
reserved.
Part No. 215-00858
File: archive4.htm
Last updated: Tue Jun 15 15:34:14 2004