Creates snapshot(s) of the specified volume(s) or SQL database (component). Allows volumes to be snapshotted simultaneously.
Separate source volumes and attributes with forward slashes, not spaces. Source and snapshot volume attributes are paired. You must specify the source volume if you choose to specify the snapshot volume plex, drive letter, drive path, label, or volume name.
The vxsnap create command has the following syntax:
vxsnap -x Filename create [-gDynamicDiskGroupName] source=Volume [/DriveLetter=DriveLetter] [/DrivePath=DrivePath][/Newvol=NewVolName] [/Plex=PlexName]... [writer=WriterName] [component=ComponentName] [server=ServerName] [instance=InstanceName] [backuptype=FULL|COPY] [-o]
The vxsnap create command has the following attributes:
The following is an example of the vxsnap create command:
vxsnap -x billing_DB.xml create source=G:/Newvol=billing_data source=H:/Newvol=billing_log writer=SQLServerWriter component=billing_DB backuptype=full
This example creates a snapshot set based on the component billing_DB which contains volume G, the database volume, and volume H, the log volume. The snapshot volumes are named billing_data and billing_log, respectively. The XML file, billing_DB.xml, is used to store the VSS metadata that identifies the snapshot set. This file is used in the command to reattach the snapshot set to resynchronize it and in the command to recover the database using the snapshot set.