Skip to main content
SnapManager for SAP

Verify the installation of plug-in scripts

Contributors

SnapManager enables you to install and use custom scripts to perform various operations. SnapManager provides plugins for the backup, restore, and clone operations, which you can use to automate your custom scripts before and after the backup, restore, and clone operations.

Step
  1. Enter the following command:

    smsap plugin check -osaccount os db user name

    If you do not provide the -osaccount option, verification of the plug-in script installation happens for the root user rather than for a specified user.

    Example

    The following output indicates that the policy1, pre-plugin1, and pre-plugin2 scripts have been installed successfully. However, the post-plugin1 script is not operational.

                smsap plugin check
    Checking plugin directory structure ...
    <installdir>/plugins/clone/policy
       OK: 'policy1' is executable
    
    <installdir>/plugins/clone/pre
       OK: 'pre-plugin1' is executable and returned status 0
       OK: 'pre-plugin2' is executable and returned status 0
    
    <installdir>/plugins/clone/post
       ERROR: 'post-plugin1' is executable and returned status 3
    Command complete.