Backup location in RMAN

By default RMAN keeps backups in flash_recovery_area directory. I changed the configuration and now backup is being stored at some other place. I want to revert the configuration to original location. what command should i give.

Hello,
Please advice if you have changed the flash recovery area parameter in your pfile/spfile?
If you have , then you ca use the 'alter system set ..' command to set it back to where it was earlier. The parameter db_recovery_file_dest is modifiable immediately.
If you are not using SPFILE, then you can create one from pfile, then startup the database with changed value.
Hope this helps.

Similar Messages

  • Error while chaging backup location.

    By default rman use flash_recovery_area folder to save backup set. I give following command to save backup on different location. Now i want default location, for which i give second command, advise by srp on forum, i am getting error, although command is correct. What should i do now.
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT   '/u01/rman_bk_/rbackup_test_%t.%p.bak';
    RMAN> CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT CLEAR ;  
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00558: error encountered while parsing input commands
    RMAN-01009: syntax error: found "clear": expecting one of: "double-quoted-string, equal, single-quoted-string"
    RMAN-01007: at line 1 column 43 file: standard input

    Hi,
    Please update or mark the other thread also as answered.
    Backup location in RMAN
    Edited by: srp on Feb 6, 2012 1:15 PM

  • RMAN backup location

    Hi there
    I have a production database oracle10g R2 in Redhat 5 . I have been taking disk base backup using catalog.
    Now I want restore that database to another server which file system is not identical with production database.
    My production database backup location is : /u01/backup/orcl/data/..
    My test server do not have same location
    when I restore database
    run { restore database;........}
    in test server then it search backup data from /u01/backup/orcl/data/
    Please help me to overcome the above situation
    Jamal

    The "CATALOG" command (not to be confused with the catalog schema !) is what you need to use.
    See the documentation :
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14194/rcmsynta011.htm#sthref230
    After restoring the controlfile, run "CATALOG START WITH /newlocation" in RMAN.
    Then, the controlfile would be updated with the new location, thus allowing the RESTORE to search for the backup pieces in the new location.
    Hemant K Chitale
    Edited by: Hemant K Chitale on Jan 3, 2011 5:41 PM

  • When the archive disk group and RMAN backup location is full

    11.2.0.2 on Solaris 10
    2-Node RAC
    Sometimes I am faced with a situation where the disk group meant for storing archivelogs is full and the Disk based
    RMAN backup location is full as well. What would you do in such a situation ?
    This usually happens with our QA/UAT DBs during apps testing of certain type which causes huge amount of redo is generated.
    We don't directly backup to tape. The disk based backups are moved to tape every two weeks by our SysAdmin.

    Thank you Hemant, Tsharma, Asahideo
    If I have free space left in my local filesystem in any of the nodes in my 2-node RAC, I can run something like
    -- Untested
    BACKUP AS COMPRESSED BACKUPSET ARCHIVELOG ALL DELETE INPUT format '/localNode_pATH/ora_Arch%t_s%s_s%p';and later when the space is freed up in the original RMAN backup location , I can move it there and use CATALOG command to catalog this backup . Right ?

  • Duplicate target database for standby backup location.... errors out

    Hi ,
    i am getting below error while executing
    RMAN> duplicate target database for standby backup location '/rman1/perf/brmbkpdg' nofilenamecheck dorecover ;
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00558: error encountered while parsing input commands
    RMAN-01009: syntax error: found "backup": expecting one of: "dorecover, db_file_name_convert, from, nofilenamecheck, ;, spfile"
    RMAN-01007: at line 1 column 39 file: standard input
    Can you please suggest a fix or what should be the syntax
    Thanks
    Naveen

    If it helps here are my tested commands: (Oracle 11)
    PRIMARY
    RMAN RUN {
    allocate channel d1 type disk;
    backup format '/u01/backups/PRIMARY/df_t%t_s%s_p%p' database;
    sql 'alter system archive log current';
    backup format '/u01/backups/PRIMARY/al_t%t_s%s_p%p' archivelog all;
    backup current controlfile for standby format '/u01/backups/PRIMARY/sb_t%t_s%s_p%p';
    release channel d1;
    STANDBY
    RMAN> run {
    allocate channel C1 device type disk;
    allocate auxiliary channel C2 device type disk;
    duplicate target database for standby nofilenamecheck;
    My how to notes are here :
    http://www.visi.com/~mseberg/duprman.html
    Please note these were written not to create but to recover a standby, you still have to set up forced logging and the net80 in advance.
    Best Regards
    mseberg

  • Rman archivelog backup fails with rman-03002,ora-19563

    Hi,
    D:\ Oracle- -\BIN\RMAN TARGET / NOCATALOG
    RMAN> backup archivelog all;
    RMAN-03002: Error with backup command on 06-25-2013
    ORA-19563: Header-Validation is not successful.
        fails with the given errors.
    11.2.0.2 PROD DB on Windows Server 2008  R2 Enterpriise.
    When I issue BACKUP INCREMENTAL LEVEL 0 DATABASE; it works fine. but with archivelog it is creating problems. Unfortunatly, I have not found exactly the same problem on google and on Oracle support.
    The DB is using INIT.ORA and last time when I switched the mode to archive log mode I set the parameter like SCOPE=MEMORY as SPFILE was not in use and ALTER SYSTEM with SCOPE=BOTH  FRA destination and size, but after the DB restarting of course that setting is gone and I am having these problems.
    Please suggest.
    Thanks a lot.
    Best Regards,

    Hi,
    Thanks a lot.
    I don't think that archivelogs were relocated, except I changed the location yesterday.
    As I wrote at the start that because of INIT.ORA file being in use instead of SPFILE. I set DB_RECOVERY_FILE_DEST, DB_RECOVERY_DEST_SIZE after changing the DB mode to ARCHIVELOG, but DB was restarted by somebody else, and as the parameter changing was NOT PERMANENT, it rollback.
    LOG_ARCHIVE_DEST was set to d:\oradata\db with archivelog mode but db_recovery_file_dest and size was set to 0. Now here, I have no idea that whether archivelogs were not being backed up or deleted physically, but I guess that as log_archive_dest parameter is deprecated and mode is set to archivelog with no real ARCHIVELOG DESTINATION. Please correct me if I am wrong or totally wrong :-)
    I performed DELETED EXPIRED ARCHIVELOG ALL, and it deleted 49 EXPIRED objects.
    Now CROSSCHECK ARCHIVELOG ALL and LIST ARCHIVELOG ALL shows nothing.
    LIST BACKUP OF ARCHIVELOG ALL has of course those 49 archivelog gap.
    Could you please tell the impacts of those 49 missing archivelogs. Retention policy is set to 14 days. I mean the risk is for 14 days right? As anyhow, the older backups are being DELETED according to retention policy of RMAN.

  • Backup location during Duplicate db

    hi,
    Is it possible to change the RMAN backup Location for the Auxillary db.
    ie., say on my Target the bakup location is /u03/rman/backup
    and on Auxillary host i copy the backup to /u01/rman backup
    How to tell RMAN to look at different destination during DUPLICATE database.
    also, I am NOT using recovery catalog.

    OS? Database version? On 10g and higher use 'catalog backuppiece' to move the metadata information about backups to another location.
    Werner

  • Restore controlfile from backup location

    Hi All,
    I have a RMAN backup and want to recover my data from backup. RMAN backup has taken by someone but during restore to another DB server I am confused at controlfile point. I can see two controlfile in RMAN backup. Do I need to add both controlfile in restore command or any one controlfile would be okay? Please suggest.
    I run below command - rman > restore control file from '<backup location>';
    Thanks...
    Edited by: user12115 on Jun 15, 2012 5:23 AM

    I have a RMAN backup and want to recover my data from backup. RMAN backup has taken by someone but during restore to another DB server I am confused at controlfile point. I can see two controlfile in RMAN backup. Do I need to add both controlfile in restore command or any one controlfile would be okay? Please suggest.
    I run below command - rman > restore control file from '<backup location>';In you log file one of backup set contains of data files another backup set contains Controlfile + SPFILE(optional)
    Or else you can check from source database
    RMAN> list backup of controlfile;
    Note that backup piece according to date, and you can use that piece name to restore controlfile.

  • Disk Backup Location settings

    Hi all
    In EM I have set the Disk backup location setting to G:\Backup and in RMAN at the command line I can see that CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT 'G:\Backup\%U';
    However when I run the command BACKUP DATABASE the backup is still generated in the Fast Recovery Area that it was originally set to.
    What am I doing wrong?
    Thanks

    Kwisatz78 wrote:
    Hi all
    In EM I have set the Disk backup location setting to G:\Backup and in RMAN at the command line I can see that CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT 'G:\Backup\%U';
    However when I run the command BACKUP DATABASE the backup is still generated in the Fast Recovery Area that it was originally set to.
    What am I doing wrong?
    ThanksMay be you did not apply this setting.So connect database with RMAN and SHOW ALL then execute BACKUP DATABASE after that copy all results(including SHOW ALL) and paste here.

  • Set Backup Location Repeatedly Fails

    I had to shoot my initial TM backup in the head when I realized I really wanted to do it with an ethernet cable attached and not over 802.11.g. But, having cancelled that initial attempt, I could never get the TM preferences pane to accept my choice of backup disk (even though it had accepted it the first time). After many frustrating attempts at rebooting ... even re-installing Leopard ... some other post here alerted me to the /var/log/system.log file, where I discovered TM was failing to update its Keychain (think KeychainAccess.app) with my backup location choice. The system keychain is at: /Library/Keychains/System.keychain. I sorted by "time modified" and saw the entry which had been corrupted. Clicked on it. Pushed the delete key. Now working like a charm.
    Just posting this in case it might assist you as well. /var/log/system.log file ... a good spot to look if you are having problems.

    Fala Bruno!
    What kind of backup are you using? RMAN , EXP, EXPDP ?
    This parameter specifies the default location for the flash recovery area.
    If you just want to change this parameter do this:
    SQL> ALTER SYSTEM SET DB_RECOVERY_FILE_DEST='/new_path'
    Best regards,
    Paulo Portugal

  • HT3275 When I press "select backup location" in the Time Machine section of System Preferences, my external hard drive doesn't appear as an option.  How do I change this?

    When I press "select backup location" in the Time Machine section of System Preferences, my external hard drive doesn't appear as an option.  How do I change this?  My external hard drive is a FreeAgent GoFlex Drive.

    Hi, what Format is the external Drive?
    They usually come PC Formatted for Fat32/MSdos, or NTFS... is there anything on it now?
    How to format your disks...
    http://www.kenstone.net/fcp_homepage/partitioning_tiger.html
    (To Install OSX on an IntelMac the Drive it needs the GUID Partitioning scheme mentioned at the bottom.)
    Thanks to Pondini, Formatting,  Partitioning, Verifying,  and  Repairing  Disks...
    http://Pondini.org/OSX/DU.html

  • Multiple Backup Locations for Multiple Lightroom Databases

    I currently work with two lightroom databases but when I back up the databases, the backups get stored in the same Lightroom Backups folder. The two backups are stored in separate sub-folders but the actual database files have the same name. Thus, the only way to know which backup is for which database if to note the times that the backups were created and use this to determine which backup applies to which database.
    It would seem like the actual backup files could be named as per the associated database or the backup location could be specified for each database so that there is less chance for a mistake if a database needs to be restored.
    Thanks in advance,
    Dave Mayfield

    Thanks for your reply.
    I need the have each LOS ( Location of sale or location of delivery) of Business Partner because we will deliver items for the LOS and not for BP.
    As we also need to control (serial numbers) items & services ( field management) I also need to have the LOS as BP.
    As example:
    BP name AAA have 30 LOS.
    BP AAA bought 2000 items.
    BP AAA ask us to old theses items in warehouse.
    BP AAA request to delivery a x quantity in LOS 1, 2,3,4,...
    The invoice went to BP AAA, but the deliveries will be to each LOS of BP AAA.
    As I said we need to have the field services working side-by-side with serials numbers and services for each LOS of our BP AAA.
    So, we have subcustomers from big customer BP AAA.
    Do we have any way of having all subcustomers(LOS) as BP, along with the real customer AAA?
    Thanks in advance,

  • Oracle 9i TEMP tablespace backup problem using RMAN!

    Oracle8/8i whole backup is ok for our backup software(using RMAN without RC database), but for Oracle 9i, I get following error messages when backing up temp tablespace.
    1. RMAN-20202: tablespace not found in the recovery catalog
    2. RMAN-06019: could not translate tablespace name "TEMP"
    I check some views of Oracle9i, and know some changes happen for temp tablespace in 9i, but how to deal with this problem. Any idea, please!

    In 9i RMAN does not restore temporary datafiles. Instead, you should create them after your restore. I believe that Oracle is going to make a change to this in the next release of 9i and have RMAN create the temporary files. You can view the temporary datafiles @ v$tempfile.
    I believe RMAN doesn't restore temporary files because they are locally managed and not in the control files. RMAN reads the controlfile of the target database to obtain info about backups, datafiles, etc.
    Hope this helps.

  • Can we use SSD in D13 VMs as a backup location

    Team,
    Any comment, as it is taking us 4-5 hours to take 80GB backup on storage space  on D13 VM. While looking to reduce this time, thought of using SSD as a backup location(underlying assumption that it has faster read/write speed although it is not recommended
    for keeping critical data).
    Any further suggestion on taking reducing the backup/restore time other than the compression feature
    Regards
    Gaurav
    gauravtyagi21

    Hi,
    Thanks for your post.
    The SSD drive (D:\) is not persistent, so its contents and permissions will be lost if the VM moves to a different host. This can happen in case of a host failure or a VM resize operation.
    Do not store your data or log files there. Use (persistent) drives from Azure Storage.
    If using TempDB and/or Buffer Pool Extensions, SQL Server requires accessing the directory specified to store them. The following section describes how to store SQL Server TempDB and/or Buffer Pool Extensions on the SSD drive and automatically recreate
    directory if the VM moves to a different host.
    You could refer to this article for more detail information:
    http://blogs.technet.com/b/dataplatforminsider/archive/2014/09/25/using-ssds-in-azure-vms-to-store-sql-server-tempdb-and-buffer-pool-extensions.aspx
    Regards.
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Backup database using RMAN

    Hi,
    I wanted to perform the first backup with RMAN and I used this command and I got error:
    RMAN> BACKUP AS COPY DATABASE;
    "can not backup or copy active file in noarchivelog mode".
    But in order to turn on the log_mode to ARCHIVELOG, first I need to do shutdown the db and perform the backup. Right?
    So how can I get my first backup using RMAN if the log mode is in NOARCHIVELOG mode?
    I also performed this command successfully...
    RMAN> configure controlfile autobackup on;
    new RMAN configuration parameter are successfully stored...
    but I'm not sure the controlfiles are being backed up. How can I verify this and where I can find the controlfile backup file?
    Thanks,

    So how can I get my first backup using RMAN if the log mode is in NOARCHIVELOG mode?You can do RMAN backups with DB in NOARCHIVELOG mode, but the DB must be MOUNTED and not OPEN. You can do something like the following :
    $ $ORACLE_HOME/bin/rman nocatalog
    Recovery Manager: Release 10.2.0.1.0 - Production on Thu Feb 9 01:18:08 2006
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    RMAN> connect target
    connected to target database: DB102 (DBID=XXXXXXXXX)
    using target database control file instead of recovery catalog
    RMAN> run { allocate channel d1 type disk;
    2> shutdown;
    3> startup mount;
    4> configure controlfile autobackup on;
    5> backup database;
    6> sql 'alter database open';
    7> }
    I'm not sure the controlfiles are being backed up. How can I verify this and where I can find the controlfile backup file?
    RMAN> list backup of controlfile;

Maybe you are looking for