Need to Configure RMAN backup in 8.1.7.4.1

I have been asked to design a backup and recovery strategy for our production and test databases
I got 2003 Enterprise server with 3 disks of each 300gb.
There are 10 databases running in versions 8,9,10 with 5 production and 5 UAT database.
The sum of the Db will be around 70Gb
I got 200Gb free space in 2 disks
how can i design a BACKUP startegy here. I have palnned to use RMAN backups.
Any useful links and proper guiding from you people expected.
Right Now there is only export backup in Night.
I have informed them we are running the Db in risk,.They have asked me to comeup with a plan.
Any help please
Message was edited by:
Maran.E

Maran,
>
Is it possible to backup 8.1.7.4.1 by 10g database.
i can create a recovery catalog in 10g and wil i be able to backup a 8 and 9 Db
>
I have test 10g catalog with 9i. No idea with the 8i.
I guess, 8i(817) is more comportable with 10g and it should work.
Have a try with your test database and also cross check the metrix with different version in the Metalink.
Jaffar
Good news Maran,
I just come across of the following note which explains the RMAN compatibility between 8 - 10g versions.
RMAN Compatibility Oracle8i 8.1.7.4 - Oracle10g 10.1.0.4
Doc ID: Note:307022.1
In case, if you dont have access to metalink, the punch line from the note is :
SUMMARY
=======
Is best practice to use 'rule of thumb'. Always used the target database RMAN executable and the latest release of Oracle for your recovery catalog.
If you are going to use a lower version RMAN executable to backup higher version databases remember you are restricted to only the features available
in the database your using. But the executable you are using must be able to handle the feature or configuration you are using. Case and point the
RMAN-06466 error above where in 9.0.1 there is no concept of "AS BACKUPSET".
Because configure commands were executed some options in the controlfile were not understood when parsed by the lower version RMAN.
Message was edited by:
Syed Jaffar

