11-17-2020 09:50 AM
Hi,
I am beginner to netbackup and figuring out the following
The oracle backup job has a parent job and then numerous child job. I want to duplicate an old backup of this server.
Each child job has its own backup id
My question is how do i find all the related child jobs so as to initiate duplication of them. Is there a command that can help me do this. I can guess from the close by time stamp of start time for each job. but is there a better way to do it.
Do i have to duplicate all the child backup separately or is there a better way to it.
thanks
11-17-2020 01:25 PM
11-17-2020 10:43 PM
What type of backup storage are you using for backup and then for duplication?
If the storage is supported for LifeCycle Policies, you may want to automate backup and duplication with SLPs.
11-18-2020 12:42 AM
We are having having disk wtih SLP , however for some reason these were deactivated and hence some old backups could not be duplicated to tapes.
Instead of manually duplicating, is there any other option ?
11-18-2020 01:47 AM
Unfortunately SLP only works for new jobs.
So, you can reactivate the SLPs to get the duplication automated going forward.
For images that are not duplicated, have a look at @jnardello suggestions to list images for a specific period and script it.
11-18-2020 05:27 AM
I name my oracle parent schedule "Parent.Job" and my child schedule "Child.Job"
That way I can select the one I want.
If you use the command line you can get a listing of images for the specific client/policy/schedule/date range.
then just run through the bpduplicate command.
Be aware - if you make a file listing and then start the duplicate against that file, netbackup will remove them as it goes - PRO TIP - make a copy!
You can also use the GUI and find the jobs there, some specific selections and filtering may also allow you to pick what you want.
command line will run ONE job per image - so you get TONS of jobs.
GUI runs ONE job with all images.