Forum Discussion

Ayaz_Anjum's avatar
Ayaz_Anjum
Level 3
5 years ago

Duplication of a backup that has many child jobs

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 

 

 

  • Using a date/time listing is certainly the easiest way to put together your BID list for the duplication. You may have some extra items that don't need to be there (i.e. if RMAN kicked off an archive log job while the full job was still running), but at least you'll definitely get the stuff you care about. As a newcomer to NetBackup this is probably going to be the way you want to go. If you get really bored you can get the DBA to provide you with a list out of RMAN of the protected files and then see if you can get bpflist to provide you the backupids for each - usually it's not worth the effort though. Generally I'll outright tell DBAs that no, I cannot tell them the specific backupid that protected a particular archive file or such. NetBackup makes it a huge pain to find that info even if the job in question is still present in the Activity Monitor. Unless it's the control file of course, that's always the first job. =)
  • Ayaz_Anjum 

    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.

    • Ayaz_Anjum's avatar
      Ayaz_Anjum
      Level 3

      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 ?

      • Marianne's avatar
        Marianne
        Level 6

        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.