Netbackup scripts.
This section contain various scripts for Netbackup. All scripts are available on a "as-is" basic without any warranty. Use at own risk.
DocumentsDate added
Script used for mass update of Netbackup client server lists. The script won't allow server listed on the master servers bp.conf to be updated - is a security precaution.Script to be called with /path/new_server_list /path/clients_to_be_updated
This ksh script works on Netbackup 6.x only (tested on 6.5). This script querys the EMM database to find attached robot's and perform inventory. It's works on clustered and non-clustered master servers. Known limitations: Inventory on media servers with remote TLD control (TLD controlled by other media server) will likely fail.
This UNIX shell script is used to monitor backups running longer than anticipated. If a backup job runs longer that the threshold provided to the script, a mail is to sent to the Netbackup administrator. The administrator is then required to investigate if this job is hung or just moving massive amount of data. Restore/dublication jobs are not monitored.Treshold vaule is specifyed in second as a parameter to the script. 1 hour = 3600 seconds24 hour = 86400 seconds
Script to move assigned media from one media sever to another, when decommission a media server with unrestricted media sharing enabled. Limitations: The script does not check for server groups nor sets them. The script does not delete storage units or devices for the media server being decommissioned.
Small script for StorageTek ACSLS. This script moves tapes within a LSM. Very practical for exercise a robot to find sporadic errors to to test repair.Tapes are found dynamic. The script must be called with to parameters, the ACSLS,LSM id and the numbers of runs. Where 1 run is all tapes in the LSM.