Forum Discussion

NIKHIL234656595's avatar
12 years ago

netbackup 100 client offline

Hi ALL,

I have an activity on my master server.

 

I need to make 100 client offline so that Backup SLA is not affected.

Can anybody provide me with complete scripts for this.

NBU 7.1

LINUX

I cant suspend my scheduler.

============================
 
for client in `cat listofclients`
 
do
 
bpclient -client $client -update -offline -ut -onlineat unixtime.
 
done
 
=====================================
 
  • Change this

    bpclient -client -update -offline -ut -onlineat 1371859200

    to this

    bpclient -client -update -online

     

     

     

13 Replies

  • Change this

    bpclient -client -update -offline -ut -onlineat 1371859200

    to this

    bpclient -client -update -online

     

     

     

  • Nikhil,
     
    Just made changes to script as below
     
    #!/bin/ksh
    PATH=$PATH:/usr/openv/netbackup/bin:/usr/openv/netbackup/bin/admincmd
    cat /tmp/offclient |while read line
    do
    /usr/openv/netbackup/bin/admincmd/bpclient -client $line -update -online
    done