vxsnap prepare

Creates snapshot mirrors of the volumes in the specified component and eliminates the need for multiple vxassist prepare commands. The snapshot mirrors remain attached to and synchronized with the original volumes.

Syntax

The vxsnap prepare command has the following syntax:

vxsnap prepare component=<componentName>/writer=<writerName>
[-b][source=<volume>/harddisk=<harddisk,...>] ...]
Attributes

The vxsnap prepare command has the following attributes:

component=<ComponentName>

Name of the component; for Exchange 2010, this is the mailbox database name, for example, "DB1".

writer=<WriterName>

Unique ID of the VSS writer, for example, "Microsoft Exchange Writer" or the GUID for the writer.

-b

Resynchronizes the volume in the background. A snapshot cannot be made until the resynchronization is complete.

source=<Volume>

Indicates the source volume for the snapshot mirror specified by a drive letter, drive path (mount point), or volume name of the form "\\?\Volume{GUID}\".

harddisk=<Harddisk>

Name of the disk where the snapshot mirror is prepared, for example, harddisk2.

Example

The following is an example of the vxsnap prepare command:

vxsnap prepare component=DB1/writer="Microsoft Exchange Writer"
source=L:/harddisk=harddisk2 source=M:/harddisk=harddisk3

This command creates snapshot mirrors of the volumes in an Exchange mailbox database (DB1). The snapshot mirror of the volume mounted on drive letter L: will be created on disk 2 and the snapshot mirror of the volume mounted on drive M: will be created on disk 3.