Can we rename/relocate the RMAN backupset?

Hi All,
Can we rename/relocate the RMAN backupset?
I have the following scenerio:
1.took tha backup on /u99 mountpoint using rman
2.copy the entire backup to tape
3.filesystem /u99 scrapped
4.created new filesystem /u101
5.copy the backup to /u101 from tape.
Now we have to restore the database..but problem is that rman dont know /u101, by default it will search from /u99 filesystem...how to tell rman take the backup from /u101 not from /u99...
Please help me
Regards
Symal

You need to use the RMAN command
SET NEWNAME FOR DATAFILE <datafile_number> TO ‘<path_and_filename>’;
for each datafile you want to restore and recover.

Similar Messages

  • How can I move back the rman convert file from file system to ASM?

    I have no idea on pluging-in the data files which were unloaded as follows:
    SQL> alter tablespace P_CDDH_DSPGD_V1_2011 read only;
    SQL> alter tablespace P_IDX_CDDH_DSPGD_V1_2011 read only;
    SQL> exec dbms_tts.transport_set_check('P_CDDH_DSPGD_V1_2011,P_IDX_CDDH_DSPGD_V1_2011',true);
    SQL> select * from transport_set_violations;
    UNIX> expdp tossadm@pmscdhf1 dumpfile=ttsfy1.dmp directory=trans_dir transport_tablespaces = P_CDDH_DSPGD_V1_2011,P_IDX_CDDH_DSPGD_V1_2011
    RMAN> convert tablespace P_CDDH_DSPGD_V1_2011, P_IDX_CDDH_DSPGD_V1_2011 format = '/appl/oem/backup/temp/%I_%s_%t_extbspace.dbf';
    Starting conversion at source at 03-OCT-13
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=116 instance=pmscdhf11 device type=DISK
    channel ORA_DISK_1: starting datafile conversion
    input datafile file number=00079 name=+PMSCDHF1/p_cddh_dspgd_v1_2011_01.dbf
    converted datafile=/appl/oem/backup/temp/3536350174_2820_827849001_extbspace.dbf
    channel ORA_DISK_1: datafile conversion complete, elapsed time: 00:02:15
    channel ORA_DISK_1: starting datafile conversion
    input datafile file number=00080 name=+PMSCDHF1/p_idx_cddh_dspgd_v1_2011_02.dbf
    converted datafile=/appl/oem/backup/temp/3536350174_2821_827849136_extbspace.dbf
    channel ORA_DISK_1: datafile conversion complete, elapsed time: 00:01:45
    Finished conversion at source at 03-OCT-13
    Starting Control File Autobackup at 03-OCT-13
    piece handle=/dbms/oracle/r1110/db_01/dbs/c-3536350174-20131003-02 comment=NONE
    Finished Control File Autobackup at 03-OCT-13
    SQL> drop tablespace P_CDDH_DSPGD_V1_2011 including contents;
    SQL> drop tablespace P_IDX_CDDH_DSPGD_V1_2011 including contents;
    Afterward, how can I relocate the backup files "/appl/oem/backup/temp/3536350174_2820_827849001_extbspace.dbf", "/appl/oem/backup/temp/3536350174_2821_827849136_extbspace.dbf" back to the ASM group +PMSCDHF1 ???

    The 11.1 documentation only says  "Enables you to copy files between ASM disk groups on local instances to and from remote instances" and "You can also use this command to copy files from ASM disk groups to the operating system."
    http://docs.oracle.com/cd/B28359_01/server.111/b31107/asm_util.htm#CHDJEIEA
    The 11.2 documentation says "Copy files from a disk group to the operating system  Copy files from a disk group to a disk group Copy files from the operating system to a disk group"
    http://docs.oracle.com/cd/E11882_01/server.112/e18951/asm_util003.htm#CHDJEIEA
    I've never tried 11.1
    Hemant K Chitale

  • How can I rename all the images in different folders into a same name ?

    I need to rename all the jpgs in my music folders into "cover.jpg" so my mp3 player will recognize them as album covers, I've tried to use Automator but couldn't find a proper way to do it.
    Could anybody give me a hint about this? BTW I've kept only one picture in a single folder.
    Thanks~~

    I haven't tested this so maybe make a small folder to test on. In Automater create the following workflow
    Ask for Finder Items
    Get Folder Contents (Repeat for each subfolder found)
    Filter Finder Items (set Kind is image)
    Rename Finder Items
    You may need to play with the last one a little but I think Name Single Item should do the trick. This does assume there is only one image file in each folder. I did something similar to change the case of a bunch of random files over multiple directories.

  • Expired RMAN backupset?

    Dear all,
    I copied all the RMAN backupset and found this is expired. Is it possible to make this valid, NOT EXPIRED.
    backup piece handle=/backup/db/backup/RMAN/backup_PROD_748148532_40523_1_ibm9flpk_1_1.bck recid=40515 stamp=748148534
    crosschecked backup piece: found to be 'EXPIRED'
    Please advice.

    yes... it is in the original location. I can restore the control file successful.
    However, I get error when I restore database.
    >
    RMAN> restore database;
    Starting restore at 15-APR-11
    using target database controlfile instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=16 devtype=DISK
    allocated channel: ORA_DISK_2
    channel ORA_DISK_2: sid=17 devtype=DISK
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 04/15/2011 17:47:48
    RMAN-06026: some targets not found - aborting restore
    RMAN-06023: no backup or copy of datafile 235 found to restore
    >
    Please advice.

  • What are the caveats of using ASM as storage for RMAN backupsets?

    Hello all,
    We are currently evaluating RAC as our standard database platform. Until now we have been using 10g single instance with ASM for datafiles and local filesystems for RMAN backupsets and archivelogs. We chose to use local fileystems for backup components so that we can utilize a Tivoli filesystem backup in order to secure the backup pieces to tape.
    With RAC, we are looking into a shared location for backupsets and archivelogs. OCFS2 is out of the picture due to it not functioning on top of linux LVM. It appears that our only "shared" option is to use ASM for backupsets and archivelogs.
    My concern is that while the data diskgroups and rman diskgroups will be separate, they are both running on ASM and therefore if ASM fails or is corrupted, we have nothing. My current plan is to utilize the Tivoli RMAN MML (TDPO) to backup the backupsets to tape after the ASM backupset has completed.
    What experiences have been had with using ASM for RMAN backups?
    Any advice on additional protection we can employ to ensure that the database remains recoverable?
    Thanks in advance,
    David

    I've personally haven't implemented RMAN with ASM, but you may want to review Faster Backup, Faster Recovery which discusses RMAN utilizing ASM.
    And although you may not get any of the negative aspects from these presentations, you may want to check out High Availability Customer Case Studies, Presentations, Profiles, Analyst Reports, and Press Releases.
    Hope this helps!

  • How can I find out the database version from an old backupset

    Hi,
    I have to restore a database using an old backupset (4 years ago) to a new database. My challenge is we don't know what version of the database were used back then. Is there anyway I can find this information. We are using the RMAN catalog.
    Or is RMAN restore and recovery can be used to a newer version than the backupset?
    Thanks in advance.
    Regards,
    Sosan Fong

    Thanks for the reply and suggestion.
    We are using its own software for all databases hosted in the server. So I need to cleanup and reinstall after tested in 11g. A little bit more work, but if it works, that's ok. Is there any other suggestions?
    Regards,
    S

  • When renaming an address book through properties, I can no longer see the new address book in my list. Where did it go?

    I have about 30 different address books. Some of them where old but i didn't want to delete them. I no longer wanted them at the top of my list so I went to properties and added "z-" to the folder name to have them at the bottom of the list. Now I can't see the address books that I renamed. What happened to them and how do I get them back?

    Make hidden files and folders visible:
    * http://kb.mozillazine.org/Show_hidden_files_and_folders
    '''First locate all address book filenames in thunderbird.'''
    * In Thunderbird:
    * Help > Troubleshooting Information
    * click on 'show folder' button
    a new window opens.
    If you were going to alter anything you would need to close Thunderbird, but on this occasion you are just looking for information.
    * organise the list by 'Type'
    * look for all files that have MAB File type
    each file will have a .mab extension and these are the address books.
    Two address books are default address books called:
    abook.mab = Personal Address Book
    history.mab = Collected Addresses.
    Other addressbooks maybe called eg: abook-1.mab
    * Make a list of all the address book.mab filenames. Careful.. as spelling is important.
    '''Now to check what filename = what desciption in config editor'''
    * In thunderbird:
    * Tools > Options > Advanced > General tab
    * click on 'config Editor' button
    it will tell you to be careful :)
    now to locate info for each address book.
    '''How to search for each address book using info gained from checking the Profile folder.'''
    In top search type: abook.mab
    you should see this line:
    ldap_2.servers.pab.filename; abook.mab
    notice the 'pab' in ldap_2.servers.'''pab'''.filename
    In top search type: pab
    you will now be able to locate:
    * ldap_2.servers.pab.description; Value = Personal Address Book
    * ldap_2.servers.pab.dirType; Value = 2
    * ldap_2.servers.pab.filename; Value = abook.mab
    * ldap_2.servers.pab.position; Value = 2
    Using the above method will identify which .mab file in profile uses what info in config Editor.
    '''You can do this same method to check to see if the 'Z addressbook name' is in the list and which .mab file is assigned to that description.'''
    In top search type the name you assigned: Z addressbook name
    it should return a line:
    * ldap_2.servers.XXXX.description; Value = Z addressbook name
    make a note of the XXXX part in description
    In top search type: XXXX - whatever the actual description XXXX said to get the 'description', 'dirType', 'filename' and 'position'
    '''Please report back on results.'''
    Did you locate:
    eg: ldap_2.servers.XXXX.description; Value = Z addressbook name
    or was this still listed as old name without the Z part?
    Did you locate all of these 'description', 'dirType', 'filename' and 'position' for each of the missing address books?
    or were only some of these shown? Tell us what you found.
    Did you find that there were .mab files in Profile folder but they were missing in Config Editor or in Config Editor but not in Profile folder?
    Please state what was found. You can copy paste from the config editor.

  • Can we rename the database name in oracle 10g

    Hi,
    Can we rename the database name in oracle 10g.
    Please help

    Yes as already said, using DBNEWID Utility can renamed the database name.
    You can also take a look at the Oracle Metalink Note:429674.1 (Which was written by me) - Subject: How We Used the Oracle DBNEWID Utility to Change the Database Name
    Regards,
    Sabdar Syed.

  • My MacBook pro mid 2012 doesn't seem to have a "save as" function, so I can't seem to save multiple page pdf's together after moving thumbnails into the sidebar. It only saves the first page. I can't figure out the rename function either. Help?

    My MacBook pro mid 2012 doesn't seem to have a "save as" function, so I can't seem to save multiple page pdf's together after moving thumbnails into the sidebar. It only saves the first page.
    I do have a 2008 version of Microsoft Office installed to save money, but that shouldn't affect things. I can't figure out the "rename" function either. Help?

    Oh, and I also reset my NVRAM, my computer hasn't frozen again yet, so I'm not sure if it has made a difference.

  • Can we rename the existing z-program in SAP-abap

    Can we rename the existing z-program in SAP-abap. If yes, than how it can be done. But actually we don't want to copy the code from the existing z-program to the new one which will be created. We just want to make rename the existing z-program in SAP-abap. Please suggest, how it can be?
    Edited by: akg.amit on Oct 20, 2010 7:40 AM

    Hi Amit,
    In SE38 Open the program with old name. Press the RENAME button. In the Target program field provide the new name of program name. This new name for program should not exist in your system. Click on the Rename button. It will give a pop-up where it ask if you want to rename any includes in that program. I assume you dont have any includes in the program. So press the Rename button again without selecting the "Include" check box. Now it will ask for the Transport request. Provide your Transport request number. The program will be renamed.
    Regards,
    Immanuel.

  • Rman Backupset size is exceeding the database size

    Hi
    my rman backup size is exceeding the database backup size and occupying the full mountpoint. and finally due to space issue, backup is failing.
    Below is the RMAN script
    run {
    backup
    incremental level 0
    tag ASCPLVL0
    database plus archivelog ;
    delete noprompt backupset completed before 'sysdate - 4/24' ;
    Please look into this
    Regards
    M. Satyanvesh

    Are you using compression?
    Ans: No
    The size of an RMAN backup isn't always proportional to the size of the database.
    Ans: yeah I know, but it should be somewhere near to database size(lets say 100gb or 150 gb variance)
    How many archivelogs are you backing up with your database?  This is possibly a factor in the size of your db backup.
    Ans: archive log count per day is 18  and size is 34gb
    Have you got a retention policy in place and do you regularly delete obsolete backups/archivelogs?
    Ans: yes
    Are you taking this backup as part of a backup strategy? or is this just a one off for some other purpose which would seem to be the case.
    Ans: This is production systesm so its a part of backup strategy

  • Can you rename the destops in the misson control

    Can i rename the destops rather than having dashboard, destop1, destop2 etc. Can i name the destop1 to something else?

    I don't know if you could do something about my next sugestion but here it goes:
    It would be nice if I could enter the code in the following way:
    $muploadHelper = new tNG_MuploadHelper("../../../", 32);
    $muploadHelper->setMaxSize(5000);
    $muploadHelper->setMaxNumber(0);
    $muploadHelper->setExistentNumber(0);
    $muploadHelper->setAllowedExtensions("gif, jpg, jpe, jpeg, png");
    $muploadHelper->setUploadButtonTxt('Upload Images');
    where "setUploadButtonTxt" would be a new command offcourse.
    Any thoughts? I would hate to have to reinvent the wheel myself.
    Thanks

  • I am running Lion 10.7.2 and I have an external drive hooked to my time machine. I can't rename folders and when trying, I get an error code 8076. The checkbox "ignore permissions for this device" does not show on volume info. Help please???

    I am running Lion 10.7.2 and I have an external drive hooked to my time machine. I can't rename folders and when trying, I get an error code 8076. The checkbox "ignore permissions for this device" does not show on volume info. Help please???

    The TIme Machine volume does not have that checkbox.
    I think the issue is with your Finder...
    Go to Finder "Go" menu hold the option key and choose Library. Then go to Preferences trash these files:
    com.apple.finder.plist
    com.apple.sidebarlists.plist
    Then, restart, or log out and in again.
    (You will have to reset a few finder prefs the way you like them.)

  • HT3965 i have an old phone backup but named the same as current phone.  how can I rename the older phone backup?

    i have an old phone backup but named the same as current phone.  how can I rename the older phone backup?

    I'm about to buy a new phone.  last time when I had repairs, I have to restore so I can get my numbers, etc on the new phone, and when I do, there are two phones with same name (actually in 4 lines).  I restored from the one that came up, but it turned out not to be the most current information.  So I'm told I can rename the others (dont' know if deleting can be done) so that I always know which one to choose.  When restoring, it does not show the date, so I don't know which one to choose.

  • Inadvertantly relabled the "unmanaged" category in bookmarks - can't rename back to unmanaged

    Within Bookmarks Menu I accidentally renamed the "unmanaged"
    folder and I can't rename it back.....I find it odd that if you can change it why can't you change it back
    Thanks

    English language version of Firefox??
    If so, that folder was named '''Unsorted Bookmarks'''. See if that name sticks.
    If not an English version, I have no idea.

Maybe you are looking for