• Please help support our sponsors by considering their products and services.
    Our sponsors enable us to serve you with this high-speed Internet connection and fast webservers you are currently using at ADSM.ORG.
    They support this free flow of information and knowledge exchange service at no cost to you.

    Please welcome our latest sponsor Tectrade . We can show our appreciation by learning more about Tectrade Solutions
  • Community Tip: Please Give Thanks to Those Sharing Their Knowledge.

    If you receive helpful answer on this forum, please show thanks to the poster by clicking "LIKE" link for the answer that you found helpful.

  • Community Tip: Forum Rules (PLEASE CLICK HERE TO READ BEFORE POSTING)

    Click the link above to access ADSM.ORG Acceptable Use Policy and forum rules which should be observed when using this website. Violators may be banned from this website. This notice will disappear after you have made at least 3 posts.

Getting the Status of an SLP on NB 7.1

LBH21215

ADSM.ORG Member
#1
I am trying to see if there is a way to get the status of an SLP (active/inactive) when there are no images to process?

nbstlutil report only seems to give you information if images are in a not started state or in process state.



nbstlutil report -lifecycle Duplicate1

No images to process

Trying to script something and this would be very helpful.
 

etchingsj

ADSM.ORG Member
#2
There is this for simply checking incomplete images.

nbstlutil list -l -image_incomplete

Or if you wanted a scripted version with more complete results try this:

Code:
!/usr/bin/ksh
#
#
#    Script to check for non-duplicated images in SLP
#


# Begin


BPimage='/usr/openv/netbackup/bin/admincmd/bpimagelist'


# Check for -h or -? to print command syntax and exit
if [[ $1 = "-h" ]] || [[ $1 = "-?" ]]
then
  print "\nslp_check used to check status of non-duplicated backup images."
  print " Usage: "
  print " slp_check <hoursago> - use this to insert any hours ago prior to 24 hours"
  print " By default this script checks back 24 hours"
  exit
fi


# Get Hours ago info
# Check for hoursago override; default is 24 hours
if [[ $1 = @([0-9]*) ]]
then Hours=$1
else Hours=24
fi


# Script begin


$BPimage -stl_incomplete -U -hoursago $Hours




exit
Save it and make it executable and run like as is or add the days you want to check for:

slp_check (days)
# slp_check 999

Thanks and Good Luck!
 

Advertise at ADSM.ORG

If you are reading this, so are your potential customer. Advertise at ADSM.ORG right now.

UpCloud high performance VPS at $5/month

Get started with $25 in credits on Cloud Servers. You must use link below to receive the credit. Use the promo to get upto 5 month of FREE Linux VPS.

The Spectrum Protect TLA (Three-Letter Acronym): ISP or something else?

  • Every product needs a TLA, Let's call it ISP (IBM Spectrum Protect).

    Votes: 17 19.5%
  • Keep using TSM for Spectrum Protect.

    Votes: 53 60.9%
  • Let's be formal and just say Spectrum Protect

    Votes: 10 11.5%
  • Other (please comement)

    Votes: 7 8.0%

Forum statistics

Threads
31,471
Messages
134,133
Members
21,569
Latest member
srinathkodela
Top