![]() |
![]() |
The postsnapshotcmd option allows you to run operating system shell commands after the LVSA starts a snapshot. This allows you to bring up an application after the LVSA starts a 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 postsnapshotcmd fails the volume image backup continues, but appropriate warnings are logged.
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
>>-POSTSNapshotcmd-- "cmdstring"-------------------------------><
Parameters
Use a blank, or null, string for "cmdstring" if you want to prevent any commands from running that the administrator uses for postsnapshotcmd. 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 postsnapshotcmd option, you cannot run a post-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 restarting your application.