Library Table of Contents Index Previous Next Comments

SnapManager command-line interface

Operations you can perform from the command-line interface  Top

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  Top

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 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.

Library Table of Contents Index Previous Next Comments