vxsnap prepare

Creates snapshot mirrors of the volumes in the specified component. 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
[server=ServerName][instance=InstanceName][-b]
source=volume/harddisk=harddisk...
Attributes

The vxsnap prepare command has the following attributes:

component=ComponentName

Name of the database. The command prepares mirrors for both the database and log volumes of the SQL database.

writer=WriterName

Unique ID of the VSS writer, for example, SQLServerWriter or the GUID for the writer. Required if you specify the component.

server=ServerName

SQL Server server name.

instance=InstanceName

SQL Server instance name.

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

Note:

Any text string that contains spaces must be enclosed in quotation marks.

Example

The following is an example of the vxsnap prepare command

vxsnap prepare
component=billing_DB/writer=SQLServerWriter
instance=SQLINSTANCE server=SQLVirtualServer
source=L:/harddisk=harddisk3
source=M:/harddisk=harddisk3

This command will create snapshot mirrors of all the volumes contained in the billing_DB database. The snapshot mirror of the volume mounted on L: will be created on harddisk 3 and the snapshot mirror of the volume mounted on M: will also be created on harddisk 3.