FOR EXPERTS!! How to restore controlfile from tape using TSM??

Hi ,
I have a backup of my database (controlfiles, datafiles and archives) on tapes (TSM).
I'm doing some tests and i delete all my controlfiles.
Now i'm trying to restore the control file using the following:
RMAN>set DBID=1489198124;
RMAN>run{
allocate channel t1 device type sbt_tape parms 'ENV=(TDPO_OPTFILE=/opt/tivoli/tsm/client/oracle/bin64/tdpo_capdb15p.opt)';
restore controlfile from autobackup;
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 05/10/2007 16:25:30
RMAN-06172: no autobackup found or specified handle is not a valid copy or piece
The autobackup is OFF now (i will put this ON later and become a production enviroment).
How can i get the controlfile backup from tape. I have this backup on tape made by RMAN using TIVOLI STORAGE MANAGER.
Tks,
Paulo.

This is the command:
run {
allocate channel t1 device type sbt_tape parms 'ENV=(TDPO_OPTFILE=/opt/tivoli/tsm/client/oracle/bin64/tdpo_capdb15p.opt)';
backup current controlfile;
This is my backups!!!
RMAN> list backup of controlfile;
List of Backup Sets
===================
BS Key Type LV Size Device Type Elapsed Time Completion Time
5234 Incr 0 7.25M SBT_TAPE 00:00:06 10-MAY-07
BP Key: 5236 Status: AVAILABLE Compressed: NO Tag: SEMANAL
Handle: BKP_HOT_SEMANAL_02ihckld_1_1 Media: 35240
Control File Included: Ckp SCN: 215589 Ckp time: 10-MAY-07
BS Key Type LV Size Device Type Elapsed Time Completion Time
5254 Incr 1 7.25M SBT_TAPE 00:00:04 10-MAY-07
BP Key: 5260 Status: AVAILABLE Compressed: NO Tag: SEMANAL
Handle: BKP_HOT_SEMANAL_05ihcksm_1_1 Media: 35240
Control File Included: Ckp SCN: 215769 Ckp time: 10-MAY-07
BS Key Type LV Size Device Type Elapsed Time Completion Time
5315 Incr 0 7.25M SBT_TAPE 00:00:05 10-MAY-07
BP Key: 5327 Status: AVAILABLE Compressed: NO Tag: SEMANAL
Handle: BKP_HOT_SEMANAL_0aihcld9_1_1 Media: 35212
Control File Included: Ckp SCN: 216284 Ckp time: 10-MAY-07
BS Key Type LV Size Device Type Elapsed Time Completion Time
5454 Incr 0 7.25M SBT_TAPE 00:00:04 10-MAY-07
BP Key: 5459 Status: AVAILABLE Compressed: NO Tag: SEMANAL
Handle: BKP_HOT_SEMANAL_0gihcmjn_1_1 Media: 35240
Control File Included: Ckp SCN: 217433 Ckp time: 10-MAY-07
BS Key Type LV Size Device Type Elapsed Time Completion Time
5553 Incr 0 7.11M DISK 00:00:01 10-MAY-07
BP Key: 5556 Status: AVAILABLE Compressed: NO Tag: SEMANAL
Piece Name: /oracle/product/10.2.0/db/dbs/BKP_HOT_SEMANAL_0nihcv0m_1_1
Control File Included: Ckp SCN: 260191 Ckp time: 10-MAY-07

Similar Messages

  • Restore controlfile from tape backup without autobackup setting on

    I am testing a scenraio of restoring control file if we loose all control files.
    My RMAN settings for CONTROLFILE AUTOBACKUP is OFF. But, I have taken a backup of controlfile using 'BACKUP CURRENT CONTROL FILE' .
    When I tried to restore control file. I am receiving following error:
    RMAN> run {
    2> allocate channel c101 type sbt_tape;
    3> restore controlfile ;
    4> }
    allocated channel: c101
    channel c101: sid=153 devtype=SBT_TAPE
    channel c101: VERITAS NetBackup for Oracle - Release 6.0 (2006110304)
    Starting restore at 24-MAY-2007 13:44:59
    using channel ORA_DISK_1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 05/24/2007 13:44:59
    RMAN-06563: control file or SPFILE must be restored using FROM AUTOBACKUP
    My question is, How can I restore control file from tape backup without CONTROLFILE AUTOBACKUP setting ON.
    It sounds like, There is no way we can restore control file from tape backup if you've not set the CONTROLFILE AUTOBACKUP is ON.
    Please advice

    When all controlfiles are lost and a recovery catalog is NOT used, RMAN has no information , where to find the controlfile backup. It's not enough to specify the channel, such a channel could hold many different backups from many different databases. You have tell , which database and which backupset. Modify your run block:
    SET DBID <DBID of the database,for which you want to restore the controlfile>;
    RESTORE CONTROLFILE FROM <name_of_backupiece_which_contains_the_controlfile backup>';
    Werner

  • RMAN error when restoring controlfile from tape

    Hi,
    We have a Production database with instance name PROD.
    We use Symantec Netbackup software to backup this database to tape library.
    We want to test some recovery scenarios on a test server. So we want to restore the production backups from Tape to this test server.
    We did the following:
    Cloned the ORACLE Home to the Test Server.
    Changed the db_name parameter to PROD and also set ORACLE_SID to PROD.
    then we connected to RMAN and ran the following command to restore the control files:
    RMAN> run {
    set dbid 4155532403
    set controlfile autobackup format for device type 'sbt_type' to '%F';
    set until time "to_date('16/12/2012:10:13:37','dd/mm/yyyy:hh24:mi:ss')";
    allocate channel t1 device type 'sbt_tape';
    SEND 'NB_ORA_SERV=riysvbkp-001,NB_ORA_CLIENT=lh-erp';
    restore controlfile to '/testerp/dbexec/tmp/cf1.ctl' from autobackup;
    executing command: SET DBID
    database name is "PROD" and DBID is 4155532403
    executing command: SET CONTROLFILE AUTOBACKUP FORMAT
    executing command: SET until clause
    allocated channel: t1
    channel t1: SID=171 device type=SBT_TAPE
    channel t1: Veritas NetBackup for Oracle - Release 7.1 (2011082510)
    sent command to channel: t1
    Starting restore at 17-DEC-12
    channel t1: looking for AUTOBACKUP on day: 20121216
    channel t1: AUTOBACKUP found: c-4155532403-20121216-01
    channel t1: restoring control file from AUTOBACKUP c-4155532403-20121216-01
    released channel: t1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 12/17/2012 08:34:41
    ORA-19870: error while restoring backup piece c-4155532403-20121216-01
    ORA-19507: failed to retrieve sequential file, handle="c-4155532403-20121216-01", parms=""
    ORA-27029: skgfrtrv: sbtrestore returned error
    ORA-19511: Error received from media manager layer, error text:
    Failed to process backup file <c-4155532403-20121216-01>
    Here you can see that AUTOBACKUP is found but RMAN is unable to process the backup piece.
    I am not able to see any errors in the log files. Please advise.
    Thanks,
    Muneer.

    Thanks.
    The earlier error is gone and now I am getting the following error:
    channel t1: looking for AUTOBACKUP on day: 20121216
    channel t1: AUTOBACKUP found: c-4155532403-20121216-01
    channel t1: restoring control file from AUTOBACKUP c-4155532403-20121216-01
    released channel: t1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 12/17/2012 14:34:25
    ORA-19870: error while restoring backup piece c-4155532403-20121216-01
    ORA-19507: failed to retrieve sequential file, handle="c-4155532403-20121216-01", parms=""
    ORA-27029: skgfrtrv: sbtrestore returned error
    ORA-19511: Error received from media manager layer, error text:
    Backup file <c-4155532403-20121216-01> not found in NetBackup catalog

  • How to restoring controlfile when autobackup was not enabled from TAPE?

    Database was dropped an year back and we need to restore the database
    1)controlfile autobackup was not enabled
    2)backups are in tape
    3)no catalog db used
    4)DBID is known.
    we can request to load tapes that are holding backups from 1 week prior of db drop date
    we can not use "restore controlfile from autobackup" as autobackup was not enabled. So how can we restore the controlfile?

    user8860934 wrote:
    Database was dropped an year back and we need to restore the database
    1)controlfile autobackup was not enabled
    2)backups are in tape
    3)no catalog db used
    4)DBID is known.
    we can request to load tapes that are holding backups from 1 week prior of db drop date
    we can not use "restore controlfile from autobackup" as autobackup was not enabled. So how can we restore the controlfile?Do you have full backup... did include current controlfile mentioned in the script?
    1)catalog those backupsets
    2)check the backup summary for controlfiles & datafiles, SPFILE(optional)
    3) if exist then you can restore using DBID or catalog start with commands.
    Thanks

  • Restore controlfile from leagato tape backup

    I am using legato tool to perform rman tape backup.
    I use the following script on legato to get the controlfile backup.
    "backup current controlfile format '%d_%s_%p.ctrl'; "
    If I lost the controlfile how do i restore controlfile from the tape. Assume that the DB in nomount stage.

    Hi,
    backing up autobackup controlfiles to legato is possible. All you have to do is to configure autobackup accordingly. By default autobackup controlfiles will get written to disk.
    However i strongly recommend to use a rman backup catalog. This will save you a lot of time consuming trouble if you need to restore your database.
    The rman catalog database itself does not need any license and is rather small (5 GB on disk, 512 MB memory).
    Restoring the control file will be something like this:
    set controlfile autobackup format for device type sbt to '%F';
    restore controlfile from autobackup;
    Ronny Egner
    My Blog: http://blog.ronnyegner-consulting.de

  • HT201210 I have an old i phone 3G and do not know the password for it. trying to restore it from itunes but keep getting error code 1015, any help on how to get passed this please?

    I have an old i phone 3G and do not know the password for it. trying to restore it from itunes so my daughter can use it as an ipod but keep getting error code 1015, any help on how to get passed this please?

    Hi ratcat14!
    I have an article that can help you troubleshoot this issue:
    Resolve specific iTunes update and restore errors
    http://support.apple.com/kb/ts3694
    Check for hardware issues
    Try to restore your iOS device two more times while connected with a cable, computer, and network you know are good. Also, confirm your security software and settings are allowing communication between your device and update servers. If you still see the alert when you update or restore, contact Apple support.
    Common errors: 1, 10-47, 1002, 1011, 1012, 1014, 1000-1020.
    Thanks for being a part of the Apple Support Communities!
    Cheers,
    Braden

  • How to extract controlfile from backup set?

    Hi
    If I use this "INCLUDE CURRENT CONTROLFILE" in backup command direct to tape and no catalog, How to extract controlfile from backup set from tape?
    Thanks,
    Taohiko
    Edited by: taohiko on Sep 17, 2009 7:54 AM

    yes
    list backup of controlfile
    will show you where controlfile backup piece reside with backup piece name
    after then
    restore controlfile from 'backup_piece_naem_with_its_full_path_from_above_command_result';Khurram

  • How to Restore iPad from iPhone Backup?

    I have an iPad and an iPhone, now I have a problem, I want to Restore iPad from iPhone, but Idon't know how to do this job, can you give me some advise about how to restore iPad from iPhone backup file?

    Restore from iCloud Backup
    1. Settings>General>Reset>Erase all content and settings
    2. Tap Erase
    3. You'll see Apple logo and progress bar
    4. Hello
    5. Slide to set up
    6. Set language
    7. Set country
    8. Choose Wi-Fi network; enter Wi-Fi password
    9. (a) Use Location Service (b) Don't Use Location Service
    10. Select option
    11. (a) Setup as New iPad (b) Restore from iCloud Backup (c) Restore from iTune Backup
    12. Selected Restore from iCloud Backup
    13. Enter password for iCloud
    14. Agree to Terms and Conditions
    15. Setup Apple ID
    16. Select backup
    17. Restoring from iCloud
    18. Hello
    19. Restore Completed. Your iPad was restored successfully. There are just a few more steps to follow and then you're done!
    20. Continue
    21. Finish setting iCloud enter Password
    22. Updating iCloud settings
    23. Create a Passcode
    24. Welcome to iPad
    25. Get Started
    26. Restoring Apps and Media
    27. Enter Apple ID and Password
    28. Notice: Restore Incomplete, some items could not be downloaded from the Store. If they are on your computer, you can restore them by syncing with iTune
    29. Connect iPad to iTune to sync with computer
    30. Sync Music, Videos and Album Artwork

  • Restore NDS from Tape

    I need to restore NDS from tape.
    There is not NDS backup (Arcserve 9.01).
    Can it be restored from files ?

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1
    Ah, well, maybe with SBS it is an option (no idea, never used that
    product) and if it's a single-server tree you at least shouldn't be
    corrupting your tree by doing so but the hardest part will be your backup.
    If it does that, go for it but if not you'll need to recreate the tree or
    find another backup. If you ever ran `dsrepair -rc` you may have a backup
    in sys:/system/dsr_dib as I recall that can be restored by Novell.
    Good luck.
    rvincenty wrote:
    > Thanks for the reply. It is a SBS so only one server on the tree.
    > I will need to review the backup tapes for the /_netware
    >
    > [email protected];1800440 Wrote:
    > Probably best-asked in the eDir forums, along with exactly what you
    > have
    > as far as a backup. Does Arcserve backup the sys:/_netware directory?
    > Also are there other servers in the tree? This type of restoration is
    > completely unsupported.
    >
    > Good luck.
    >
    >
    >
    >
    >
    > rvincenty wrote:
    >>>> I need to restore NDS from tape.
    >>>> There is not NDS backup (Arcserve 9.01).
    >>>> Can it be restored from files ?
    >>>>
    >>>>
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v2.0.9 (GNU/Linux)
    Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
    iQIcBAEBAgAGBQJKJCrNAAoJEF+XTK08PnB5am0QALRZF97kUj ELOF1Wt97CqNYF
    /GYXOCdO2z1bMplrauT+nF/8Oufvu1fGGtr6E6+19Ona44Pb6X2d5l/XVkSnenvu
    fI9vdOzgzGBZ5W+1ZUVxLJwMHR6wiAsmQUeFnwL6ABWcojIZWH Hxve7VOz7WFKuM
    ZqEAP+GW4fPb1AO6JjKKk46JwT4ICxYJUZq6W5I9bC2q1g7AZ6 1HAxyxydBUbmCp
    bAhtC2QBL0kHnXjd+dHBlFsUaaApe1ADGmGfuQCeTQi4Pps+Bh vZ7t5Rl5vKaDW9
    L9ZW9f0FCMEt9/79jVb1BAQzavmKQKoRj1hxvu31bDnGGP/78d7TvYzWMHd94TX+
    53aFJunzPA1BviX2RCsnMucH1xTsT4UEHRz2L81PKBs9VI4mdr 8+86pyvGUUNLYh
    efHIqAkPE8T7qeWTtmMgLbz79Rppv9oM3nwBfR+8tcohtWch8M XrTYgfihcexV/h
    70fcMDxJnr77NSNVELxhFUm5FMhhsLhCdyPDbq/Abqyj4h/N8q2n6xXsv6zFuVCS
    pz6YFtQNXILFKccCo4iyt0i16zhk3iZ7yQKAJrYP9vOU7xGrFR F/SapdIbf3DeJT
    pl4xeQe7GS1CD3lxS4ULQHdNf7zqUfx7Yf+GNUe99tS3Rd+v9Z uP3gpKyPK+llRP
    Xra28iHja3CQYU4YzHfi
    =Eums
    -----END PGP SIGNATURE-----

  • How to restore controlfile ?

    Hi,
    I have a database. its has only one controlfile (multiplexing is not done).
    But I have a proper backup of all...
    All of sudden controlfile got corrupted.
    Now I need to restore controlfile from backup. But I dont remember my DBid.
    Can someone help how to proceed now?
    Thanks & Regards,
    Suresh S.

    please find the DBID from log files and restore the controlfile from backup.
    this may help you http://download-west.oracle.com/docs/cd/B19306_01/backup.102/b14192/recov004.htm#CFABADJC
    also take it as a lesson and do multiplexing of controlfiles and immediately take full backup of database

  • How to restore files from Time Machine after Clean Install of Mavericks

    How to restore files from Time Machine after Clean Install of Mavericks. I know the data is there but seems unaccessable because I may have changed the Computer or Owner name. Is there any way to fix that now?

    Hi Linc,
    my back-up data is managed by Time Machine; the actual data is on a second internal Hard Drive with a capacity of 1TB - not partitioned. I am using Time Machine and have access to all data backed up since Mavericks Clean Install but not the data prior to this date.
    When I open the 1TB drive in Finder I can see a folder "Backups.backupdb/Sigi's Mac Pro/ followed by many folders of backup dates going back to 2010-09-20-103441 and up to 2014-02-07-142414 all followed with folder Macintosh HD.  February 7th  2014 was the date of the clean install.
    These Backups are followed by backup date folder 2014-02-08-075554 with a subfolder of MacPro-320GB (this is the name I assigned to my Boot Drive during formatting; I suspect I should have assigned the same name as before ie. Macintosh HD) and 2014-02-11 with a subfolder Macintosh HD, these are the ones I get access to by way of Time Machine > Restore.
    Weird thing is on Febr 11 when I relised my possible mistake and renamed the Bootdrive back to what it was initially ie. Macintosh HD despite this I have access to all backup data since the Clean Install in both folders MacPro-320GB as well as Macintosh HD but not to any data prior to the Clean Install.
    Is there something that Time Machine knows and prevents access or is it simply a matter of renaming the subfolder 2014-02-08-07554/MacPro-320GB to ........./Macintosh HD?
    I like to restore selectively and not everything - It was hard work reinstalling apps that were supposed to be the troublemakers (ref my discussion on Maverick problems) but I now need to get onto data specific to some of these apps as well as other data I may have missed. Long story? Yes and sorry.
    Sigi

  • Hard disk crashed, restored data from tape backup, Firefox not showing bookmarks. What is the location of bookmarks & favourites to ensure I have restored the correct file?

    Hard disk crashed (XP), restored files from tape backup using Retrospect onto new Windows 7 laptop. Started up Mozilla after restore but bookmarks and favourites are missing.
    I still have access to the backup tape and files. I was wondering whether the bookmarks are kept anywhere special other than the Mozilla program file that I restored.

    http://support.mozilla.com/en-US/kb/Recovering+important+data+from+an+old+profile

  • What is Lightroom for?  How is it different from Photoshop?

    What is Lightroom for?  How is it different from Photoshop?

    Hi stephen,
    for detail information, read this : https://forums.adobe.com/message/4568487
    regards

  • Restoring controlfile from rman

    Hi
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0
    on OEL4
    I have lost all the control files (infact deleted knowingly to simulate ). i have a full database backup in recovery catalog. I do not know the dbid of database.
    I am not able to connect to target database from rman it shows.
    RMAN> connect target sys/prod@PROD
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    ORA-12528: TNS:listener: all appropriate instances are blocking new connectionsIs there anyway i can restore controlfiles from rman ? or i need to create controlfiles manually.
    Thanks
    Edited by: user8896122 on Jan 3, 2010 6:03 AM

    You can try on the machine hosting the database:
    C:\Users\Pierre>rman target /
    Recovery Manager: Release 10.2.0.1.0 - Production on Sun Jan 3 15:29:02 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    connected to target database (not started)
    RMAN> startup nomount
    Oracle instance started
    Total System Global Area     805306368 bytes
    Fixed Size                     1289996 bytes
    Variable Size                213909748 bytes
    Database Buffers             587202560 bytes
    Redo Buffers                   2904064 bytes
    RMAN>and then you can try to connect to recovery catalog.

  • How to restore Data from past iCloud backup? I lost my spreadsheets from Numbers, need help.

    How to restore Data from past iCloud backup?
    Is there a way where i can retrieve my spreadsheets from the past iCloud backup of numbers?

    Your Numbers documents were synced with iCloud so they would be stored on the server rather than being included in the backup.  If you were signed into your iCloud account on a Mac that you were backing up with Time Machine, you could restore them from your Time Machine backup.

