RMAN backup file location

hi gurus,
my database backup file are located in one location and rman is looking for backup files in another location.
backup files are large size so it's long time to move
how can i tell to rman look for rman in perticular location
please let me know
thank you!

899329 wrote:
hi gurus,
my database backup file are located in one location and rman is looking for backup files in another location.
backup files are large size so it's long time to move
how can i tell to rman look for rman in perticular location
please let me know
thank you!Instead of moving if you want to register those backups with your controlfile. (RMAN repository)
then
$rman target /
RMAN> catalog start with 'location';
It will search for backup pieces in that location, and it prompts you for confirmation with YES/NO.
Give yes, so that all the files will be cataloged, Later you can able to view in list backup.
HTH.

Similar Messages

  • RMAN backup files are still exist since long time, how to delete?

    Dear sir;
    I'm using the below script to do daily backup, however there are many rman backup files are still exist and consumes HD size, how could I delete these files in daily bases? some files dated in FEB, MAR, APR,
    ============Daily RMAN script=========
    rman target /<<!
    backup incremental level=0 as compressed backupset database format '/u15/rman/full_backup_%U.rman';
    backup archivelog all not backed up 2 times format '/u15/rman/arc_backup_%U.rman';
    backup current controlfile format '/u15/rman/control_%U.rman';
    delete archivelog all backed up 2 times to device type disk completed before 'sysdate-7';
    delete noprompt obsolete;
    ================================END
    Thanks and best regards
    Ali

    Hi;
    Our backup policy should have 7 days; however we have here some files from JAN, FEB,MAR, APR /2012 WHICH ARE BEYOND THE RETENTION DATE and these files should be deleted by executing " delete noprompt obsolete; ".
    All files are exist in /u15/rman/
    -rw-r----- 1 oracle oinstall 1151763968 Jan 21 01:36 arc_backup_7kn19h4a_1_1.rman
    -rw-r----- 1 oracle oinstall 1136882176 Jan 21 01:36 arc_backup_7ln19h4q_1_1.rman
    -rw-r----- 1 oracle oinstall 1135984640 Jan 21 01:36 arc_backup_7mn19h5a_1_1.rman
    -rw-r----- 1 oracle oinstall 1126627328 Jan 21 01:37 arc_backup_7nn19h5q_1_1.rman
    -rw-r----- 1 oracle oinstall 880606720 Mar 12 02:53 arc_backup_7nn5ldhp_1_1.rman
    -rw-r----- 1 oracle oinstall 1093043712 Jan 21 01:37 arc_backup_7on19h6a_1_1.rman
    -rw-r----- 1 oracle oinstall 9797632 Dec 15 01:04 control_04mu7tcp_1_1.rman
    -rw-r----- 1 oracle oinstall 36896768 Mar 3 02:55 control_4cn4tm9k_1_1.rman
    -rw-r----- 1 oracle oinstall 36896768 Mar 4 02:53 control_4on50ahm_1_1.rman
    -rw-r----- 1 oracle oinstall 36896768 Mar 5 02:55 control_56n52v1j_1_1.rman
    -rw-r----- 1 oracle oinstall 16252928 Jan 23 01:40 control_8tn1eq3t_1_1.rman
    -rw-r----- 1 oracle oinstall 16252928 Jan 24 01:40 control_9cn1heg0_1_1.rman
    -rw-r----- 1 oracle oinstall 202940416 Dec 15 01:04 full_backup_01mu7t50_1_1.rman
    -rw-r----- 1 oracle oinstall 1097728 Dec 15 01:04 full_backup_02mu7tcc_1_1.rman
    -rw-r----- 1 oracle oinstall 201285632 Dec 14 01:04 full_backup_0nmu58ou_1_1.rman
    -rw-r----- 1 oracle oinstall 5957304320 Feb 29 02:46 full_backup_2ln4g9l1_1_1.rman
    -rw-r----- 1 oracle oinstall 4128768 Feb 29 02:47 full_backup_2mn4gft8_1_1.rman
    -rw-r----- 1 oracle oinstall 6027075584 Mar 1 02:49 full_backup_32n4o6ov_1_1.rman
    -rw-r----- 1 oracle oinstall 4128768 Mar 1 02:49 full_backup_33n4od66_1_1.rman
    -rw-r----- 1 oracle oinstall 6187171840 Mar 2 02:51 full_backup_3gn4qr50_1_1.rman
    -rw-r----- 1 oracle oinstall 4145152 Mar 2 02:51 full_backup_3hn4r1kn_1_1.rman
    -rw-r----- 1 oracle oinstall 6115786752 Mar 3 02:51 full_backup_40n4tfgu_1_1.rman
    above is a short list of contents.
    to do our daily backup we perform the following script (in daily)
    ==================
    backup incremental level=0 as compressed backupset database format '/u15/rman/full_backup_%U.rman';
    backup archivelog all not backed up 2 times format '/u15/rman/arc_backup_%U.rman';
    backup current controlfile format '/u15/rman/control_%U.rman';
    delete archivelog all backed up 2 times to device type disk completed before 'sysdate-7';
    delete noprompt obsolete;
    ==================
    Thanks and best regards
    Ali

  • How to find total size of RMAN backup files?

    Hi there
    env: Oracle 10gR2, RHEL 64bit
    My client has a production database where rman backups are taken: Level-0 backup every Sunday and Level-1 Monday thru Saturday.
    I have very limited access to this production database because it is being managed by third party and they won't provide me my required info (not sure why). I do not have access to their rman repository. To connect to the database I have to login to an intermediate server and then login to the database server. I have no access to Enterprise Manager. So in short, my access is limited. I want to gather the information on total size of rman backup files - both for a Level-0 and Level-1 backups separately. I understand that this info can be retrieved from rman repository. Are there any data dictionary views/tables where I may get this info?
    Best regards

    Hi,
    Have you searched in  forum check this:https://forums.oracle.com/thread/1097939
    HTH

  • Restore database to another host - I have only rman backup files

    Hi all,
    The PC where Oracle was installed is crashed.
    I have only the RMAN backup pieces in other computer.
    I want to restore/recover this RMAN backup to other PC.
    I know the commands, restore database, recover database,
    but I've always used these commands with rman into existing rman
    user. Now, I don't have anything. I have only the RMAN backup files.
    How can I restore/recover database to other PC using these files?
    The steps are? create other database, create a rman user, register
    the rman backup files in this new rman, and restore these files
    in this new database already created with the same name?
    thank you!!!!

    XM wrote:
    Hi all,
    The PC where Oracle was installed is crashed.
    I have only the RMAN backup pieces in other computer.
    I want to restore/recover this RMAN backup to other PC.
    I know the commands, restore database, recover database,
    but I've always used these commands with rman into existing rman
    user. Now, I don't have anything. I have only the RMAN backup files.
    How can I restore/recover database to other PC using these files?
    The steps are? create other database, create a rman user, register
    the rman backup files in this new rman, and restore these files
    in this new database already created with the same name?
    thank you!!!!You need to perform disaster recovery. For this, follow my step by step video tutorial:
    http://kamranagayev.wordpress.com/2010/03/29/rman-video-tutorial-series-performing-disaster-recovery-with-rman/

  • HT1766 where is the Itunes backup file located in the computer ?

    where is the Itunes backup file located in the computer?

    Read here:
    http://support.apple.com/kb/ht4946

  • Backup file location on Window Vista?

    Hi Genius,
    I am looking for backup file location for iPhone 3G on vista. If you can tell me where to look for this on Window Vista.
    Thank You.

    My pleasure. Thanks for the !

  • Can TM Backup Files Located on G4 Running OS 10.4.11?

    Purchased MyBook and utilized the WD Backup software in order to backup files located on G4 running 10.4.11. Since then, have purchased a G5 iMac running 10.6.5.
    Before I reformat the MyBook in order to utilize TM to automatically backup the iMac, I'd like to ensure that I can also backup the G4 files using TM via File Sharing w/ethernet connection between the two computers.
    If TM can't do this automatically, I am prepared to copy the files from the G4 "manually" over to the WD MyBook once it is reformated. Since I am using the G5 almost 100% of the time, I am mostly concerned about creating a single backup of the entire G4 (which is already on the WD MyBook but will be lost if I reformat).
    What would be the best way to do that (creae a complete backup of the G4) if TM cannot be utilized?
    Thanks.

    Brae wrote:
    Purchased MyBook and utilized the WD Backup software in order to backup files located on G4 running 10.4.11. Since then, have purchased a G5 iMac running 10.6.5.
    A G5 iMac can't run OS X 10.6.5. Either it's an Intel iMac or it's running (at most) OS X 10.5.x. From your system details, it seems to be running OS X 10.5.6, in which case your message should have been posted in the Leopard area instead of the Snow Leopard area.
    What would be the best way to do that (creae a complete backup of the G4) if TM cannot be utilized?
    You could divide that WD disk into two partitions. Use one with Time Machine to back up the iMac. When you want to back up the G4, turn off Time Machine, dismount the WD disk, then use SuperDuper! (http://www.shirt-pocket.com/) or Carbon Copy Cloner (http://www.bombich.com/) to make a "clone" backup of the G4. After the backup is complete, dismount the WD disk, mount it on the G5, then turn Time Machine back on.

  • In windows 7 where is the iPad backup file located?

    In windows 7 where is the iPad backup file located?

    iTunes places the backup files in the following places:
    Windows XP: \Documents and Settings\(username)\Application Data\Apple Computer\MobileSync\Backup\
    Windows Vista: \Users\(username)\AppData\Roaming\Apple Computer\MobileSync\Backup\

  • Catalog addiional rman backup files

    Im trying to catalog addiional rman backup files, and getting this error:
    RMAN-07518: Reason: Foreign database file DBID: 2319619701 Database Name: SASP
    Previous activities: Database dictionary was recreated due to charset problems while exporting the database...
    Enterprise Manager was reconfigure with create repos due to same problems....
    Thanks in advance...
    Message was edited by:
    elvyscruz

    Previous activities: Database dictionary was
    recreated due to charset problems while exporting the
    database...
    Enterprise Manager was reconfigure with create repos
    due to same problems....I have not seen the full error messages that follows this one (post it if possible). However, if you recreated the database, then your database will now have a new DBID after it was recreated. You can see the current DBID of the database to see if it matches the one above.
    If it is a standby database and it is logical standby, then it will also have a different DBID.
    select dbid, name, database_role from v$database;

  • SQL to find rman backup files required for recovery?

    Hi folks,
    I'm looking for a sql statement that I can use to query the database and return a list of the RMAN backup files needed for a successful recovery based on a SCN or a point in time. I want to do it through SQL (not though rman) because I want to script an automated refresh process. My databases are backed up online, so I would need any archive log backups done during the database backup as well. So for example...
    I do a database backup
    Then do an archive log backup.
    Pass a SQL script the lowest and highest scn numbers during the backup.
    It returns a list of the rman backup pieces needed to do a successful recovery.
    I've got a script, below, which shows the lowest and highest scn during the last full backup (all datafiles which exist have been backed up), if someone understands what I'm looking for and has done something similar, I would really appreciate any insight you may have. What I'd want to get back from the SQL is the names of the rman backup files (handles) which would be needed to get the database recovered to the highest scn during the backup.
    SELECT MIN(VBD.CHECKPOINT_CHANGE#), MAX(VBD.CHECKPOINT_CHANGE#)
    FROM V$BACKUP_DATAFILE VBD, V$DATAFILE VDF,
    (SELECT
    CREATION_CHANGE#,
    MAX(COMPLETION_TIME) COMPLETION_TIME
    FROM V$BACKUP_DATAFILE
    WHERE CREATION_CHANGE# IN (
    SELECT CREATION_CHANGE# FROM V$DATAFILE)
    GROUP BY CREATION_CHANGE#
    ) QUERY1
    WHERE VBD.CREATION_CHANGE# = VDF.CREATION_CHANGE#
    AND VBD.CREATION_CHANGE# = QUERY1.CREATION_CHANGE#
    AND VBD.COMPLETION_TIME = QUERY1.COMPLETION_TIME;
    Thanks very much for your time,
    -Adam vonNieda

    In case anyone's wondering, here's the answer. The following query returns the min and max SCN numbers contained in the last online backup.
    SELECT MIN(VBD.CHECKPOINT_CHANGE#), MAX(VBD.CHECKPOINT_CHANGE#)
    FROM V$BACKUP_DATAFILE VBD, V$DATAFILE VDF,
    (SELECT
    CREATION_CHANGE#,
    MAX(COMPLETION_TIME) COMPLETION_TIME
    FROM V$BACKUP_DATAFILE
    WHERE CREATION_CHANGE# IN (
    SELECT CREATION_CHANGE# FROM V$DATAFILE)
    GROUP BY CREATION_CHANGE#
    ) QUERY1
    WHERE VBD.CREATION_CHANGE# = VDF.CREATION_CHANGE#
    AND VBD.CREATION_CHANGE# = QUERY1.CREATION_CHANGE#
    AND VBD.COMPLETION_TIME = QUERY1.COMPLETION_TIME;
    This next one gets the session key for that backup.
    Select distinct session_key from v$backup_datafile_details
    where checkpoint_change# >= <min scn# from above> and checkpoint_change# <= <max scn# from above>;
    And finally, this one returns all files written out during that RMAN session, which includes control files, data files, and archived redo logs
    Select handle from v$backup_piece_details
    where session_key = <session key from above> order by completion_time;

  • JFS2 CIO (concurrent i/o) & RMAN backup files Options

    Hello,
    Does anyone have good or bad experience storing RMAN backup files &
    datapump or export files with CIO enabled jfs2 file systems on AIX 5.3 & Oracle
    10gR2? Is that supported? Metalink and IBM documents are not very
    clear about these files... i.e. it does not say anywhere it's
    supported or not supported.. So asking here..
    Thanks in advance for your answers.

    Can anyone from Oracle comment on this?
    Thanks,
    Rene

  • Like to take rman backup files into some other machine

    Dear all
    I like to take Rman backup into some other machine rather than its default storage location $oracle_home/dbs in to some other machine..
    While i ran database backup in rman it stores the file sets into default location $ORACLE_HOME/dbs ... I relocated in to some other drivers in same machine also.. I got work ... But due to space issue i would like to take backup into some other machine so its possible ? how to configure it...
    Regards
    Gopinath

    GopiKrishna wrote:
    Dear all
    I like to take Rman backup into some other machine rather than its default storage location $oracle_home/dbs in to some other machine..
    While i ran database backup in rman it stores the file sets into default location $ORACLE_HOME/dbs ... I relocated in to some other drivers in same machine also.. I got work ... But due to space issue i would like to take backup into some other machine so its possible ? how to configure it...
    Regards
    GopinathYou need to mount the second machine and take backup to that mount point
    Kamran Agayev A.
    Oracle ACE
    My Oracle Video Tutorials - http://kamranagayev.com/oracle-video-tutorials/
    My ebook - http://kamranagayev.com/2011/10/19/step-by-step-oracle-installation-all-in-one-e-book/

  • Using Windows 7...where is the iPhone Backup File Location?

    K...Im trying to burn a CD of the Data have for my iPhone 3GS so next time I restore from a different computer i can always have my files with me...where do i find it?

    Windows 7 is not supported.
    If the iPhone's backup is in the same location as Vista with Windows 7, this link provides where the iPhone backup is located with XP and Vista.
    http://support.apple.com/kb/HT1766

  • Removing RMAN backup files from RMAN prompt

    DB version: 10.2.0.4
    OS : AIX
    Due to space constraints, we had to change our retention policy today. So, i need to remove some old backup files manually to free up some space. Should i remove the backup files from OS using rm command and then issue a
    delete expired backup;from RMAN prompt?
    Or is there another recommended way?

    If you remove them manually from the O/S, then you'll have to perform a CROSSCHECK BACKUP prior to the DELETE EXPIRED.
    Or once you change your retention policy you could issue DELETE OBSOLETE, which may be the safer way to ensure you don't accidentally remove wrong backup files.

  • Information on unknown rman backup file

    Hi,
    I have RMAN backup piece, and no information on this RMAN backup piece.
    Is there any why to get the this backup piece information like which Oracle Database version the backup was fired on, database SID, backup timing and such.
    Please help me out on this.
    Regards,
    Karthik Chandran

    Hello,
    You can find some of those information in the name of the files. Most of the time, there is the SID of the database, or the timestamp of the backup. If you have the autobackup of the controlfile, you will have the DBID which will be useful to restore.
    You can also try the CATALOG command in RMAN (10g and above) to find the DBID and SID of the database that created the file. The CATALOG command itself will fail if you are not connected to the database that created the backup, but it will return you those information.
    Regarding the version, it is hard to tell.
    If you have an autobackup of the controlfile (filename begins with CF), then it is 9i or above.
    If you have OMF files (Oracle Managed Files) , then it is 10g or above.
    Hope this will help.
    Regards,

Maybe you are looking for