08-16-2016 06:01 AM
I´m looking for any way to extract the 'Backup Id' string from a job (command line).
Solved! Go to Solution.
08-18-2016 06:52 PM
If you know the jobID, you can grep it straightaway from the job details:
For example, JobID = 1234
# grep -i backupid /usr/openv/netbackup/db/jobs/trylogs/1234.t
From that output, just do some "cutting" / formatting to retrieve just the backupid.
08-16-2016 06:14 AM
backup id from the activity monitor or just a job id's in general ?
job id in general can be retrived from the master server using bpimagelist
http://www.veritas.com/docs/000032604
From activity monitor id you can use bpdbjobs -most_columns or all_columns for all the glory details
08-16-2016 06:15 AM - edited 08-16-2016 06:20 AM
Field 1 of bpdbjobs -all_columns or -most_columns output.
DOCUMENTATION: In NetBackup 6.x and 7.x, what does the output of "bpdbjobs -most_columns" mean? http://www.veritas.com/docs/000036041
and http://www.veritas.com/docs/000051018
Use awk to parse the output.
Examples in lots of forum posts, e.g. https://vox.veritas.com/t5/NetBackup/bpdbjobs/td-p/497074
08-18-2016 06:52 PM
If you know the jobID, you can grep it straightaway from the job details:
For example, JobID = 1234
# grep -i backupid /usr/openv/netbackup/db/jobs/trylogs/1234.t
From that output, just do some "cutting" / formatting to retrieve just the backupid.
08-19-2016 07:00 AM
It would be sooooooo nice if @Schwarzkopf could reply to attempts to help.....
Not only this post....