Verifying the installation of plug-in scripts
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.
Enter the following command:
smo 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 administrator rather than for a specified user.
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.
smo 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.