cancel
Showing results for 
Search instead for 
Did you mean: 

the backup failed to back up the requested files(6)

Ghustavo
Level 3

Master: Windows server 2012

Media: Windows server 2012

Client: RedHat 2.6.18

Schedule: Application-Semanal_Full, status: operation was successfully completed(0)

Schedule full_semanal falhou com erro código (6)

4/12/2018 10:51:11 AM - Info nbjm(pid=2080) starting backup job (jobid=161104) for client srvbd7-trf1.trf1.gov.br, policy TRF1-OVm-Bd-01_Bd7Full-S, schedule Full_Semanal
4/12/2018 10:51:11 AM - Info nbjm(pid=2080) requesting MEDIA_SERVER_WITH_ATTRIBUTES resources from RB for backup job (jobid=161104, request id:{9A10945F-4058-4F31-AD74-5B34B8C82E07})
4/12/2018 10:51:11 AM - requesting resource dedup.stu.srvbkp03-trf1
4/12/2018 10:51:11 AM - requesting resource srvbkp1-trf1.NBU_CLIENT.MAXJOBS.srvbd7-trf1.trf1.gov.br
4/12/2018 10:51:11 AM - requesting resource srvbkp1-trf1.NBU_POLICY.MAXJOBS.TRF1-OVm-Bd-01_Bd7Full-S
4/12/2018 10:51:11 AM - granted resource srvbkp1-trf1.NBU_CLIENT.MAXJOBS.srvbd7-trf1.trf1.gov.br
4/12/2018 10:51:11 AM - granted resource srvbkp1-trf1.NBU_POLICY.MAXJOBS.TRF1-OVm-Bd-01_Bd7Full-S
4/12/2018 10:51:11 AM - granted resource dedup.stu.srvbkp03-trf1
4/12/2018 10:51:12 AM - estimated 0 Kbytes needed
4/12/2018 10:51:12 AM - Info nbjm(pid=2080) started backup (backupid=srvbd7-trf1.trf1.gov.br_1523541071) job for client srvbd7-trf1.trf1.gov.br, policy TRF1-OVm-Bd-01_Bd7Full-S, schedule Full_Semanal on storage unit dedup.stu.srvbkp03-trf1
4/12/2018 10:51:12 AM - started process bpbrm (6988)
4/12/2018 10:51:13 AM - Info bpbrm(pid=6988) srvbd7-trf1.trf1.gov.br is the host to backup data from
4/12/2018 10:51:13 AM - Info bpbrm(pid=6988) reading file list for client
4/12/2018 10:51:13 AM - connecting
4/12/2018 10:51:13 AM - Info bpbrm(pid=6988) starting bphdb on client
4/12/2018 10:51:13 AM - Info bphdb(pid=18597) Backup started
4/12/2018 10:51:13 AM - connected; connect time: 0:00:00
4/12/2018 10:51:14 AM - Info bphdb(pid=18597) Processing /util/backup/bin/rman_full_jfdf.sh
4/12/2018 10:51:14 AM - Info bphdb(pid=18597) Waiting for the child status
4/14/2018 10:52:15 AM - Error bpbrm(pid=6988) from client srvbd7-trf1.trf1.gov.br: ERR - Script exited with status = 1 <the requested operation was partially successful>
4/14/2018 10:52:15 AM - Info bphdb(pid=18597) Processing /util/backup/bin/rman_full_trf1.sh
4/14/2018 10:52:15 AM - Info bphdb(pid=18597) Waiting for the child status
4/14/2018 10:52:33 AM - Error bpbrm(pid=6988) from client srvbd7-trf1.trf1.gov.br: ERR - Script exited with status = 1 <the requested operation was partially successful>
4/14/2018 10:52:33 AM - Error bpbrm(pid=6988) from client srvbd7-trf1.trf1.gov.br: ERR - bphdb exit status = 6: the backup failed to back up the requested files
4/14/2018 10:52:33 AM - Error bpbrm(pid=6988) cannot send mail to lista.seeco.backup@trf1.jus.br
4/14/2018 10:52:33 AM - Info bphdb(pid=18597) done. status: 6: the backup failed to back up the requested files
4/14/2018 10:52:33 AM - end writing
the backup failed to back up the requested files(6)

Log output rman script:

NB_ORA_SCHED=Application-Semanal_Full
 
Starting backup at 12-APR-2018 10:51:17
Finished backup at 14-APR-2018 10:51:37
 
released channel: ch01
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of release command at 04/14/2018 10:52:14
RMAN-06012: channel: ch00 not allocated

 

 

3 REPLIES 3

RiaanBadenhorst
Moderator
Moderator
Partner    VIP    Accredited Certified

Looks like a problem with the script "RMAN-06012: channel: ch00 not allocated"

You're probably trying to release ch00 more than one. Make sure there are equal number of allocate and release statements in the script

allocate ch00

allocate ch01

release ch00

release ch01

 

NOT

allocate ch00

allocate ch01

release ch00

release ch00

 

OR NOT

 

allocate ch00

allocate ch01

release ch00

release ch01

release ch00

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

@Ghustavo

You seem to be be running 2 scripts from the same policy:

4/12/2018 10:51:14 AM - Info bphdb(pid=18597) Processing /util/backup/bin/rman_full_jfdf.sh
4/14/2018 10:52:15 AM - Info bphdb(pid=18597) Processing /util/backup/bin/rman_full_trf1.sh

Both scripts are failing with exit code 1. 

Your dba needs to check the scripts carefully. 
Compare the scripts with the NBU sample scripts. 

Thank you Marianne! I asked the DBA team, the analysis in rman script.