SnapManager command-line interface
Operations you can perform from the command-line interface
SnapManager contains the command-line interface, smd.exe, for automating SnapManager operations. You can use the smd.exe utility to automate the following operations:
Commands for automated operations
To use the automated operations, you must first open a command-line prompt on your Windows system and navigate to the directory where SnapManager is installed. You can use the following parameters in conjunction with the smd.exe command.
- The <Pn> parameter indicates the number of the partition server or serve on which you want to perform the operation.
- The <N> parameter indicates a numerical value, either the number of snapshots, or a particular server number.
- The <del> parameter can only be used with the backup command and a number must be specified for the number of backups to delete in excess of.
- The <--p> parameter can only be used for point-in-time restores.
The following table lists the automated operations, their functionality, and their command-line syntax.
Operation
|
- -backup creates a new snapshot.
smd - -backup=[<P1>]
Example
smd - -backup=1 takes a snapshot of either partition server 1 or a single server.
Note You can use <n> for more than one partitioned server by differentiating partition servers with a colon. For example, 1:2:3, where 1:2:3 are partitioned servers 1, 2, and 3. |
- -del deletes an existing snapshot.
smd - -backup=<Pn> - - del=<N>
Example
smd - -backup=1 - -del=3 deletes all backups on partition server 1 in excess of 3.
|
- -restore restores an existing snapshot.
smd - -restore=<Pn> - -snapshot=<N>
Example
smd - -restore=1 - -snapshot=1 restores the most recent backup for a single Domino server.
|
- -restore restores an existing snapshot.
smd - -restore=<Pn> - -snapshot=<N>
Example
smd - -restore=2 - -snapshot=3 restores the most recent backup for the partition server 2.
|
- -p restores an existing snapshot to a Point-in-Time restore.
smd - -restore=<n> - -snapshot=<n> - -p
Example
smd - -restore=1 - -snapshot=3 - -p executes a point-in-time restore for partition server 1 or a single server.
|
Copyright © 1994-2003, Network Appliance, Inc. All rights
reserved.
Part No. 215-02377
File: instal13.htm
Last updated: 12/03/02 13:15:58