Linux operating systemsWindows operating systems

Srvprepostsnapdisabled

The srvprepostsnapdisabled option specifies whether to prevent the pre-snapshot and post-snapshot commands specified by the IBM Spectrum Protect™ administrator from executing on the client system, when performing scheduled image snapshot backup operations.

The srvprepostsnapdisabled option can be used in conjunction with the schedcmddisabled and srvprepostsnapdisabled options to disable the execution of any unwanted operating system command by the IBM Spectrum Protect administrator on a client node.

Supported Clients

Linux operating systemsThis option is valid for Linux clients that support the image snapshot backup command. The server cannot define this option. The IBM Spectrum Protect API does not support this option.

Windows operating systemsThis option is valid for Windows clients that support the image snapshot backup command. The server cannot define this option. The IBM Spectrum Protect API does not support this option.

Options File

Linux operating systemsPlace this option in the dsm.sys file within a server stanza for the scheduler. You can set this option on the Snapshot tab of the Preferences editor, in the Snapshot Options section.

Windows operating systemsPlace this option in the client options file (dsm.opt) for the scheduler. You can set this option on the Snapshot tab of the Preferences editor, in the Snapshot Options section.

Syntax

Read syntax diagramSkip visual syntax diagram
                           .-No--.   
>>-SRVPREPOSTSNApdisabled--+-----+-----------------------------><
                           '-Yes-'   

Parameters

No
Specifies that client allows pre-snapshot and post-snapshot commands defined by the IBM Spectrum Protect administrator to execute on the client system, when performing scheduled image snapshot backup operations. If a pre-snapshot or a post-snapshot command is defined by both the client and the IBM Spectrum Protect administrator, the command defined by the administrator overrides the corresponding command defined in the client option file. This is the default.
Yes
Specifies that the client does not allow pre-snapshot and post-snapshot commands defined by the IBM Spectrum Protect administrator to execute on the client system, when performing scheduled image snapshot backup operations. If a pre-snapshot or a post-snapshot command is defined by both the client and the IBM Spectrum Protect administrator, the command defined by the administrator will not override the corresponding command defined in the client option file. This option can be used in conjunction with the schedcmddisabled and srvprepostsnapdisabled options.

Examples

Options file:
srvprepostsnapdisabled yes
Command line:
Does not apply.