12.07.2015 Views

IBM Tivoli Storage Manager for UNIX and Linux: Backup-Archive ...

IBM Tivoli Storage Manager for UNIX and Linux: Backup-Archive ...

IBM Tivoli Storage Manager for UNIX and Linux: Backup-Archive ...

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

|||||||||||||||||||||||||||||||||||||||||PresnapshotcmdSupportedOptionsSyntaxParametersExamplesThe presnapshotcmd option allows you to run operating system shell comm<strong>and</strong>sbe<strong>for</strong>e the LVM starts a snapshot. This allows you to quiesce an application be<strong>for</strong>ethe LVM starts the snapshot during an online image backup. This option is onlyvalid if the LVM is installed <strong>and</strong> configured on your system allowing you toper<strong>for</strong>m an online image backup.For an online image backup, use this option with the backup image comm<strong>and</strong>, theinclude.image option, or in the dsm.opt or dsm.sys file.If the presnapshotcmd fails it is assumed that the application is not in a consistentstate <strong>and</strong> the client will stop the backup <strong>and</strong> display the appropriate errormessage.ClientsThis option is valid <strong>for</strong> the <strong>Linux</strong> x86/x86_64 clients only. The <strong>Tivoli</strong> <strong>Storage</strong><strong>Manager</strong> client API does not support this option.FilePlace this option in the client options file (dsm.opt) or in the client system optionfile (dsm.sys). You can set this option on the Image-Snapshot tab of thePreferences editor.►► PRESNapshotcmd ″cmdstring″ ►◄″cmdstring″Specifies a comm<strong>and</strong> to process.Use the srvprepostsnapdisabled option to prevent the <strong>Tivoli</strong> <strong>Storage</strong> <strong>Manager</strong>server administrator from executing operating system comm<strong>and</strong>s on the clientsystem. See “Srvprepostscheddisabled” on page 354 <strong>for</strong> details on this option.If the comm<strong>and</strong> string contains blanks, enclose the comm<strong>and</strong> string in doublequotes:"net stop someservice"If you placed double quotes within the comm<strong>and</strong> string, then enclose theentire comm<strong>and</strong> string in single quotes:’net stop "some service"’Options file:presnapshotcmd "any shell comm<strong>and</strong> or script"Comm<strong>and</strong> line:backup image -presnapshotcmd="any shell comm<strong>and</strong> or script"This option is valid only on the initial comm<strong>and</strong> line. It is not valid in interactivemode.Chapter 9. Using processing options 321

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!