Similar Messages

  • Need Advice on RMAN backup script

    Hi;
    Can any one advice if any error or guide to make RMAN backup proper :
    Backup Policy are:
    1.     0 level backup
    2.     current log file is arvhived before backing up
    3.     backup whole database (datafiles)
    4.     backup separate control file
    5.     backup is done on disk
    6.     control file auto backup ON
    7.     only 7 days archive log are need to be preserve ; old need to be deleted
    ### one time paramters seting
    RMAN> CONFIGURE DEFAULT DEVICE TYPE TO DISK;
    RMAN> CONFIGURE DEVICE TYPE DISK PARALLELISM 2;
    RMAN> CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO 'O:\rman\backup\Auto_Ctrl_weekly_%F';
    RMAN> CONFIGURE CONTROLFILE AUTOBACKUP ON;
    ### Command for weekly 0 level backup
    run {
    allocate channel c1 type disk;
    sql 'alter system archive log current';
    backup incremental level 0 tag = weekly_database format 'o:\rman\backup\full_weekly_%d_%s_%p_%t'(database);
    release channel c1;
    configure controlfile autobackup format for device type disk to 'o:\rman\backup\auto_ctrl_weekly_%f';
    allocate channel c1 type disk;
    backup tag = weekly_arch archivelog until time 'sysdate-7' format 'o:\rman\backup\archive_weekly_%d_%s_%p_%t';
    delete archivelog until time 'sysdate-7';
    release channel c1;
    Regards
    Smith

    Dear Pierre F.;
    Actually, I just added in my backup plan to have daily backup through RMAN, instead of COLD backup.
    I have planned to take cold backup once a week. here is the side of data:
    *** datafile 410
    *** size of database : 86 GM
    *** relog files size : 250MB
    *** daily archive logs are : 250MB * 4(number of files) = 1GM aprox.
    yes, time constraint is there; just because of the size of database. and we r going for 24/7
    Is this script going to run only one per week ?
    Ans: no I this was level 0 backup; i will take level 1 incremental backup with same script daily too.
    Do you have any other RMAN script ?
    ANS: no, I will modify same script for incremental.
    after local copy of backup all backup files (RMAN) will be copy over network to backup server or we can install LTO tape device to copy directly from database server.
    kindly advise me I am new in RMAN.
    regards;
    SMITH

  • Need inputs on RMAN Backup n Recovery for multiple restore of clean backup

    I will explain my scenario below:
    We have the requirement of performance testing of our proposed production platform, for this i am asked to take RMAN backup of clean position (Say Day0 or baseline backup) and restore it multiple times for few rounds of testing. My question is after 1st restore (with set until time of day0 position) if i open the database with resetlogs, would i be able to restore same clean backup again? I am using control file in the environment instead of RMAN catalog database. What i can do to make this scenario work? I am already in preperation of setting rman catalog database.
    Please suggest me the best way forward...
    Many Thanks
    Nukesh

    Hi Asif,
    I tried to make it work but seems there are still issue with my recovery, can you have a look and point out the shortcommings. i am totally lost here
    RMAN> list incarnation;
    using target database control file instead of recovery catalog
    List of Database Incarnations
    DB Key Inc Key DB Name DB ID STATUS Reset SCN Reset Time
    1 1 MYTEST 2433328848 PARENT 1 19-DEC-06
    2 2 MYTEST 2433328848 PARENT 564488 04-NOV-10
    3 3 MYTEST 2433328848 CURRENT 693719 06-NOV-10
    RMAN> exit
    TEST1DB-> rman target sys@MYTEST1
    Recovery Manager: Release 10.2.0.3.0 - Production on Sun Nov 7 11:43:01 2010
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    target database Password:
    connected to target database: MYTEST (DBID=2433328848, not open)
    RMAN> reset database to incarnation 2;
    using target database control file instead of recovery catalog
    database reset to incarnation 2
    RMAN> run {
    2> restore database until scn 10000;
    3> recover database until scn 10000;
    4> alter database open resetlogs;
    5> };
    Starting restore at 07-NOV-10
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=191 instance=MYTEST1 devtype=DISK
    allocated channel: ORA_DISK_2
    channel ORA_DISK_2: sid=190 instance=MYTEST1 devtype=DISK
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 11/07/2010 11:45:18
    RMAN-20208: UNTIL CHANGE is before RESETLOGS change
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00558: error encountered while parsing input commands
    RMAN-01009: syntax error: found ";": expecting one of: "allocate, alter, backup, beginline, blockrecover, catalog, change, c onnect, copy, convert, create, crosscheck, configure, duplicate, debug, delete, drop, exit, endinline, flashback, host, {, l ibrary, list, mount, open, print, quit, recover, register, release, replace, report, renormalize, reset, restore, resync, rm an, run, rpctest, set, setlimit, sql, switch, spool, startup, shutdown, send, show, test, transport, upgrade, unregister, va lidate"
    RMAN-01007: at line 0 column 2 file: standard input
    RMAN>
    RMAN> show all;
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
    CONFIGURE BACKUP OPTIMIZATION OFF; # default
    CONFIGURE DEFAULT DEVICE TYPE TO DISK;
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/rmanbackup/MYTEST/ora_cf%F';
    CONFIGURE DEVICE TYPE DISK PARALLELISM 2 BACKUP TYPE TO BACKUPSET;
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/rmanbackup/MYTEST/ora_df%t_s%s_s%p';
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
    CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/app/oracle/product/10g/dbs/snapcf_MYTEST1.f'; # default
    RMAN> exit
    SQL> select name from v$database;
    NAME
    MYTEST
    SQL> show parameter CONTROL_FILE_RECORD_KEEP_TIME
    NAME TYPE VALUE
    control_file_record_keep_time integer 7
    SQL>

  • Configuring Rman backups from Enterprise Manager GC.

    Greetings,
    I am having a difficult time understanding how OEM GC 11g interacts with RMAN and am hoping someone can clarify a couple of things for me. Hopefully I am asking meaningful questions. I can make it work but am unclear as to how it is working.
    1) For a particular instance under Availability -> Backup/Recovery -> Setting -> Backup Settings I configure my backup settings for RMAN. Is that analogous to issuing the CONFIGURE command from within RMAN?
    2) For a particular instance under Availability -> Backup/Recovery -> Manage -> Schedule Backup There are two choices: Oracle Suggested Backup and Customized backup.
    Does each of those choices use the settings defined when I configured backup settings?
    Looking at the script generated by the Oracle Suggested Backup it appears that it is a very basic backup. What does it do about archive maintenance after backup.
    Thanks
    Bill Wagman

    Hi,
    to answer the questions:
    1.) yes, these settings reflect the RMAN configuration settings and are used for the backup jobs that are configured via Grid Control
    2.) we are using gric control to configure our backup jobs - we never used the Oracle suggested backups, they seemed to be too simple and less flexible. We preferred to build customized backups. They are easy to configure (some screens to clck through) and provides more flexibility. As an example you can decide to backup archive logs also and to delete then from disk afterwards. Also you can distinguish between full or incremental backups. I think it is uasbel and flexible enough for basic backup strategies.
    Regards

  • Configuring rman backup for oracle on rac cluster

    Hi GURUS
    We are buying installation oracle rac on a two node server. We do backup our db using rman and TSM .
    Does anyone have any guidance on using TSM scheduled TDP backups with
    Oracle RAC multi-node?
    More to that, is it possible to have multiple archive log destination?
    Any advice would be appreciated.
    David

    While you can have archives going to different destinations, on different nodes, it is not advisable because if these destinations are not reachable in case of a node/system failure, you have no access to these archive logs.
    Actually for easy accesibility it would be better to place the archive logs of all instnaces on shared storage. If you are using ASM and using a FRA disk group, you may want to have your archives go into this location.
    NFS mounting filesystems could be slower and may have certain perforamance implications.

  • How can i delete old RMAN backup files

    Hi All
    We have configured RMAN backup for one of our clients PROD instance[10.2.0.3] in 2010 Dec.
    Now my doubt is how can i delte old backup files of Dec and January, only this two months backup files only i need to delte.
    kindly suggest me.
    The parameters are :
    CONFIGURE RETENTION POLICY TO NONE;
    CONFIGURE BACKUP OPTIMIZATION OFF; # default
    CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/ebiz/backup/PROD-%F';
    CONFIGURE DEVICE TYPE DISK BACKUP TYPE TO COMPRESSED BACKUPSET PARALLELISM 1;
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/ebiz/backup/PROD-%U';
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
    CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/ebiz/oracle/proddb/10.2.0/dbs/snapcf_PROD.f'; # default
    Regards
    Shaik

    Hello,
    You can use this :
    DELETE BACKUP COMPLETED BEFORE TO_DATE('01/31/2011 00:00:00','MM/DD/YY HH24:MI:SS');Regards,
    Sylvie

  • Guidance for Implenting RMAN backup

    I need to configure RMAN and Database parameters for implementing RMAN Incremental backups.
    My strategy was to take a level 0 backup monthly once, cumulative level 1 backup and diff level 1 backup daily. I need to maintain 3 months backup.
    What are all the parameters i should consider for doing this?
    Retention policy to recovery window of 90 days.
    control_file_record_keep_time 100 days
    I am storing backups in a disk location apart from Flas recovery area.
    plz advice...
    TIA,

    export is not a backup.Export is not a Physical backup but its a logical backup...:)
    I agree sybrand it is recommended not to rely on Export because it is inconsistent...but it is still valid if an user acciedentaly drops the tables or objects..
    Cheers
    Maran

  • Prerequisites  for configuring RMAN

    Hi All,
    My database is in AIX Box..
    I have to configure Rman backup in Windows system..
    What are all the prerequisites for configuring the Rman?

    Hi!
    OK. I'll post the content of this website:
    A database cloning procedure is especially useful for the DBA who wants to give his developers a full-sized TEST and DEV instance by cloning the PROD instance into the development server areas.
    This Oracle clone procedure can be use to quickly migrate a system from one UNIX server to another. It clones the Oracle database and this Oracle cloning procedures is often the fastest way to copy a Oracle database.
    STEP 1: On the old system, go into SQL*Plus, sign on as SYSDBA and issue: “alter database backup controlfile to trace”. This will put the create database syntax in the trace file directory. The trace keyword tells oracle to generate a script containing a create controlfile command and store it in the trace directory identified in the user_dump_dest parameter of the init.ora file. It will look something like this:
        STARTUP NOMOUNT
        CREATE CONTROLFILE REUSE DATABASE "OLDLSQ" NORESETLOGS
        NOARCHIVELOG
        MAXLOGFILES 16
        MAXLOGMEMBERS 2
        MAXDATAFILES 240
        MAXINSTANCES 1
        MAXLOGHISTORY 113
        LOGFILE
        GROUP 1 ('/u03/oradata/oldlsq/log1a.dbf',
        '/u03/oradata/olslsq/log1b.dbf') SIZE 30M,
        GROUP 2 ('/u04/oradata/oldlsq/log2a.dbf',
        '/u04/oradata/oldlsq/log2b.dbf') SIZE 30M
        DATAFILE
        '/u01/oradata/oldlsq/system01.dbf',
        '/u01/oradata/oldlsq/mydatabase.dbf'
        # Recovery is required if any of the datafiles are restored
        # backups, or if the last shutdown was not normal or immediate.
        RECOVER DATABASE
        # Database can now be opened normally.
        ALTER DATABASE OPEN;STEP 2: Shutdown the old database
    STEP 3: Copy all data files into the new directories on the new server. You may change the file names if you want, but you must edit the controlfile to reflect the new data files names on the new server.
        rcp /u01/oradata/oldlsq/* newhost:/u01/oradata/newlsq
        rcp /u01/oradata/oldlsq/* newhost:/u01/oradata/newlsq
        rcp /u03/oradata/oldlsq/* newhost:/u03/oradata/newlsq
        rcp /u04/oradata/oldlsq/* newhost:/u04/oradata/newlsqSTEP 4: Copy and Edit the Control file – Using the output syntax from STEP 1, modify the controlfile creation script by changing the following:
    Old:
        CREATE CONTROLFILE REUSE DATABASE "OLDLSQ" NORESETLOGSNew:
        CREATE CONTROLFILE SET DATABASE "NEWLSQ" RESETLOGSSTEP 5: Remove the “recover database” and “alter database open” syntax
        # Recovery is required if any of the datafiles are restored
        # backups, or if the last shutdown was not normal or immediate.
        RECOVER DATABASE
        # Database can now be opened normally.
        ALTER DATABASE OPEN;STEP 6: Re-names of the data files names that have changed.
    Save as db_create_controlfile.sql.
    Old:
        DATAFILE
        '/u01/oradata/oldlsq/system01.dbf',
        '/u01/oradata/oldlsq/mydatabase.dbf'New:
        DATAFILE
        '/u01/oradata/newlsq/system01.dbf',
        '/u01/oradata/newlsq/mydatabase.dbf'STEP 7: Create the bdump, udump and cdump directories
        cd $DBA/admin
        mkdir newlsq
        cd newlsq
        mkdir bdump
        mkdir udump
        mkdir cdump
        mkdir pfileSTEP 8: Copy-over the old init.ora file
        rcp $DBA/admin/olslsq/pfile/*.ora newhost:/u01/oracle/admin/newlsq/pfileSTEP 9: Start the new database
        @db_create_controlfile.sqlSTEP 10: Place the new database in archivelog mode
    I hope that this could be of any help to you.
    Best Regards
    Florian W.

  • Configuring rman channel

    hi,
    while taking backup we are configuring channels based on cpu's right?
    so, how i can fine no. of cpu's on my machine and how many channels can allocate per cpu.

    If you don't know how to retrieve the number of CPUs on your server, you are probably not the right person to configure RMAN backups :-)
    Jokes aside: Number of CPUs is not the only factor to estimate the number of channels. Isn't one channel fast enough for your backup? Do you backup to tape or disk? Do you backup during end user activity? What kind of storage (RAID, ASM, Number of Drives) are you using? How big is your database? What is your time window for the backup?
    That is a list of factors to take into account that I think of first.
    Kind regards
    Uwe Hesse
    http://uhesse.wordpress.com

  • Rman backup and restore from ASM env to Non ASM Environment

    Hi,
    I got a situation where i need to take RMAN Backup from ASM RAC environment and Restore that back to Non ASM standalone database.
    Please let me know the procedure.
    would appreciate your quick response

    874152 wrote:
    Hi,
    I got a situation where i need to take RMAN Backup from ASM RAC environment and Restore that back to Non ASM standalone database.
    Please let me know the procedure.
    would appreciate your quick response
    Hi,
    You can follow this procedure
    1. take the backup to destination host
    2. restore spfile and controlfile
    3. catalog the backup with command 'catalog start with <location of backup>'
    4. use "set newname for datafile" to restore the datafile to non asm disk
    5. restore database
    6. recover database until point in time
    7. rename redolog and tempfile
    8. open database with resetlogs
    9. remove redolog group from another instance
    10. you might want to drop undo tablespace from another instance too
    11. task complete
    Cheers

  • RMAN backup restore from RAC to single instance ASM

    Hi,
    We are using oracle 11gR2 on AIX 6.1,
    We need to restore RMAN backup from RAC to single instance ASM,
    Im new to RAC & ASM, What will be the changes
    What will be steps involved into it.
    Thanks

    Hello,
    Refer this MOS doc *HowTo Restore RMAN Disk backups of RAC Database to Single Instance On Another Node [ID 415579.1]*
    On the Single Instance ASM, you need to specify the diskgroup name for the parameters "control_files, db_create_file_dest"
    Handle:      user10745179
    Email:      [email protected]
    Status Level:      Newbie (5)
    Registered:      Feb 24, 2009
    Total Posts:      168
    Total Questions:      74 (52 unresolved)
    Name      Devesh
    Location      Mumbai If you feel that your questions have been answered, then please consider closing the threads by providing appropriate points. Please keep the forum clean !!
    Regards,
    Shivananda

  • To Confgure RMAN backup through Netvault

    Hi All,
    I have configured RMAN backup through a Net-Vault. Previously I was taking User Managed backup, Backup ran successfully. I have issues with RMAN Backup through NetVault.
    The following is the error message received.
    RMAN-00571: ===========================================================
    : =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00554: initialization of internal recovery manager package failed
    RMAN-04005: error from target database:
    ORA-01031: insufficient privileges
    Failed with exit code 3
    RMAN returned exit code 3
    But when I take RMAN backup directly(Without Netvault) with that oracle user, I have no problem - Backup Runs properly.
    What should I do to take Backup through NetVault.
    Thanks In Advance,
    Suresh S.

    No it's not at all possible to take backup of multiple database through the manually allocated channel.
    Allocating the channel manually is only possible while running the commands in batch mode
    eg. run {
    allocate channel ch1 type disk format='/backup1/RMANBACKUP/PROD521_%s_%p';
    allocate channel ch2 type disk format='/backup1/RMANBACKUP/PROD521_%s_%p';
    backup database setsize=12582912;
    release channel ch1;
    release channel ch2;
    And you can connect through single rman prompt to only one target database not more than that. So at any point of time you connect to only one database you can user channels to backup that database only.
    connected to recovery catalog database
    RMAN> CONN TARGET SYS/ORACLE@RMAN
    RMAN> CONNECT TARGET SYS/ORACLE@RMAN
    connected to target database: RMAN (DBID=1528877161)
    RMAN> CONNECT TARGET SYS/ORACLE@CLS
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-06167: already connected
    Edited by: sac on Sep 4, 2008 12:59 PM

  • RMAN backup for two databases with similar DBID

    We have two databases with SID 'uiivc' and 'uiivc1' running from one of the HP Unix 11.11 PA-RISC server. I did configured RMAN backup for both databases. But it is found that both databases have same DBID [connected to target database: UIIVC (DBID=3005194057) for UIIVC & connected to target database: UIIVC1 (DBID=3005194057) for UIIVC1] and backup configured via crontab seen running fine with full backup at weekend and archivelog backup at daily for both databases. Now my query is that will it create any issues at time of restoration since both databases have similar DBID? Does RMAN uses DBID to distinguish databases?
    Kindly help to clarifiy
    Regards
    Manoj Thakkan
    [email protected]

    Hi Tycho,
    I configured RMAN to store controlfile backups in different folders on each database.
    UIIVC database:
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/hot_backups/rmanbkp/uiivc/cf%F';
    UIIVC1 database:
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/hot_backups/rmanbkp/uiivc1/cf%F';
    Server output:
    uii-79:uiivc1 > ls -lrt /hot_backups/rmanbkp/uiivc
    total 43904816
    -rw-r----- 1 oracle dba 21144928256 Jul 15 10:58 8rkk68p5_1_1
    -rw-r----- 1 oracle dba 287110144 Jul 15 13:41 8tkk6sfv_1_1
    -rw-r----- 1 oracle dba 862700544 Jul 16 08:00 90kk8sel_1_1
    -rw-r----- 1 oracle dba 152350720 Jul 16 08:09 92kk8tgg_1_1
    -rw-r----- 1 oracle dba 32145408 Jul 16 08:09 cfc-3005194057-20090716-01
    uii-79:uiivc1 > ls -lrt /hot_backups/rmanbkp/uiivc1
    total 24186112
    -rw-r----- 1 oracle dba 6373965824 Jul 13 13:10 83kk1ftf_1_1
    -rw-r----- 1 oracle dba 784803840 Jul 13 13:46 85kk1j5e_1_1
    -rw-r----- 1 oracle dba 1022674944 Jul 13 23:07 87kk2kjs_1_1
    -rw-r----- 1 oracle dba 1814230016 Jul 14 23:46 89kk591i_1_1
    -rw-r----- 1 oracle dba 1211042816 Jul 15 23:06 8bkk7tc0_1_1
    -rw-r----- 1 oracle dba 1165975552 Jul 15 23:10 8ckk7tnr_1_1
    -rw-r----- 1 oracle dba 10534912 Jul 15 23:10 cfc-3005194057-20090715-00
    And I saw backups are placing in the respective folders too. So with these settings, can I safely assume there is no issues with RMAN backup and restore having similar DBID for two databases running on same server?
    Regards
    Manoj Thakkan

  • Archivelog RMAN backup

    In my database I have configured rman backup.
    when i use the following command to perform archivelogs backup, it delete all archive logs after the backup. I want to keep 3 days retention on my server after completion of archivelog all backup. Can any one guide me pls.
    backup archivelog all delete input format 'ARC_%d_%s_%p.bks' ;

    If you use delete input command then it will take the backup of your available archivelogs and delete them from the archive destination. Just exclude the delete input command and try again.
    backup format '/oracle/rman_backup/RMAN_ARCH_SMS<%s:%t:%p>.bkp' archivelog all;
    Also, connect into RMAN prompt and to keep retention of 3 days run the command.
    RMAN > CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 3 DAYS;
    RMAN > show all;
    Regards
    Asif Kabir
    Edited by: asifkabirdba on Mar 16, 2010 11:57 AM

  • Need help in the RMAN backup

    Hi everybody
    What are the steps needed if move the RMAN backup to other location in the OS level
    (ie) every week i have to move the backup to other location

    There are not problem for example:
    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.
    C:\Documents and Settings\comp>set ORACLE_SID=W
    C:\Documents and Settings\comp>sqlplus "/as sysdba"
    SQL*Plus: Release 10.2.0.2.0 - Production on Mon Apr 26 14:53:08 2010
    Copyright (c) 1982, 2005, Oracle. All Rights Reserved.
    ERROR:
    ORA-01031: insufficient privileges
    Enter user-name:
    C:\Documents and Settings\comp>sqlplus "sys/sm as sysdba"
    SQL*Plus: Release 10.2.0.2.0 - Production on Mon Apr 26 14:53:15 2010
    Copyright (c) 1982, 2005, Oracle. All Rights Reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> archive log list;
    Database log mode No Archive Mode
    Automatic archival Disabled
    Archive destination USE_DB_RECOVERY_FILE_DEST
    Oldest online log sequence 12
    Current log sequence 14
    SQL> shutdown immediate;
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL> startup mount
    ORACLE instance started.
    Total System Global Area 125829120 bytes
    Fixed Size 1288100 bytes
    Variable Size 71305308 bytes
    Database Buffers 46137344 bytes
    Redo Buffers 7098368 bytes
    Database mounted.
    SQL> alter database archivelog;
    Database altered.
    SQL> alter databaseop;
    alter databaseop
    ERROR at line 1:
    ORA-00940: invalid ALTER command
    SQL> alter database open;
    Database altered.
    SQL> exit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Pr
    oduction
    With the Partitioning, OLAP and Data Mining options
    C:\Documents and Settings\comp>rman target sys/sm
    Recovery Manager: Release 10.2.0.2.0 - Production on Mon Apr 26 14:55:58 2010
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    connected to target database: W (DBID=754336873)
    RMAN> backup database;
    Starting backup at 26-APR-10
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=144 devtype=DISK
    channel ORA_DISK_1: starting full datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    input datafile fno=00001 name=D:\ORACLE\PRODUCT\10.2.0\ORADATA\W\SYSTEM01.DBF
    input datafile fno=00003 name=D:\ORACLE\PRODUCT\10.2.0\ORADATA\W\SYSAUX01.DBF
    input datafile fno=00005 name=D:\ORACLE\PRODUCT\10.2.0\ORADATA\W\EXAMPLE01.DBF
    input datafile fno=00002 name=D:\ORACLE\PRODUCT\10.2.0\ORADATA\W\UNDOTBS01.DBF
    input datafile fno=00004 name=D:\ORACLE\PRODUCT\10.2.0\ORADATA\W\USERS01.DBF
    channel ORA_DISK_1: starting piece 1 at 26-APR-10
    channel ORA_DISK_1: finished piece 1 at 26-APR-10
    piece handle=D:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\W\BACKUPSET\2010_04_26
    \O1_MF_NNNDF_TAG20100426T145611_5XBRSX1M_.BKP tag=TAG20100426T145611 comment=NON
    E
    channel ORA_DISK_1: backup set complete, elapsed time: 00:01:34
    channel ORA_DISK_1: starting full datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    including current control file in backupset
    including current SPFILE in backupset
    channel ORA_DISK_1: starting piece 1 at 26-APR-10
    channel ORA_DISK_1: finished piece 1 at 26-APR-10
    piece handle=D:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\W\BACKUPSET\2010_04_26
    \O1_MF_NCSNF_TAG20100426T145611_5XBRWXG2_.BKP tag=TAG20100426T145611 comment=NON
    E
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:05
    Finished backup at 26-APR-10
    RMAN> crossckeck backupset;
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00558: error encountered while parsing input commands
    RMAN-01009: syntax error: found "identifier": expecting one of: "allocate, alter
    , backup, beginline, blockrecover, catalog, change, connect, copy, convert, crea
    te, crosscheck, configure, duplicate, debug, delete, drop, exit, endinline, flas
    hback, host, {, library, list, mount, open, print, quit, recover, register, rele
    ase, replace, report, renormalize, reset, restore, resync, rman, run, rpctest, s
    et, setlimit, sql, switch, spool, startup, shutdown, send, show, test, transport
    , upgrade, unregister, validate"
    RMAN-01008: the bad identifier was: crossckeck
    RMAN-01007: at line 1 column 1 file: standard input
    RMAN> crosscheck backupset;
    using channel ORA_DISK_1
    crosschecked backup piece: found to be 'EXPIRED'
    backup piece handle=D:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\W\BACKUPSET\201
    0_04_26\O1_MF_NNNDF_TAG20100426T145611_5XBRSX1M_.BKP recid=1 stamp=717346573
    crosschecked backup piece: found to be 'EXPIRED'
    backup piece handle=D:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\W\BACKUPSET\201
    0_04_26\O1_MF_NCSNF_TAG20100426T145611_5XBRWXG2_.BKP recid=2 stamp=717346669
    Crosschecked 2 objects
    RMAN> delete expired backupset
    2> ;
    using channel ORA_DISK_1
    List of Backup Pieces
    BP Key BS Key Pc# Cp# Status Device Type Piece Name
    1 1 1 1 EXPIRED DISK D:\ORACLE\PRODUCT\10.2.0\FLASH_R
    ECOVERY_AREA\W\BACKUPSET\2010_04_26\O1_MF_NNNDF_TAG20100426T145611_5XBRSX1M_.BKP
    2 2 1 1 EXPIRED DISK D:\ORACLE\PRODUCT\10.2.0\FLASH_R
    ECOVERY_AREA\W\BACKUPSET\2010_04_26\O1_MF_NCSNF_TAG20100426T145611_5XBRWXG2_.BKP
    Do you really want to delete the above objects (enter YES or NO)? y
    deleted backup piece
    backup piece handle=D:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\W\BACKUPSET\201
    0_04_26\O1_MF_NNNDF_TAG20100426T145611_5XBRSX1M_.BKP recid=1 stamp=717346573
    deleted backup piece
    backup piece handle=D:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\W\BACKUPSET\201
    0_04_26\O1_MF_NCSNF_TAG20100426T145611_5XBRWXG2_.BKP recid=2 stamp=717346669
    Deleted 2 EXPIRED objects
    now i copy all backup to c:\db
    then
    RMAN> catalog start with 'c:\db';
    searching for all files that match the pattern c:\db
    List of Files Unknown to the Database
    =====================================
    File Name: C:\db\O1_MF_NCSNF_TAG20100426T145611_5XBRWXG2_.BKP
    File Name: C:\db\O1_MF_NNNDF_TAG20100426T145611_5XBRSX1M_.BKP
    Do you really want to catalog the above files (enter YES or NO)? y
    cataloging files...
    cataloging done
    List of Cataloged Files
    =======================
    File Name: C:\db\O1_MF_NCSNF_TAG20100426T145611_5XBRWXG2_.BKP
    File Name: C:\db\O1_MF_NNNDF_TAG20100426T145611_5XBRSX1M_.BKP
    RMAN> list backupset;
    List of Backup Sets
    ===================
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    1 Full 592.76M DISK 00:01:26 26-APR-10
    BP Key: 4 Status: AVAILABLE Compressed: NO Tag: TAG20100426T145611
    Piece Name: C:\DB\O1_MF_NNNDF_TAG20100426T145611_5XBRSX1M_.BKP
    List of Datafiles in backup set 1
    File LV Type Ckp SCN Ckp Time Name
    1 Full 947689 26-APR-10 D:\ORACLE\PRODUCT\10.2.0\ORADATA\W\SYSTEM01.
    DBF
    2 Full 947689 26-APR-10 D:\ORACLE\PRODUCT\10.2.0\ORADATA\W\UNDOTBS01
    .DBF
    3 Full 947689 26-APR-10 D:\ORACLE\PRODUCT\10.2.0\ORADATA\W\SYSAUX01.
    DBF
    4 Full 947689 26-APR-10 D:\ORACLE\PRODUCT\10.2.0\ORADATA\W\USERS01.D
    BF
    5 Full 947689 26-APR-10 D:\ORACLE\PRODUCT\10.2.0\ORADATA\W\EXAMPLE01
    .DBF
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    2 Full 6.80M DISK 00:00:04 26-APR-10
    BP Key: 3 Status: AVAILABLE Compressed: NO Tag: TAG20100426T145611
    Piece Name: C:\DB\O1_MF_NCSNF_TAG20100426T145611_5XBRWXG2_.BKP
    Control File Included: Ckp SCN: 947720 Ckp time: 26-APR-10
    SPFILE Included: Modification time: 26-APR-10
    RMAN>

Maybe you are looking for

  • How to get current layer type (text, art, group layer, etc.)

    Hi, I am traversing over all layers using layerIndex. I can get current later name in following way. char* layerName = new char[100]; int32 len = 100; PIUGetInfoByIndex(layerIndex,classLayer, keyName, layerName , &len) ; I need to get layer type usin

  • Adobe Photoshop Lightroom CC never start in Windows 10 Tech Preiew

    I installed yesteday Adobe Photoshop Lightroom CC from my Creative Cloud. Currently my main machine is runnng Windows 1o Tech Preview Build 10061. The product do not start literaly. How I can fixed this? The version 5.6 work fine, but i unistalled Re

  • I have been locked out of desktop

    I can't access my desktop My daughter has played a game and clicked some thing and locked me out of my desktop all that shows is my external HDD's. When I save a scanned document or file to desktop it doesn't show and When I click on the folder in fi

  • Alternative option to updating the services file on the local computer

    Hi, Our project needs to add updates to the file C:\windows\system32\drivers\etc\services in order to allow excel reports to work from the SAP enterprise portal. The client will need to apply this change in the services file to all the desktop comput

  • Changing apple username and password on your iPad

    Some water got into my iPad 1. I put it away in a drawer and bought the iPad 2. About eight months later I came across the first iPad, so I plugged it in. Sure enough it started working again. It had all my info on it and I want to give it to my gran