cancel
Showing results for 
Search instead for 
Did you mean: 

Restarting a series of backup job

kris_rocks
Level 2

Hey Guys!

 

How do I restart a series of backup jobs? Say for example from jobid 2100 t0 2110.

Earlier I have done that but now I can't figure out the commadn. Soming thing similar to bpdbjobs -restart 2100-10

 

OS:   Centos 5.6

 

[root@backup02 ~]# bpgetconfig |grep VERSIONINFO
VERSIONINFO = "Linux" "2.6.18-238.el5" "Unknown" "NetBackup" "6.0" 600000
[root@backup02 ~]# 
 

 Krish

1 ACCEPTED SOLUTION

Accepted Solutions

Kevin_Good
Level 5
Certified

Because you told it to restart 10190 jobs

217407-12

you do not have job details in your jobs database back to jobid 12, but you do (or did at the time you ran this command have job details back to job 207217

(207217 + 10190 = 217407)

 

If you had run the command

bpdbjobs -restart 217407-217412

or

bpdbjobs -restart 217412-217407

 

Then you would have seen only the 6 jobs you intended to restart.

View solution in original post

7 REPLIES 7

Kiran_Bandi
Level 6
Partner Accredited

You have run that command from /usr/openv/netbackup/bin/admincmd/

Thanks...

kris_rocks
Level 2

Hi Kiran,

 

Thanks for the reply.

 

But the restating using command :

 

 [root@backup02 ~]# bpdbjobs -restart 217407-12

Restarting 10190 jobs
[root@backup02 ~]# 
 
It just restarted 10190 backup jobs??? instead of 6 jobs! So that is not the command... 
 
Please suggest...

PraveenCH
Level 4

bpdbjobs -restart 217407,217408,217409,217410,217411,217412

Gaurav21
Level 4

Guys, is it possble to see the media details or job progress details in bpdbjobs.

in other words, if I do not have access to GUI, can I see the contents of the 2nd tab which show what is going on with the job currently in bpdbjobs / or with any other command.

Nathan_Kippen
Level 6
Certified

Yes..

 

bpdbjobs -report -jobid ### -all_columns

 

This might help:

DOCUMENTATION: In NetBackup 6.x and 7.x, what does the output of "bpdbjobs -most_columns" mean?

http://www.symantec.com/business/support/index?page=content&id=TECH65123

 

 

 

Thanks,

Kevin_Good
Level 5
Certified

Because you told it to restart 10190 jobs

217407-12

you do not have job details in your jobs database back to jobid 12, but you do (or did at the time you ran this command have job details back to job 207217

(207217 + 10190 = 217407)

 

If you had run the command

bpdbjobs -restart 217407-217412

or

bpdbjobs -restart 217412-217407

 

Then you would have seen only the 6 jobs you intended to restart.

kris_rocks
Level 2

Thanks Kevin! I was looking for the same!