Forum Discussion

sagar666's avatar
sagar666
Level 5
10 years ago

Catalog Backup trigerring 3 times

Hi any one please help me why my catalog backup triggers (3 full backup) three times whenever backup starts below is the policy configuration.

 

Capture.PNG

Regards,

Vidya Sagar

  • The catalog backup is multiple jobs, x4 in fact.

    Parent job

    Staging on NBDB to staging area

    Backup of NBDB to disk/ tape

    Backup of Images / Config to disk/tape.

10 Replies

  • The catalog backup is multiple jobs, x4 in fact.

    Parent job

    Staging on NBDB to staging area

    Backup of NBDB to disk/ tape

    Backup of Images / Config to disk/tape.

  • Indeed, that is my point, lets see if there are in fact 12 jobs.

  • Blilmey guys, shall we just get an nbsu -c -t  ...

    :0)

  • Hi

    mph 999 is correct. Is there any way we can make single job?

    Below is the schedules screen shot

    Capture_0.PNG

     

     

     

     

     

    Parent Job details:

    01/29/2015 11:06:05 - Info nbjm (pid=2243) starting backup job (jobid=4841) for client inbmaster.asicdesigners.com, policy inbmaster-catalog, schedule Full
    01/29/2015 11:06:05 - Info nbjm (pid=2243) requesting CATALOG_BACKUP_RESOURCE resources from RB for backup job (jobid=4841, request id:{B856ECF8-A778-11E4-9269-886B3B2D27D4})
    01/29/2015 11:06:05 - requesting resource inbmaster.asicdesigners.com.NBU_CATALOG.MAXJOBS
    01/29/2015 11:06:05 - granted resource  inbmaster.asicdesigners.com.NBU_CATALOG.MAXJOBS
    01/29/2015 11:06:06 - estimated 0 kbytes needed
    01/29/2015 11:06:06 - begin Parent Job
    01/29/2015 11:06:06 - begin Catalog Backup: Start Notify Script
    01/29/2015 11:06:06 - Info RUNCMD (pid=30964) started
    01/29/2015 11:06:06 - Info RUNCMD (pid=30964) exiting with status: 0
    Operation Status: 0
    01/29/2015 11:06:06 - end Catalog Backup: Start Notify Script; elapsed time 0:00:00
    01/29/2015 11:06:06 - begin Catalog Backup: Database Manager Query
    Operation Status: 0
    01/29/2015 11:30:19 - end Catalog Backup: Database Manager Query; elapsed time 0:24:13
    01/29/2015 11:30:19 - begin Catalog Backup: Validate Image
    Operation Status: 0
    01/29/2015 11:30:19 - end Catalog Backup: Validate Image; elapsed time 0:00:00
    01/29/2015 11:30:19 - begin Catalog Backup: End Notify Script
    01/29/2015 11:30:19 - Info RUNCMD (pid=2438) started
    01/29/2015 11:30:19 - Info RUNCMD (pid=2438) exiting with status: 0
    Operation Status: 0
    01/29/2015 11:30:19 - end Catalog Backup: End Notify Script; elapsed time 0:00:00
    Operation Status: 0
    01/29/2015 11:30:19 - end Parent Job; elapsed time 0:24:13
    the requested operation was successfully completed  (0)

    NBDB Details

    01/29/2015 11:06:06 - Info bpdbm (pid=30968) staging relational database files for catalog backup
    01/29/2015 11:06:06 - Info bpdbm (pid=30968) staging NBAZDB backup to /usr/openv/db/staging
    01/29/2015 11:06:07 - Info bpdbm (pid=30968) done staging NBAZDB backup to /usr/openv/db/staging
    01/29/2015 11:06:07 - Info bpdbm (pid=30968) staging NBDB backup to /usr/openv/db/staging
    01/29/2015 11:06:10 - Info bpdbm (pid=30968) done staging NBDB backup to /usr/openv/db/staging
    01/29/2015 11:11:18 - Info bpdbm (pid=30968) validating NBAZDB backup in /usr/openv/db/staging
    01/29/2015 11:11:20 - Info bpdbm (pid=30968) done validating NBAZDB backup in /usr/openv/db/staging
    01/29/2015 11:11:20 - Info bpdbm (pid=30968) validating NBDB backup in /usr/openv/db/staging
    01/29/2015 11:11:21 - Info bpdbm (pid=30968) done validating NBDB backup in /usr/openv/db/staging
    the requested operation was successfully completed  (0)

    3rd job details

    01/29/2015 11:06:12 - Info nbjm (pid=2243) starting backup job (jobid=4843) for client inbmaster.asicdesigners.com, policy inbmaster-catalog, schedule Full
    01/29/2015 11:06:12 - Info nbjm (pid=2243) requesting STANDARD_RESOURCE resources from RB for backup job (jobid=4843, request id:{BC847F48-A778-11E4-B681-5AAEE114B63C})
    01/29/2015 11:06:12 - requesting resource inbmaster-hcart-robot-tld-0
    01/29/2015 11:06:12 - requesting resource inbmaster.asicdesigners.com.NBU_CLIENT.MAXJOBS.inbmaster.asicdesigners.com
    01/29/2015 11:06:12 - requesting resource inbmaster.asicdesigners.com.NBU_POLICY.MAXJOBS.inbmaster-catalog
    01/29/2015 11:06:12 - granted resource  inbmaster.asicdesigners.com.NBU_CLIENT.MAXJOBS.inbmaster.asicdesigners.com
    01/29/2015 11:06:12 - granted resource  inbmaster.asicdesigners.com.NBU_POLICY.MAXJOBS.inbmaster-catalog
    01/29/2015 11:06:12 - granted resource  1140L4
    01/29/2015 11:06:12 - granted resource  IBM.ULT3580-TD4.000
    01/29/2015 11:06:12 - granted resource  inbmaster-hcart-robot-tld-0
    01/29/2015 11:06:13 - Info bpbrm (pid=30989) inbmaster.asicdesigners.com is the host to backup data from
    01/29/2015 11:06:13 - Info bpbrm (pid=30989) reading file list from client
    01/29/2015 11:06:13 - Info bpbrm (pid=30989) listening for client connection
    01/29/2015 11:06:13 - Info bpbrm (pid=30989) INF - Client read timeout = 300
    01/29/2015 11:06:13 - estimated 0 kbytes needed
    01/29/2015 11:06:13 - Info nbjm (pid=2243) started backup (backupid=inbmaster.asicdesigners.com_1422509772) job for client inbmaster.asicdesigners.com, policy inbmaster-catalog, schedule Full on storage unit inbmaster-hcart-robot-tld-0
    01/29/2015 11:06:13 - started process bpbrm (pid=30989)
    01/29/2015 11:06:13 - connecting
    01/29/2015 11:06:14 - Info bpbrm (pid=30989) accepted connection from client
    01/29/2015 11:06:14 - Info bpbrm (pid=30989) start bpbkar on client
    01/29/2015 11:06:14 - Info bphdb (pid=30994) Backup started
    01/29/2015 11:06:14 - Info bphdb (pid=30973) Backup started
    01/29/2015 11:06:14 - Info bpbrm (pid=30989) bptm pid: 30995
    01/29/2015 11:06:14 - Info bptm (pid=30995) start
    01/29/2015 11:06:14 - Info bptm (pid=30995) using 65536 data buffer size
    01/29/2015 11:06:14 - Info bptm (pid=30995) using 30 data buffers
    01/29/2015 11:06:14 - Info bptm (pid=30995) start backup
    01/29/2015 11:06:14 - Info bptm (pid=30995) Waiting for mount of media id 1140L4 (copy 1) on server inbmaster.asicdesigners.com.
    01/29/2015 11:06:14 - connected; connect time: 0:00:00
    01/29/2015 11:06:14 - mounting 1140L4
    01/29/2015 11:07:09 - Info bptm (pid=30995) media id 1140L4 mounted on drive index 0, drivepath /dev/nst1, drivename IBM.ULT3580-TD4.000, copy 1
    01/29/2015 11:07:09 - mounted 1140L4; mount time: 0:00:55
    01/29/2015 11:07:09 - positioning 1140L4 to file 1
    01/29/2015 11:10:43 - positioned 1140L4; position time: 0:03:34
    01/29/2015 11:10:43 - begin writing
    01/29/2015 11:10:45 - Info bphdb (pid=30973) bpbkar waited 685 times for empty buffer, delayed 757 times
    01/29/2015 11:10:45 - Info bphdb (pid=30973) done. status: 0
    01/29/2015 11:10:45 - Info bptm (pid=30995) waited for full buffer 37 times, delayed 79 times
    01/29/2015 11:11:16 - Info bptm (pid=30995) EXITING with status 0 <----------
    01/29/2015 11:11:16 - Info bpbrm (pid=30989) validating image for client inbmaster.asicdesigners.com
    01/29/2015 11:11:17 - Info bphdb (pid=30973) done. status: 0: the requested operation was successfully completed
    01/29/2015 11:11:17 - end writing; write time: 0:00:34
    the requested operation was successfully completed  (0)

    4th Job details:

    01/29/2015 11:11:25 - Info nbjm (pid=2243) starting backup job (jobid=4844) for client inbmaster.asicdesigners.com, policy inbmaster-catalog, schedule Full
    01/29/2015 11:11:25 - Info nbjm (pid=2243) requesting STANDARD_RESOURCE resources from RB for backup job (jobid=4844, request id:{771A4374-A779-11E4-AE20-3F285341EB95})
    01/29/2015 11:11:25 - requesting resource inbmaster-hcart-robot-tld-0
    01/29/2015 11:11:25 - requesting resource inbmaster.asicdesigners.com.NBU_CLIENT.MAXJOBS.inbmaster.asicdesigners.com
    01/29/2015 11:11:25 - requesting resource inbmaster.asicdesigners.com.NBU_POLICY.MAXJOBS.inbmaster-catalog
    01/29/2015 11:11:25 - granted resource  inbmaster.asicdesigners.com.NBU_CLIENT.MAXJOBS.inbmaster.asicdesigners.com
    01/29/2015 11:11:25 - granted resource  inbmaster.asicdesigners.com.NBU_POLICY.MAXJOBS.inbmaster-catalog
    01/29/2015 11:11:25 - granted resource  1140L4
    01/29/2015 11:11:25 - granted resource  IBM.ULT3580-TD4.000
    01/29/2015 11:11:25 - granted resource  inbmaster-hcart-robot-tld-0
    01/29/2015 11:11:26 - Info bpbrm (pid=31889) inbmaster.asicdesigners.com is the host to backup data from
    01/29/2015 11:11:26 - Info bpbrm (pid=31889) reading file list from client
    01/29/2015 11:11:26 - Info bpbrm (pid=31889) starting bpbkar on client
    01/29/2015 11:11:26 - Info bpbkar (pid=31893) Backup started
    01/29/2015 11:11:26 - Info bpbrm (pid=31889) bptm pid: 31894
    01/29/2015 11:11:26 - Info bptm (pid=31894) start
    01/29/2015 11:11:26 - Info bptm (pid=31894) using 65536 data buffer size
    01/29/2015 11:11:26 - Info bptm (pid=31894) using 30 data buffers
    01/29/2015 11:11:26 - Info bptm (pid=31894) start backup
    01/29/2015 11:11:26 - Info bptm (pid=31894) media id 1140L4 mounted on drive index 0, drivepath /dev/nst1, drivename IBM.ULT3580-TD4.000, copy 1
    01/29/2015 11:11:26 - estimated 42127148 kbytes needed
    01/29/2015 11:11:26 - Info nbjm (pid=2243) started backup (backupid=inbmaster.asicdesigners.com_1422510085) job for client inbmaster.asicdesigners.com, policy inbmaster-catalog, schedule Full on storage unit inbmaster-hcart-robot-tld-0
    01/29/2015 11:11:26 - started process bpbrm (pid=31889)
    01/29/2015 11:11:26 - connecting
    01/29/2015 11:11:26 - connected; connect time: 0:00:00
    01/29/2015 11:11:26 - mounted 1140L4
    01/29/2015 11:11:26 - positioning 1140L4 to file 2
    01/29/2015 11:11:31 - positioned 1140L4; position time: 0:00:05
    01/29/2015 11:11:31 - begin writing
    01/29/2015 11:29:55 - Warning bpbrm (pid=31889) from client inbmaster.asicdesigners.com: WRN - /usr/openv/netbackup/db/error/daily_messages.log is only being backed up as a symbolic link
    01/29/2015 11:29:56 - Info bpbkar (pid=31893) bpbkar waited 2503 times for empty buffer, delayed 581163 times
    01/29/2015 11:29:56 - Info bptm (pid=31894) waited for full buffer 16088 times, delayed 17177 times
    01/29/2015 11:30:16 - Info bptm (pid=31894) EXITING with status 0 <----------
    01/29/2015 11:30:16 - Info bpbrm (pid=31889) validating image for client inbmaster.asicdesigners.com
    01/29/2015 11:30:16 - Info bpbkar (pid=31893) done. status: 0: the requested operation was successfully completed
    01/29/2015 11:30:16 - end writing; write time: 0:18:45
    the requested operation was successfully completed  (0)

     

     

  • no, it is not possible to make it a single job. This is the way catalog backups work to have the parent and the 3 child jobs.

  • As revaroo says, it cannot be made a single job.

    As a matter of interest, why on earth does this matter, NBU using hot catalog backups (since ver 6.0 onwards) has always worked this way.

  • What makes me curious about your post is why this is an issue for you?

    You are not new to NBU and this has been how hot catalog backup has worked all along (since NBU 6.0).

    From Martin's explanation above, you can see that the 3 child jobs are doing totally different things. 
    Why would you want them to be one job?
    How will you troubleshoot if one of the tasks (all in one job) fails?

  • Good point about the troubleshooting - it's definately betetr that these jobs a separate, that way if there is an issue, it's usually pretty simply to see which one of the 3 jobs has had an issue, which in turn removes 2 possibilites from the problem.