Maybe you are looking for

  • Multiple Hard Drive Failures on Macbook Pro 15inch (late 2008)

    So I just lost my THIRD hard drive since July on my refurbished Macbook Pro. I was told when the first one failed it was just bad luck. That hard drives fail once in a while. Then in December when the 2nd one died I was told there was no way there wa

  • HP 2000-2d19WM Notebook Windows 7 64-bit Drivers

    My friend recently gave me her laptop and told me it was very slow and was having several problems. I took a look at it and it's riddled with malware and adware. After discussing it with her, she said she'd like if I could install Windows 7 on it for

  • Trade Promotion Management

    Hi, Can any one know where to find 1. Configuration related documentation or 2. End to end TPM process documents  The TPM process is not covered in any of the CRs and hence its difficult to configure in the system.  Any quick inputs will be highly ap

  • JSP masscompile issue

    Hello, I am running this command "$FND_TOP/patch/115/bin/perl ojspCompile.pl --compile --flush -p 2", and I received a lot of compiltion errors like the following: [11424] !!COMPILATION ERROR(0) eiste/jsp/admin_show_lovrows.jsp: javac: file not found

  • My MacBook Pro won't start. What do I do?

    I press The power on button and The screen Lights  up and the Apple logo appears. The little circle at th center of the screen begins to rotate. I wait and wait and nothing else happening. What's wrong?