We help IT Professionals succeed at work.

rman all backup are expired

1,317 Views
Last Modified: 2015-07-17
Hello,

I see that in a rman catalog all backups are expired.
Why?
Is a crosscheck command can expired all backup and the last backup?
I have to restore a db urgently.
How can I resolve it?
Thanks
Regards
Comment
Watch Question

Author

Commented:
The status of backup are available if rman not connected to the catalog but controlfile.
Is it possible to synchronize them?

Thanks

Regards
Steve WalesSenior Database Administrator
CERTIFIED EXPERT

Commented:
A status of EXPIRED means that the files are not in the location that your RMAN repository (either the controlfile or a catalog database) expects them to be in.

If you are doing backups to disk, for example, and then later move those backup files to tape and remove them, then Oracle can't find them.

What are you doing to the backup files after your backups complete ?  Are you moving them somewhere else ?

Author

Commented:
no only on tape for 1 month and the backup status is expired for all days in July if I connect to catalog rman but the status are avalaible if I list backup without controlfile. Thanks
Steve WalesSenior Database Administrator
CERTIFIED EXPERT

Commented:
I don't understand what you mean by "List backup without controlfile" - can you clarify that please ?

Have you ever tested your restore processes before ?  There's an old saying "Your backups are only as good as the last time you tested the restore"

Author

Commented:
I have to restore a database size 3tb on another server, I can't copy backup on disk :



If I connect without catalog rman target / the backup piece is AVAILABLE :
 Backup Set Copy #2 of backup set 24210
  Device Type Elapsed Time Completion Time     Compressed Tag
  ----------- ------------ ------------------- ---------- ---
  SBT_TAPE    00:00:00     15/07/2015 23:54:06 YES        BCOM1PRD_1_20150715_214741

    List of Backup Pieces for backup set 24210 Copy #2
    BP Key  Pc# Status      Media                   Piece Name
    ------- --- ----------- ----------------------- ----------
    24198   1   AVAILABLE  @aaaa2                  diqc503e_1_2

but if I try to restore ORA-27029: skgfrtrv: sbtrestore returned error
ORA-19511: Error received from media manager layer, error text:
   Backup file <50qbd6pb_1_2> not found in NetBackup catalog


I have to restore the database on another server but when I connect with catalog rman catalog rprd@rcat


BS Key  Size       Device Type Elapsed Time Completion Time
------- ---------- ----------- ------------ -------------------
21769145 1.01G      SBT_TAPE    00:00:42     15/07/2015 23:50:24
        BP Key: 21770183   Status: EXPIRED  Compressed: NO  Tag: TAG20150715T234940
        Handle: dtqc558m_1_1   Media: @aaaa2

Thanks
Steve WalesSenior Database Administrator
CERTIFIED EXPERT

Commented:
It appears you're using Netbackup as your backup tool.  I'm sorry,  but I don't have any experience with that tool (nor backup directly to tape, I'm afraid).

I'm not going to be able to offer you much more help here.

My suggestion at this point, if no other experts can offer you any insight, would be to contact your backup solution vendor (Netbackup) for assistance.

Author

Commented:
ok thanks
Franck PachotOracle DBA
CERTIFIED EXPERT

Commented:
Hi,
Are you trying to access backups that have been made from another host?
Then you probably have to set the NB_CLIENT to that host.
That can be a reason why backups are not found.
Regards,
Franck.

Author

Commented:
Are you trying to access backups that have been made from another host? --> yes
Then you probably have to set the NB_CLIENT to that host --> how?
I think crosscheck backup has expired backupset but I'm not sure.

Thanks
Franck PachotOracle DBA
CERTIFIED EXPERT

Commented:
Hi,
Yes crosscheck has made them EXPIRED because they cannot be found.
You can set the NB_CLIENT withthe RMAN 'send' command such as in: http://www.orafaq.com/wiki/Veritas_Netbackup
Then crosscheck to see if it is available
Regards,
Franck.

Author

Commented:
Hello,

Thanks I do it.  But do I have to configure bp.conf like its an redirect backup?

Regards
Franck PachotOracle DBA
CERTIFIED EXPERT

Commented:
Usually only the nb_client is different and you can set it in the RMAN session

Author

Commented:
I do it  but if I try to restore ORA-27029: skgfrtrv: sbtrestore returned error
 ORA-19511: Error received from media manager layer, error text:
    Backup file <50qbd6pb_1_2> not found in NetBackup catalog
Thanks
Franck PachotOracle DBA
CERTIFIED EXPERT

Commented:
Try to find it from Netbackup GUI so that you know if it's there and where

Author

Commented:
I don't know how I can do it.
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION

Author

Commented:
Thanks the restore is running. Regards

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.