The above can be accomplished by scheduling a job using the open/close NetVault Command Line Interface (CLI) command from NetVault.
- Create a small backup job that could just finish quickly and schedule it to run
- In Advanced Options tick "Use Pre Script" and/or "Use Post Script"
- Create a batch file (Windows) or Shell Script (Linux/Unix) using the syntax below and call it in the Pre/Post Script
Syntax to open a library door:
nvopendoor [-servername <server name>] -libraryname <library name>
Options
-
-servername – Name of the NVBU Server that is to administer the job. If the job is to be administered by a remote NVBU Server, this option must be used to name that specific server. If the local instance of the NVBU Server is to be used to administer the job, this option can be left out of the syntax. The server name is case sensitive.
-
-libraryname – Name of the target library.
Syntax to close a library door:
nvclosedoor [-servername <Server Name>] -libraryname <Library Name>
Options
-
-servername – Name of the NVBU Server that is to administer the job. If the job is to be administered by a remote NVBU Server, this option must be used to name that specific server. If the local instance of the NVBU Server is to be used to administer the job, this option can be left out of the syntax. The server name is case sensitive.
-
-libraryname – Name of the target library.