A question quick rman

Hello

We currently export of basic layout of database every night. and we have scheduled at night, Rman backup (Sunday, level 0, the rest of the days, the level 1, db in archivelog mode backup backup, the recovery window is 3 days).

Can say, because of the issue of disk space, we stop at night and using rman backup restoration (core schema) data export to any point of the three-day period last in a different database located on another server?

Thank you very much!

5181139 wrote:

Hello

We currently export of basic layout of database every night. and we have scheduled at night, Rman backup (Sunday, level 0, the rest of the days, the level 1, db in archivelog mode backup backup, the recovery window is 3 days).

Can say, because of the issue of disk space, we stop at night and using rman backup restoration (core schema) data export to any point of the three-day period last in a different database located on another server?

Thank you very much!

I give up.

Can you?

What happens when you actually test?

Tags: Database

Similar Questions

  • A question about rman.

    Hello

    My database is in log mode archive, we schedule rman to backup all archive logs and "remove all entries ', every 20 minutes; We backup of database Sunday full and level 1 rest of every day.

    If rman, I have set it up as: 'CONFIGURE RETENTION POLICY to REDUNDANCY 1 '.

    I know Oracle will keep a copy of the backup database and make additional copies of backups as "obsolete."

    Here the question: how to make the mark of oracle these obsolete archive log backups ?

    (if I like "CONFIGURE RETENTION POLICY to RECOVERY OF 2 DAYS WINDOW;", it is easy to understand that all backup of archive logs 2 day window, will be marked obsolete) »

    (why I'm asking, because in my backup rman script, it will remove obsolete at the end of backup, we don't want to keep these backups of logs archive forever).

    Thank you very much!

    Hi again,

    Please see the Oracle Doc for more information.

    "How RMAN retention policy obsolete incremental Backupsets and files Archivelog (Doc ID 206862.1)"

    Thank you

    Mazhar Ali

    2889453 wrote:

    Hello

    There are two possible settings for the retention policy:

    • Redundancy
    • Recovery window

    Oracle will ensure these settings before you mark whatever it is obsolete.

    Thank you

    Mazhar Ali

  • Question about RMAN

    Oracle version: Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production

    OEM, I see an alert indicating that we are short of recovery are space:

    db_recovery_file_dest_size of XYZ bytes is used and has ABC remaining available bytes

    I found the thread db_recovery_file_dest_size 37580963840 bytes is 98.29% used and 6442 which recommends to do following:

    RMAN target /.

    overlap archivelog all;

    remove expired archivelog all;

    My question: is it safe to perform this action at any time?

    Thank you

    Yes.

    Also you would be better only to use RMAN to maintenance spare and avoid to delete files using commands in the OS, because this is not reflected in the RMAN Repository.

    -----------

    Sybrand Bakker

    Senior Oracle DBA

  • Question of RMAN restore points

    Hello

    I'm on the 11.2.0.3 Oracle database. Currently, we have RMAN scripts that make incremental backups and weekly/monthly full daily. My daily script is as below:

    {
     allocate channel t1 type 'sbt_tape' parms 'ENV=(TDPO_usrFILE=/usr/tivoli/tsm/client/oracle/bin64/tdpo.usr)';
     allocate channel t2 type 'sbt_tape' parms 'ENV=(TDPO_usrFILE=/usr/tivoli/tsm/client/oracle/bin64/tdpo.usr)';
     allocate channel t3 type 'sbt_tape' parms 'ENV=(TDPO_usrFILE=/usr/tivoli/tsm/client/oracle/bin64/tdpo.usr)';
     backup format 'prod_dailybackup_%d_%s_%t' incremental level 1 database;
     backup format 'prodarchbackup_%d_%s_%t' archivelog all not backed up 1 times;
     crosscheck backup;
     crosscheck archivelog all;
     delete noprompt obsolete;
     delete noprompt expired backup;
     delete noprompt expired archivelog all;
     report schema;
     release channel t1;
     release channel t2;
     release channel t3;
    }
    

    And the script to backup weekly as below:

    {
     allocate channel t1 type 'sbt_tape' parms 'ENV=(TDPO_usrFILE=/usr/tivoli/tsm/client/oracle/bin64/tdpo.usr)';
     allocate channel t2 type 'sbt_tape' parms 'ENV=(TDPO_usrFILE=/usr/tivoli/tsm/client/oracle/bin64/tdpo.usr)';
     allocate channel t3 type 'sbt_tape' parms 'ENV=(TDPO_usrFILE=/usr/tivoli/tsm/client/oracle/bin64/tdpo.usr)';
     backup incremental level 0 format 'prod_weeklybackup_%d_%s_%t'  database;
     backup format 'prodarchbackup_%d_%s_%t' archivelog all not backed up 1 times;
     release channel t1;
     release channel t2;
     release channel t3;
    }
    

    My two questions are:

    1. can I add a "restore point" for the backup script daily, without the clause "keep until the"?

    2. can I add a restore point whose name is generated dynamically, for weekly backup, for example: weekly_rest_point_13082013, including therefore the current date?

    Concerning

    Dula

    Hello

    1. can I add a "restore point" for the backup script daily, without the clause "keep until the"?

    I think not, is to keep to the required field

    2. can I add a restore point whose name is generated dynamically, for weekly backup, for example: weekly_rest_point_13082013, including therefore the current date?

    Don't you cannot assign the dynamic name in name of the restore point.

    It should be as it is to say

    
    RMAN> run {
    backup database TAG 'MY_BKP' keep UNTIL TIME "TO_DATE('18-AUG-2013','DD-MON-YYYY')"  RESTORE POINT MY_BKP_130813;
    }2> 3> 
    
    Starting backup at 13-AUG-13
    
    using channel ORA_DISK_1
    backup will be obsolete on date 18-AUG-13
    archived logs will not be kept or backed up
    channel ORA_DISK_1: starting full datafile backup set
    channel ORA_DISK_1: specifying datafile(s) in backup set
    input datafile file number=00002 name=/home/oracle/app/oracle/oradata/orcl/ddtest_sysaux01.dbf
    input datafile file number=00001 name=/home/oracle/app/oracle/oradata/orcl/ddtest_system01.dbf
    input datafile file number=00003 name=/home/oracle/app/oracle/oradata/orcl/ddtest_undotbs01.dbf
    input datafile file number=00004 name=/home/oracle/app/oracle/oradata/orcl/dd_users01.dbf
    channel ORA_DISK_1: starting piece 1 at 13-AUG-13
    channel ORA_DISK_1: finished piece 1 at 13-AUG-13
    piece handle=/home/oracle/RMAN/ddtest_l0_t823313030_s27_p1.rmn tag=MY_BKP comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:26
    
    using channel ORA_DISK_1
    backup will be obsolete on date 18-AUG-13
    archived logs will not be kept or backed up
    channel ORA_DISK_1: starting full datafile backup set
    channel ORA_DISK_1: specifying datafile(s) in backup set
    including current control file in backup set
    channel ORA_DISK_1: starting piece 1 at 13-AUG-13
    channel ORA_DISK_1: finished piece 1 at 13-AUG-13
    piece handle=/home/oracle/RMAN/ddtest_l0_t823313057_s28_p1.rmn tag=MY_BKP comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:02
    Finished backup at 13-AUG-13
    
    RMAN> alter database open;
    
    database opened
    
    RMAN> LIST RESTORE POINT ALL;
    
    SCN              RSP Time  Type       Time      Name
    ---------------- --------- ---------- --------- ----
    1111046                               13-AUG-13 MY_BKP_130813
    
  • A question about RMAN on 11.2

    Hello everyone

    Do to restore a database from 11.1 to 11.2 with RMAN?

    Thank you very much.

    Hello;

    Yes you can. However, there are big limits because you must always perform an upgrade. Generally not a good idea.

    Source:

    Frequently asked Questions about the restoration or duplication between different Versions and platforms [ID 369644.1]

    Additional information:

    NOTE: 560417.1 - restore via update returns ORA-1092 on open

    Best regards

    mseberg

  • Question on RMAN

    An excerpt from the next thread

    Re: RMAN without tape

    Can I use RMAN without a configured tape device?
    Yes, but you will not be able to use the Oracle backups of suggests straight out of the box

    What does that mean? Are bands the average recommended oracle backups?
    Are there difficulties to backup to disk?

    This response (or the context in which it is given) is bad.

    Actually, the 'normal' or 'popular' approach is today RMAN disk. Think of the FlashRecoveryArea - a perfect RMAN, the implementation of the disk.
    Disk is cheap. The disk recovery is quick.
    That said, who, once an RMAN backup to disk is made, the backup should go to band - but copy the Strip can be an individual task / deferred. This copy of band is for protection against the failure of the FRA.

  • Can someone answer these questions from RMAN 2 exam?

    I think that the answer key is wrong, but I wanted to be sure. Can you give the correct answer to question 2?

    rman.png

    Agreed

    (1) b + c

    (2) c

  • Question of RMAN

    Hi all

    Could you get it someone please let me know what is the difference between incremental backup using rman and rman optimization. I searched a lot in the Oracle documentation but could not get it.

    Kind regards

    Michel

    RMAN > backup optimization;

    RMAN > backup optimization;

    When you enable backup optimization, backup using rman command will skip backup of any file (datafile, archivelog or backup sets) if it has not changed or it is already saved. If your subsequent backup will save space.

    Incremental backups RMAN backup datafile only blocks changed since a previous backup specified. You can perform incremental backups of databases, individual storage spaces or data files.

  • Question about RMAN DUPLICATE command

    Oracle version: 10.2
    Operating system: Solaris 10

    To create a physical standby DB, I'll take full DB more backup archivelog on main site and copy it to the location of the previous day.
    I'm going to standby mode,
    startup nomount pfile=/path/init.ora
    rman target sys/password@primDB auxiliary /
    
    RMAN> run {
    allocate channel t1 device type disk;
    allocate auxiliary channel t2 device type disk;
    duplicate target database for standby nofilenamecheck;
    }
    1. is it true that I need to keep the full backup on the main site when you run the RMAN DUPLICATE backup server? In the affirmative. Why? We have already copied the full backup to the backup site. Right?

    2. why the command DORECOVER is optional?

    3. several archived newspapers may have been generated after that full backups have been copied to the backup site. When you run the backup site COPY command, RMAN will extract the info again newly generated primary and apply automatically in standby mode?

    Hello;

    I keep the RMAN backup on the primary until the copy is complete, so my RMAN catalog know about it. Sound cleaner this way. What magic RMAN can or can not do with it is not very important IMHO.
    Don't forget that the news of the eve doesn't have to be registered with RMAN, because it is the same database as the main. However you can use a tape with the method too, so it's probably more to do with not having to repeat the same backup if you make a mistake.

    I've never had to use a DORECOVER to a double never. Completing this task at least 30 times and I think 'optional' is not a word strong enough. According to the doc DORECOVER specifies that RMAN should recover the database after it is created. I've never had to use it. See this doc for more information:

    http://docs.Oracle.com/CD/B19306_01/backup.102/b14194/rcmsynta028.htm

    On move any what archiving log new expectations before to start the double so the news of the day before can start working immediately, without additional measures. Usually the Data Guard will begin apply immediately and have RMAN does not do anything. None of the notes has any special note for additional archives moving after starting two copies. RMAN duplicates and Data Guard apply struggling upward.

    Here are my notes on this topic: (these works on Oracle 10 or 11 of the Oracle)

    http://www.Visi.com/~mseberg/duprman2.html

    Best regards

    mseberg

    Published by: mseberg on March 17, 2012 13:07

  • Using the question of RMAN cloning

    DB version: 10 gr 2
    Operating system: Solaris
    We are thinking of cloning a database taking his full backup can
    rman target / auxillary sys/mypass@auxdb                    --- Done at Primary DB
    rman> duplicate target database to "smdprod" NOFILENAMECHECK; --- Done at Primary DB
    We run all these scripts (orders full backup and duplicate) for the night. After the auxiliary DB is in editing mode, there will be new archived logs generated in primary DB, which is the DB auxiliary not aware of. . Even if the archive logs are part of the using PLUS ARCHIVELOG backup script, we are talking about the archive logs generated after the auxiliary DB is mounted.

    Question1. How to apply these new archive logs in the auxiliary DB?

    Question2. On which mode the auxiliary DB must be when we apply archive logs. Editing or open mode?

    N.Page wrote:
    DB version: 10 gr 2
    Operating system: Solaris
    We are thinking of cloning a database taking his full backup can

    rman target / auxillary sys/mypass@auxdb                    --- Done at Primary DB
    rman> duplicate target database to "smdprod" NOFILENAMECHECK; --- Done at Primary DB
    

    We run all these scripts (orders full backup and duplicate) for the night. After the auxiliary DB is in editing mode, there will be new archived logs generated in primary DB, which is the DB auxiliary not aware of. . Even if the archive logs are part of the using PLUS ARCHIVELOG backup script, we are talking about the archive logs generated after the auxiliary DB is mounted.

    Question1. How to apply these new archive logs in the auxiliary DB?

    Question2. On which mode the auxiliary DB must be when we apply archive logs. Editing or open mode?

    To do this, create a standby database, complete his creation and apply to all the restoring archived log files that were generated during the creation on hold and perform a failover
    Check my video tutorial on the creation of standby and Clone database with RMAN
    http://kamranagayev.WordPress.com/2010/06/25/RMAN-video-tutorial-series-creating-duplicate-and-standby-database-using-RMAN/

  • question of RMAN backup optimization

    Hello

    I met a related issue of RAM and would like to understand the answer:

    Configuration of RMAN optimization a backup the value ONE. Which of the following commands will affect this setting?

    one) backup Archivelog with ALL or AS options, b) backup Backupset ALL, c) backup Tablespace, d) Backup Database

    I think that all of the above are affected by the backup optimization, however, only a, b and d seems correct, not c. I wonder why tablespace is not affected - it is not read-only, etc. ?

    Any ideas? Thank you.

    That is right. Please see the link to the doc,
    http://download.Oracle.com/docs/CD/E11882_01/backup.112/e10642/rcmconfb.htm#BRADV113

    HTH
    Aman...

  • Several questions about RMAN

    Hi all

    What is the difference between the following commands:

    * 1 : *
    Run {}
    allocate channel 'dev_0' type 'sbt_tape '.
    parms 'ENV = (OB2BARTYPE = Oracle8, prueba, OB2BARLIST = 1276289941, OB2BARHOSTNAME = server01.company.tel = OB2APPNAME)';
    allocate channel 'dev_1' type 'sbt_tape '.
    parms 'ENV = (OB2BARTYPE = Oracle8, prueba, OB2BARLIST = 1276289941, OB2BARHOSTNAME = server01.company.tel = OB2APPNAME)';
    allocate channel 'dev_2' type 'sbt_tape '.
    parms 'ENV = (OB2BARTYPE = Oracle8, prueba, OB2BARLIST = 1276289941, OB2BARHOSTNAME = server01.company.tel = OB2APPNAME)';
    allocate channel 'dev_3' type 'sbt_tape '.
    parms 'ENV = (OB2BARTYPE = Oracle8, prueba, OB2BARLIST = 1276289941, OB2BARHOSTNAME = server01.company.tel = OB2APPNAME)';
    restore the database;
    the value until logseq 15 wire 1.
    recover the database;
    SQL ' alter database open noresetlogs;
    free the channel "dev_0;
    free the channel 'dev_1 ';
    free the channel "dev_2."
    release the string "dev_3."
    }
    OUTPUT

    * 2 : *
    Run {}
    allocate channel 'dev_0' type 'sbt_tape '.
    parms 'ENV = (OB2BARTYPE = Oracle8, prueba, OB2BARLIST = 1276289941, OB2BARHOSTNAME = server01.company.tel = OB2APPNAME)';
    allocate channel 'dev_1' type 'sbt_tape '.
    parms 'ENV = (OB2BARTYPE = Oracle8, prueba, OB2BARLIST = 1276289941, OB2BARHOSTNAME = server01.company.tel = OB2APPNAME)';
    allocate channel 'dev_2' type 'sbt_tape '.
    parms 'ENV = (OB2BARTYPE = Oracle8, prueba, OB2BARLIST = 1276289941, OB2BARHOSTNAME = server01.company.tel = OB2APPNAME)';
    allocate channel 'dev_3' type 'sbt_tape '.
    parms 'ENV = (OB2BARTYPE = Oracle8, prueba, OB2BARLIST = 1276289941, OB2BARHOSTNAME = server01.company.tel = OB2APPNAME)';
    the value until logseq 15 wire 1.
    recover the database;
    SQL ' alter database open noresetlogs;
    free the channel "dev_0;
    free the channel 'dev_1 ';
    free the channel "dev_2."
    release the string "dev_3."
    }
    OUTPUT

    * 3 : *
    Run {}
    allocate channel 'dev_0' type 'sbt_tape '.
    parms 'ENV = (OB2BARTYPE = Oracle8, prueba, OB2BARLIST = 1276290368, OB2BARHOSTNAME = server01.company.tel = OB2APPNAME)';
    allocate channel 'dev_1' type 'sbt_tape '.
    parms 'ENV = (OB2BARTYPE = Oracle8, prueba, OB2BARLIST = 1276290368, OB2BARHOSTNAME = server01.company.tel = OB2APPNAME)';
    allocate channel 'dev_2' type 'sbt_tape '.
    parms 'ENV = (OB2BARTYPE = Oracle8, prueba, OB2BARLIST = 1276290368, OB2BARHOSTNAME = server01.company.tel = OB2APPNAME)';
    allocate channel 'dev_3' type 'sbt_tape '.
    parms 'ENV = (OB2BARTYPE = Oracle8, prueba, OB2BARLIST = 1276290368, OB2BARHOSTNAME = server01.company.tel = OB2APPNAME)';
    restore the database;
    until the SNA 721407066.
    recover the database;
    SQL ' alter database open noresetlogs;
    free the channel "dev_0;
    free the channel 'dev_1 ';
    free the channel "dev_2."
    release the string "dev_3."
    }
    OUTPUT

    And what is the difference between:
    * 1 - change the database open the NORESETLOGS
    and
    * 2 - modify the database open the RESETLOGS

    Thank you very much for your help, I'm a new baby to RMAN.

    Concerning

    Miguel

    Published by: Miguel Vega on 16/06/2010 16:17

    What I understand:

    'restoration' is the process of restoring a database or backup data file
    'recover' is the process of applying the changes after the time of the backup using redo logs.

    A resetlog is necessary whenever that active recovery logs cannot be used to retrieve the data, or are not synchronized with the controlfile. The resetlogs option creates a new incarnation of the database and reset the counters in the controlfile and redo logs to 0. You lose the ability to perform another CAMILLE or "coherence" of restoration as the active redo logs are not longer in the sequence with the existing backup files. You must make a backup as soon as possible. All data files must be online, otherwise they will become useless after using resetlogs. ALTER database open resetlogs is always necessary during an inconsistent backup, restore using a backup control file (no), or a previous point in time recovery.

    When you use a trace of form of backup control file, oracle updates the control file by reading all the current data file headers, so the redo logs are in line with the data files and recovery logs reset is not needed or wanted. The noresetlogs option is used only when a manual recovery is necessary, for example to cancel the recovery feature by using available log files.

    Published by: waldorfm on June 17, 2010 12:36 AM

  • Can you do my GNU?  -Question quick R12 install GNUMAKE

    Hello
    As a prereq for 12i I sucessfully installded GNUmake
    build_w32.bat ends to be excluded.

    Then run the installer quick and got this rezult
    + "gnumake" is not available.
    ERRORCODE = 1 ERRORCODE_ENDwhich: no gnumake in (/cygdrive/c/msvc/Common7/IDE:/cygdrive/c/msvc/VC/BIN:/cygdrive/c/msvc/Common7/Tools:/cygdrive/c/WINDOWS/Microsoft.NET/Framework/v3.5:/cygdrive/c/WINDOWS/Microsoft.NET/Framework/v2.0.50727:/cygdrive/c/msvc/VC/VCPackages:/cygdrive/c/Program Files/Microsoft SDKs/Windows/v6.0A/bin:/usr/bin:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/system32)+

    I haven't used spaces in the installing prerequisite software directories and first install MSVC 9 studio, active perl, GNUMAKE, Cygwin.

    Thank you.

    Hello

    I stuck Gnumake.exe in cygdrive/Windows32 and cygdrive/C:\msvc\Common7\IDE and I passed the test of preinstallation setup quick test.
    This is not the right way to do it though, is it?

    It is right, and everything's good about it. However, if you have Cygwin installed in the directory "C:\cygwin", you just make "C:\cygwin\bin" exists in the system path.

    Kind regards
    Hussein

  • a few questions about RMAN and others.

    Hello

    I have a few doubts and needs some clarification to clear my doubts... Thanks in advance

    can data be copied to a db tell another db say B, if A is running on Windows 32 bit OS and db B is on Solaris 64 bit

    can I have a primary on 10.2.0.4 and physical database pending for this db on 11g?

    I know RMAN can exclude tablespace but can we exclude tables as in dataguard table_name %... I know that we cannot just simply wanted to confirm

    Can I restore a specific tablespace of PROD to test?

    I passed TEST db and have added PROD and additional data files, how to change TEST without recreating the entire db

    can data be copied to a db tell another db say B, if A is running on Windows 32 bit OS and db B is on Solaris 64 bit

    You mean datafile or data?

    Data can be moved and also you can use cross-platform tablespace option

    http://www.Oracle.com/technology/deploy/availability/htdocs/xtts.htm

    can I have a primary on 10.2.0.4 and physical database pending for this db on 11g?

    NO.

    http://download.Oracle.com/docs/CD/B19306_01/server.102/b14239/standby.htm

    Can I restore a specific tablespace of PROD to test?

    No, you can't

    I passed TEST db and have added PROD and additional data files, how to change TEST without recreating the entire db

    Peut tunderstand

  • Another question quick eclipse

    I use eclipse. in the package exporer, I noticed that one of the projects from my blackberry icon is a folder with a 'J' on this subject; all my other blackberry projects were the icons of the folders with the logo blackberry on top. will this affect the .cod files? If so, how can I activate it in a project of blackberry?

    Eclipse has several icons that could match your description. Navigate to the documentation of the eclipse page, type "icons" in the search box, and then select [JDT icons] in the search results. This is the most likely place to find the exact icon you see and what it means.

    The most likely thing is that your project is set up a Java project, probably because it was created by selecting file > New > project Java instead of the file > New > other, then click BlackBerry project. The easiest way to recover is probably to create a new project and copy all the source files and resource.

Maybe you are looking for