snapbackup -- Command for accessing SnapManager backup functionality.
This command enables you to initiate a backup or verification job, with all of the options available through the SnapManager GUI.
snapbackup target_exchange_server_name
-b number_of_storage_groups storage_group_1 [, storage_group_2...]
[-u]
[-daily | -weekly]
[-m]
[-k]
[-t]
[-p throttling_value]
[{-c verification_server number_of_backup_sets | -nc}
[-mp [-mpdir mount_point_directory_path]]]
[-d number_of_backup_sets_or_days [-rd]]
[-r run_cmd_path \ "run_cmd_args \ " [-a run_cmd_server]]
snapbackup exchange_server_name_in_backup_set
-s number_of_storage_groups_in_backup_set storage_group_1
[, storage_group_2...]
-c verification_server number_of_backup_sets_to_verify
[-mp [-mpdir mount_point_directory_path]]
[-daily | -weekly | -all]
[-m] [-a run_cmd_server -r run_cmd_path run_cmd_args]
[-p throttling_value]
[-r run_cmd_path \ "run_cmd_args \ " [-a run_cmd_server]]
The options shown in the synopsis for this command are described in the following table:
The -c and -nc options are mutually exclusive
The -daily, -weekly, and -all options are mutually exclusive.
Either the -s or the -b option are required, but they are mutually exclusive.
The running of verification after a backup operation is the default. The -nc option will suppress the behavior. The -c option will override the verification server specified in the SnapManager GUI.
The default option is Standard, where backups are marked with standard backup management group specification.
Backup retention defaults to the "In excess of" policy, where backups are deleted base on backup count. The -rd option will override this option and set the policy to one based on date.
The naming of backups defaults to the Unique naming policy where the most recent backup is named using the text string _recent.
The following examples show a few of the ways the snapbackup command can be invoked. It is assumed that these operations are invoked from the SnapManager directory
snapbackup EXCHSRVR3 -b 2 "First Storage Group", "Second Storage Group" -nc
This command creates a new backup of two storage groups on EXCHSRVR3 in the Standard backup management group (the default), using the unique naming convention (the backup will be named using the date-time stamp). No verification or command after operation is performed, and no older backups are deleted.
snapbackup EXCHSRVR3 -b 2 "First Storage Group", "Second Storage Group" -c SRVR7 -d 3 -daily -m
This command creates a new backup in the Daily backup management group. The backup is verified on SRVR7, and all older Daily backups are deleted except for the three most recent ones. No SnapMirror mirror replication is initiated after the backup, even if the volume is a SnapMirror source volume.
snapbackup EXCHSRVR3 -b 1 "First Storage Group" -nc -d 4 -weekly -u -k -a SRVR3 -r "C:\SnapManager Scripts\scriptname.txt" "$ExchSnapshot $SnapInfoPath"
This command creates a new Weekly backup of only the First Storage Group, using the unique naming convention, while deleting all older Weekly backups except for the 4 most recent ones. The up-to-the-minute restore ability is retained for any older backups that remain after the deletions. After the backup is complete, it is archived using the run command after operation capability.
snapbackup EXCHSRVR3 -c SRVR6 3 -s 2 "First Storage Group", "Second Storage Group" -all
This command verifies the last 3 backups, in any backup management group, that contains both First Storage Group and Second Storage Group. The server SRVR6 is used to perform the verification.
"C:\Program Files\NetApp\SnapManager for Exchange\SnapBackup.exe" "PRODSERVER" -b 4 "SG2" "First Storage Group" "SG3" "SG4" -c "VERSERVER" -u -m -mpdir "C:\Program Files\NetApp\SnapManager for Exchange\SnapMgrMountPoint" -mp
"C:\Program Files\NetApp\SnapManager for Exchange\SnapBackup.exe" "PRODSERVER" -b 4 "SG2" "First Storage Group" "SG3" "SG4" -c "PRODSERVER" -m -mpdir "C:\Program Files\NetApp\SnapManager for Exchange\SnapMgrMountPoint"
"C:\Program Files\NetApp\SnapManager for Exchange\SnapBackup.exe" "PRODSERVER" -b 4 "SG2" "First Storage Group" "SG3" "SG4" -nc -u - m -Daily
"C:\Program Files\NetApp\SnapManager for Exchange\SnapBackup.exe" "PRODSERVER" -b 4 "SG2" "First Storage Group" "SG3" "SG4" -nc -m - Weekly
"C:\Program Files\NetApp\SnapManager for Exchange\SnapBackup.exe" "PRODSERVER" -b 4 "SG2" "First Storage Group" "SG3" "SG4" -c "VERSERVER" -u -mpdir "C:\Program Files\NetApp\SnapManager for Exchange\SnapMgrMountPoint" -mp -a "PRODSERVER" -r "C:\afterbackup.vbs" "$ExchSnapshot $InfoSnapshot $SnapInfoName \"$SnapInfoPath\""
"C:\Program Files\NetApp\SnapManager for Exchange\SnapBackup.exe" "PRODSERVER" -c "VERSERVER" 5 -s 4 "SG2" "First Storage Group" "SG3" "SG4" -m -All -mpdir "C:\Program Files\NetApp\SnapManager for Exchange\SnapMgrMountPoint" -mp
<SnapBackup.exe "PRODSERV" -d 7.000000 -b 4 "First Storage Group" "SG2" "SG3" "SG4" -c "VERSERV" -u -m -rd -p 150 -mpdir "C:\Program Files\NetApp\SnapManager for Exchange\SnapMgrMountPoint">
<SnapBackup.exe "PRODSERV" -d 7.000000 -b 4 "First Storage Group" "SG2" "SG3" "SG4" -c "VERSERV" -u -m -rd -mpdir "C:\Program Files\NetApp\SnapManager for Exchange\SnapMgrMountPoint">
"C:\Program Files\NetApp\SnapManager for Exchange\SnapBackup.exe" "PRODSERV" -d 7.000000 -b 4 "First Storage Group" "SG2" "SG3" "SG4" -c "VERSERV" -u -m -rd -p 150 -mpdir "C:\Program Files\NetApp\SnapManager for Exchange\SnapMgrMountPoint"
"C:\Program Files\NetApp\SnapManager for Exchange\SnapBackup.exe" "PRODSERV" -d 7.000000 -b 4 "First Storage Group" "SG2" "SG3" "SG4" -c "VERSERV" -u -m -rd -mpdir "C:\Program Files\NetApp\SnapManager for Exchange\SnapMgrMountPoint"
Copyright © 1994-2006, Network Appliance, Inc. All rights
reserved.
Part No. 215-01873_A0
File: cli3.htm
Last updated: 28-Mar-2006 11:31:11