![]() |
![]() |
The presnapshotcmd option allows you to run operating system shell commands before the LVSA starts a snapshot. This allows you to quiesce an application before the LVSA starts the snapshot during an online image backup. This option is only valid if the LVSA is installed and configured on your system allowing you to perform an online image backup.
Use this option with the backup image command, the include.image option, or in the dsm.opt file.
If the presnapshotcmd fails it is assumed that the application is not in a consistent state and the client will stop the backup and display the appropriate error message.
Supported Clients
This option is valid for the Windows 2000 client only.
Options File
Place this option in the client options file dsm.opt.
Syntax
>>-PRESNapshotcmd-- "cmdstring"--------------------------------><
Parameters
Use a blank, or null, string for "cmdstring" if you want to prevent any commands from running that the administrator uses for presnapshotcmd. If you specify a blank or null string, it prevents the administrator from using a command on this option. If your administrator uses a blank or null string on the presnapshotcmd option, you cannot run a pre-snapshot command.
If the command string contains blanks, enclose the command string in double quotes. If you placed double quotes within the command string, then enclose the entire command string in single quotes.
Examples
The command string is a valid command for quiescing your application.