User Tools

Site Tools


apps:netbackup:cli

This is an old revision of the document!


NetBackup - CLI

Server

Convert timestamp to a human readable format

# bpdbm -ctime 1441252847
1441252847 = Thu Sep 03 06:00:47 2015

or use GNU awk

# echo 1441252847 | gawk '{ print strftime("%Y-%m-%d %H:%M:%S",$0) }'
2015-09-03 06:00:47

Resolve Status Codes

# bperror -S 96
unable to allocate new media for backup, storage unit has none available
The NetBackup Resource Broker (nbrb) did not allocate a new volume for backups. This error indicates that the storage unit has no more volumes available in the volume pool that is specified for this backup. Note that NetBackup does not change storage units during the backup.

Client

show open files and connections while a backup is running

lsof -n -P -p $(pgrep "bpbkar|bpfilter" | xargs | tr ' ' ',') | grep -v REG
apps/netbackup/cli.1441605147.txt.gz · Last modified: 2015-09-07 07:52 by root