vltrun drives a NetBackup Vault session by issuing a sequence of calls to the vault engine. Optionally, the session can include callouts to user-provided notify scripts.
Specifies the name of a profile or a nested robot number, vault, and profile in the vault parameter file. If profile is used without robot and vault, the profile must be unique within the vault parameter file. This option is required.
Specifies the job ID of an active vault job that is currently duplicated.
Generates the preview list of images to be vaulted in a vault session. The results go to the file preview.list in the session directory.
The vltrun session follows this sequence:
vltrun uses the option profile|robot/vault/profile
to run a vault session. You can
use the profile form of the option if
there is no other profile with the same name in your vault
configuration. In this case, the profile name is sufficient to
uniquely identify the configuration information.
If there is more than one
profile with the same name, then use the robot/vault/profile
form to uniquely identify the configuration.
Do not modify your vault configuration while a vault session is running.
When the session starts, it creates a directory to hold the files that vltrun and the vault engine create during the session.
The vault session uses the following directory:
Windows systems: install_path\NetBackup\vault\sessions\vault_name\sidxxx
The xxx variable is an integer uniquely assigned to this session. For each vault name, session identifiers are sequentially assigned, starting with 1.
If you have configured an email address in your vault properties, then email is sent to this address at the end of the session. The email reports the results. By default, email is sent to root.
vltrun produces an overview of the session, called summary.log, in the session directory.
Control the vault process
at several points in the session by installing notify scripts in
the directory for NetBackup binaries, /usr/openv/netbackup/bin.
Refer to the NetBackup Vault Administrator's Guide for more
information on notify scripts.
You can monitor the progress of your vltrun session in the NetBackup Activity Monitor.
The Operation field on the main Activity Monitor window shows the progress of your vault session by using the following statuses:
If you create the following directory with public-write access, vltrun creates a daily debug log on this directory:
Windows systems:
install_path\netbackup\logs\vault
The log is called log.DDMMYY (where DDMMYY is the current date). You then can use this file that for troubleshooting.
Public-write access is needed because not all executables that write to this file run as administrator or root.
You can adjust the level of logging information that is provided in this log file by adjusting the following: the vault logging level parameter on the Logging page of the master server's properties through Host Properties on the NetBackup Console.
You can terminate active vault duplication jobs by using the vltrun -haltdups command. Initiate a -haltdups script that sends a SIGUSR2 signal to the main vault job (currently at the duplication step). It then automatically propagates the signal to all of the vault duplication instances without waiting for any current duplication job instance to finish. After this step completes, the main vault job proceeds with the remaining steps.
After the SIGUSR2 signal is received, the job details of the following message of the terminated vault duplication job appears: termination requested by administrator (150)
To vault the profile my_profile, enter:
# vltrun my_profile
The following command vaults the images for robot 0, vault Financials, and profile Weekly: # vltrun 0/Financials/Weekly
To terminate an active vault duplication job with the ID of 1, enter:
# vltrun -haltdups -vjob 1
On UNIX and Linux systems, vault may exit with a status code greater than 255. For these extended exit status codes, the status that is returned to the system is 252. The actual exit status is written to stderr in the format, EXIT status = exit status
The extended exit status values are documented in the NetBackup Troubleshooting Guide and in the NetBackup Troubleshooting Wizard.
install_path\NetBackup\vault install_path\NetBackup\bp.conf install_path\NetBackup\logs\bpbrmvlt\mmddyy.log install_path\NetBackup\logs\bpcd\mmddyy.log install_path\NetBackup\logs\vault\mmddyy.log install_path\NetBackup\db\vault\vault.xml install_path\NetBackup\vault\sessions\vault_name\sidxxx install_path\NetBackup\vault\sessions\vault_name\sidxxx\summ ary.log install_path\NetBackup\vault\sessions\vault_name\sidxxx\deta il.log