Create standby using incremental backup

can I create standby database using a backup of primary which was created using below command? ( incremental backup level 0)
BACKUP INCREMENTAL LEVEL 0 AS COMPRESSED BACKUPSET DATABASE TAG 'mybackup_date' PLUS ARCHIVELOG DELETE INPUT;
v11.2.0.2
physical standby

Hello;
Probably not. The backup command is missing this key piece :
backup current controlfile for standby format '/u01/backups/PRIMARY/sb_t%t_s%s_p%p';Since you are using 11R2 you can use "Create a Standby database from an active database using RMAN"
Example :
http://www.visi.com/~mseberg/standby_creation_from_active_database_using_rman.html
Or
RMAN duplicate for Data Guard standby
http://www.visi.com/~mseberg/duprman2.html
Best Regards
mseberg

Similar Messages

  • How to restore using increment backup after full backup restore in RMAN?

    Hi All,
    We have a files of full backup of database after turning on the Archive log.
    And after that, daily incremental backup is taken.
    Now, i want to restore the the database into a new machine using both files of full and incremental backups. Can anybody give me script for restore of full backup and after that restore of incremental backup?
    Thanks,
    Praveen.

    Praveen,
    >>
    In my case, i have 2 sets of backups. One is full backup and other is incremental backup. In order to keep the restored database upto date, i need to restore the full backup and then restore incremental backup. Now, i got any idea how to restore using full backup. My doubt is how to update the restored database with incremental backup also?
    >>
    Restore always looks for level 0 backup, not the incremental backups.
    Incremental backups comes in picture during recovery.
    During Recovery, Oracle looks for incremental backups, if exists, it will do the recovery with the incremental backups, if no incremental backups available, then, it will look for archived logs.
    Therefore, incremental backups never used during restore, they are used only during the recovery.
    Jaffar

  • Restore using incremental backup with noarchivelog mode

    Hello experts,
    We are running SAP on Oracle databse(IN NOARCHIVELOG MODE) for which we are having full offline backup on every sunday and post which incremental backups on rest of the days. We have scenario to do restore db to the state till last friday's incremental backup.
    Please let us know the procedure for restoring till that point. If possible using brtools utility(which is SAP specific).
    Thank You
    Regards,
    Venkateshwar

    If you do not want to read the whole doc This is the snippet for you.
    Recovering a NOARCHIVELOG Database with Incremental Backups
    Restoring a database running in NOARCHIVELOG mode is similar to restoring a database in ARCHIVELOG mode. The main differences are:
    Only consistent backups can be used in restoring a database in NOARCHIVELOG mode.
    Media recovery is not possible because no archived redo logs exist.
    You can perform limited recovery of changes to a database running in NOARCHIVELOG mode by applying incremental backups. The incremental backups must be consistent, like all backups of a database run in NOARCHIVELOG mode, so you cannot make backups of the database when it is open.
    When you are recovering a NOARCHIVELOG database, specify the NOREDO option on the RECOVER command to indicate that RMAN should not attempt to apply archived redo logs. Otherwise, RMAN returns an error.
    To recover a NOARCHIVELOG database with incremental backups:
    After connecting to the target database and the recovery catalog, place the database in a mounted state:
    STARTUP FORCE MOUNT
    Restore and recover the database.
    For example, you can perform incomplete recovery with the following commands:
    RESTORE DATABASE
    FROM TAG "consistent_whole_backup";
    RECOVER DATABASE NOREDO;
    Open the database with the RESETLOGS option.
    For example, enter the following command:
    ALTER DATABASE OPEN RESETLOGS;

  • Backup Worflow with Automator (using incremental backups)

    How would I go about making a workflow that backs up my HD onto an external HD, replacing newer/changed files?
    Thanks,
    Mason

    Get a backup utility that does scheduled backups. There is no built-in backup facility in OS X except the Restore option of Disk Utility that does only full cloned backups.
    Get an external Firewire drive at least equal in size to the internal hard drive and make (and maintain) a bootable clone/backup. You can make a bootable clone using the Restore option of Disk Utility. You can also make and maintain clones with good backup software. My personal recommendations are (order is not significant):
    1. Retrospect Desktop (Commercial - not yet universal binary)
    2. Synchronize! Pro X (Commercial)
    3. Synk (Backup, Standard, or Pro)
    4. Deja Vu (Shareware)
    5. PsynchX 2.1.1 and RsyncX 2.1 (Freeware)
    6. Carbon Copy Cloner (Freeware - 3.0 is a Universal Binary)
    7. SuperDuper! (Commercial)
    The following utilities can also be used for backup, but cannot create bootable clones:
    1. Backup (requires a .Mac account with Apple both to get the software and to use it.)
    2. Toast
    3. Impression
    4. arRSync
    Apple's Backup is a full backup tool capable of also backing up across multiple media such as CD/DVD. However, it cannot create bootable backups. It is primarily an "archiving" utility as are the other two.
    Impression and Toast are disk image based backups, only. Particularly useful if you need to backup to CD/DVD across multiple media.
    Visit The XLab FAQs and read the FAQs on maintenance, optimization, virus protection, and backup and restore. Also read How to Back Up and Restore Your Files.

  • Monthly Backup Plan using Incremental Backups

    I would like to have a monthly backup plan as explained in the oracle documentation:
    First Friday of the month: Full Backup (Incremental Level 0)
    Monday, Tuesday, Wednesday, Thursday: Incremental Level 1
    2nd, 3rd, 4th Friday: Cumulative Incremental Backups Level 1
    As I understand is that the 4th cumulative incremental backup will contain all the changes from the full backup.
    Is there any way so that the 4th friday backup will contain only the changes since the 3rd Friday and so on?

    user12075536123 wrote:
    Thank you for advice.
    I understand Oracle has "backup level 0-4"
    I checked the document
    http://docs.oracle.com/cd/E11882_01/backup.112/e10643/rcmsynta007.htm#i78895
    INCREMENTAL LEVEL integer
    Copies only those data blocks that have changed since the last incremental integer backup, where integer is 0 or 1
    I understand Oracle has only level 0 and 1
    I tested
    ==================================================
    RMAN> backup incremental level 0 database;
    Starting backup at 18-SEP-13
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=64 instance=orcl device type=DISK
    channel ORA_DISK_1: starting incremental level 0 datafile backup set
    channel ORA_DISK_1: specifying datafile(s) in backup set
    Finished backup at 18-SEP-13
    RMAN> backup incremental level 1 database;
    Starting backup at 18-SEP-13
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting incremental level 1 datafile backup set
    channel ORA_DISK_1: specifying datafile(s) in backup set
    Finished backup at 18-SEP-13
    RMAN> backup incremental level 2 database;
    Starting backup at 18-SEP-13
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting incremental level 2 datafile backup set
    channel ORA_DISK_1: specifying datafile(s) in backup set
    Finished backup at 18-SEP-13
    RMAN> backup incremental level 3 database;
    Starting backup at 18-SEP-13
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting incremental level 3 datafile backup set
    channel ORA_DISK_1: specifying datafile(s) in backup set
    Finished backup at 18-SEP-13
    RMAN> backup incremental level 4 database;
    Starting backup at 18-SEP-13
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting incremental level 4 datafile backup set
    channel ORA_DISK_1: specifying datafile(s) in backup set
    Finished backup at 18-SEP-13
    RMAN> backup incremental level 5 database;
    Starting backup at 18-SEP-13
    using channel ORA_DISK_1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of backup command at 09/18/2013 21:32:58
    RMAN-06011: invalid level specified: 5
    ==================================================
    why!!
    Since there is no documentation of any level beyond 1, I can only guess that it is for backward compatibility.

  • Create Standby Database using RMAN changing backuppiece location ID753902.1

    [https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=HOWTO&id=753902.1] I am trying to create standby using above document however when I do recover database I get below error
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 07/06/2011 13:50:40
    RMAN-06054: media recovery requesting unknown archived log for thread 1 with sequence 1899 and starting SCN of 25926696
    logsequence 1899 is very very old sequence and doesnt exist on primary.this sequence is not needed because backu pwas taken after this sequence so I dont undrestand why rman is asking for a sequence that doesnt exists?
    my db is 11.2 and in archivelog mode , i have all the archivelogs from the date backup was taken until now...
    thanks
    Edited by: user9198889 on Jul 6, 2011 8:29 AM

    CKPT wrote:
    user9198889 wrote:
    [https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=HOWTO&id=753902.1] I am trying to create standby using above document however when I do recover database I get below error
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 07/06/2011 13:50:40
    RMAN-06054: media recovery requesting unknown archived log for thread 1 with sequence 1899 and starting SCN of 25926696
    logsequence 1899 is very very old sequence and doesnt exist on primary.this sequence is not needed because backu pwas taken after this sequence so I dont undrestand why rman is asking for a sequence that doesnt exists?
    my db is 11.2 and in archivelog mode , i have all the archivelogs from the date backup was taken until now...
    thanks
    Edited by: user9198889 on Jul 6, 2011 8:29 AMHave you restored from the recent backup?
    validate the backup compeltion_time and then retry the operation, Are you restoring from tapes?yes its recent backup(last and only backup infact ) , the backup took couple of days to run..
    the backup was executing using this command BACKUP INCREMENTAL LEVEL 1 AS COMPRESSED BACKUPSET DATABASE TAG 'LEV1_BCKP_2011-06-27_11_54' PLUS ARCHIVELOG DELETE INPUT
    there was no full backup so oracle must have taken full one and not incremental correct?
    first logseq that was back's up is : 35818
    primary uses local disk for its db and backup
    standby that i am trying to create is on asm. i have copied backup to FRA and restored to +data its recovery that is failing now                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Issue Creating Duplicate Database on Different host using RMAN Backup

    HI friends..
    I m trying to create a duplicate db on different host ....... 27
    i have live production db on ............. 15
    its up 24*7.
    i know how to create dup db using cold backup..but dont know how to create it using RMAN Backup..
    I have googled..but getting issues..
    Steps Taken till now
    Note- I dont have catalog created on live db..
    I already have set the tnsnames.ora on both servers
    1) Took full backup plus archivelog plus control file on 15
    2) moved it to another host..ie 27
    3) now on live db..
    I conected to rman target /
    so i m now connected to prod db
    than i try to conect to rman auxiliary sys/sys@dubpd..
    But it gives me insufficient privilages error..
    Can you tell me what to do next..Coz unless i get into mount phase on sever 27( new server)..i cannot use the control file from backup).my dupdb is up in nomount phase..but what enxt i can do..to restore the control file and than restore the backup after cataloging them to right path..
    Thanks in advance frieds...

    sai121 wrote:
    Nope ..on live db..
    @comand prompt when i type sqlplus sys/sys@dupdb..
    its says 0ra-12518...Listener cannot hand off client connection..
    My tns name for live server is..*primary* on live server .. whose ip is 15..(lIVE SERVER).
    i also have another entery with tns names- standby .on live server .. whose ip is 27..(other server for duplicated db).
    now @command prompt..@live server.. i did sqlplus sys/sys@standby
    It gives me ORA-12518
    Am i missing something..1- It could be a network problem. You may enable tracing on listener (and examine the logs).
    2- Add "DIRECT_HANDOFF_TTC_LISTENER=OFF" to listener.ora, then reload the listener
    3- You may want to increase "large_pool_size"

  • Creating standby database using RMAN

    When I'm creating standby database with RMAN command
    'duplicate for standby' backups for creating standby database
    have to be accessible from host where standby database
    is created. I can copy the backups to standby host, or use
    NFS to share the disk with backups to standby host.
    But when I have backups in ASM diskgroup how can
    I achieve it would be accessible from standby host?
    Thanks a lot for advice,
    M.

    OK, thanks,
    I will create standby using Grid, but I have the following problem:
    database instance is running on the host where I want
    to create standby database. The running instance is for
    testing purposes and has the same db_name, db_unique_name, db_domain
    parameters as in primary database.
    I will change db_unique_name to be distinct from primary database one,
    should I also change instance SID not to be the same in
    testing database and standby on the same host, or when creating standby
    database I can specify distinct one for standby database?

  • EM12c Create non-cumulative incremental (level 1) backups against target DB

    Is this not available? It appears that we can only create cumulative RMAN incremental backups through Cloud 12c (this is against an 11gR2 DB). Are non-cumulative incrementals no longer supported?

    When scheduling a backup through the wizard, the last step displays the RMAN script the wizard has generated for you. Have you tried clicking the 'Edit RMAN Script' and removing the word "cumulative" from the generated script?
    I run backups using scripts stored in the recovery catalog so I don't use the click-through backup wizard, but does it not result in a differential incremental backup if you edit the script?

  • Build standby database using cold backup on a different file system & host

    Hi gurus,
    The database version is 11.2.0.3. OS is HP UX Itanium 11.31
    I am building a standby database using cold backup of primary. The primary mount points are (/p003/oracle, /p004/oracle) on HOST1 and the standby file system on HOST2 are (/s003/oracle,/s004/oracle). I am not using Data Guard to apply logs as we have a script that mounts the log location periodically to standby server and apply the logs to make it current. I am using cold backup as the database is small like 200G and can be taken down. Could someone help me with the steps to build standby using cold backup for a different file location in standby ?? My concern is I can copy the data files from /p003 to /s003. How will I build the controlfile ?
    If it was same File system on both HOST 1 and HOST2 I can copy the cold backup to the standby server, build a standby control file on primary and copy and replace the standby control file and everything was set.
    Thanks
    Cherrish Vaidiyan

    Hello;
    I have a note on this using a cold copy of the current files instead of a copy backup :
    http://www.visi.com/~mseberg/data_guard_on_oracle_10_step_by_step.html
    I will post SCP SQL in a moment.
    Best Regards
    mseberg
    set heading off
    set feedback off
    set pagesize 100
    set linesize 400
    select 'scp '||a.name ||' server_name:' || a.name as newname from v$datafile a;
    select 'scp '||a.name ||' server_name:' || a.name as newname from v$controlfile a;
    select 'scp '||a.member ||' server_name:' || a.member as newname from v$logfile a;Edited by: mseberg on May 25, 2013 10:35 AM

  • Incremental BACKUP to resolve large gap in Data Guard

    Hi, all,
    We run into a situation that standby database was shutdown for a long time and had a large gap between the primary and standby. I am interested in the idea to use incremental backup from primary db to resolve the gap. Does anyone know the procedure to do the work? Our environment is Oracle 10g RAC R2 on both primary and standby, ASM. Any suggestions are highly appreciated. Thanks in advance

    Check Using RMAN Incremental Backups to Roll Forward a Physical Standby Database.

  • Tar incremental backup

    sir
    we are using tar programme for backup purpose.we need to know to use tar to take incremental backup.especially we are now using tar for system state data
    backup.but now we need to know how to use tar for system state data incremental backp
    Regards

    A snapshot file is created during incremental backups. It contains the status of the file system at the time of the dump and is used to determine which files were modified since the last backup. For instance:
    $ tar --create --file=backup.tar --listed-incremental=/var/log/backup.snar /This will create in an incremental backup of the '/' file system in 'backup.tar', storing additional metadata in the file ‘/var/log/usr.snar’. If this file does not exist, it will be created. Otherwise, if the file ‘/var/log/usr.snar’ exists, it determines which files are modified. In this case only these files will be stored in the archive.
    http://www.gnu.org/software/automake/manual/tar/Incremental-Dumps.html#SEC94

  • How to check wether we are using Compressed backup option or not in 11gR1?

    Actually I'm trying save some space in FRA? Any Ideas will be really welcome.
    One option I can think of is Compressed backup sets
    I don't see anyhting like 'Compress' in my scripts below....Also in 'Backup Settings' under 'Availability' Tab in Grid
    I see 'Backup Set' selected and not 'Compressed Backup set'.
    Is there anywhere else I can check wether I'm taking compressed backups or not?
    Thanks in Advance
    run {
    RECOVER COPY OF DATABASE WITH TAG "ngprod_incr_backup";
    allocate channel 'dev_0' type 'sbt_tape' parms 'SBT_LIBRARY=/ora00/app/oracle/product/11/db1/lib/libobk.so';
    send 'NSR_ENV=(NSR_SERVER=corpntw01.amhc.amhealthways.net, NSR_CLIENT=NGPROD.amhc.amhealthways.net, NSR_DATA_VOLUME_POOL=UNIX Daily)';
    allocate channel 'dev_1' type 'sbt_tape' parms 'SBT_LIBRARY=/ora00/app/oracle/product/11/db1/lib/libobk.so';
    send 'NSR_ENV=(NSR_SERVER=corpntw01.amhc.amhealthways.net, NSR_CLIENT=NGPROD.amhc.amhealthways.net, NSR_DATA_VOLUME_POOL=UNIX Daily)';
    backup recovery area;
    release channel dev_0;
    release channel dev_1;
    BACKUP INCREMENTAL LEVEL 0 DATABASE TAG "ngprod_incr_backup" ;
    run {
    RECOVER COPY OF DATABASE WITH TAG "ngprod_incr_backup";
    BACKUP INCREMENTAL LEVEL 1 FOR RECOVER OF COPY WITH TAG "ngprod_incr_backup" DATABASE;
    run {
    allocate channel 'dev_0' type 'sbt_tape'
    send 'NSR_ENV=(NSR_SERVER=corpntw01.amhc.amhealthways.net, NSR_CLIENT=NGPROD.amhc.amhealthways.net, NSR_DATA_VOLUME_POOL=UNIX Daily)';
    allocate channel 'dev_1' type 'sbt_tape'
    send 'NSR_ENV=(NSR_SERVER=corpntw01.amhc.amhealthways.net, NSR_CLIENT=NGPROD.amhc.amhealthways.net, NSR_DATA_VOLUME_POOL=UNIX Daily)';
    allocate channel 'dev_2' type 'sbt_tape'
    send 'NSR_ENV=(NSR_SERVER=corpntw01.amhc.amhealthways.net, NSR_CLIENT=NGPROD.amhc.amhealthways.net, NSR_DATA_VOLUME_POOL=UNIX Daily)';
    allocate channel 'dev_3' type 'sbt_tape'
    send 'NSR_ENV=(NSR_SERVER=corpntw01.amhc.amhealthways.net, NSR_CLIENT=NGPROD.amhc.amhealthways.net, NSR_DATA_VOLUME_POOL=UNIX Daily)';
    backup filesperset 1 tag='NGPROD' format 'ARCH<NGPROD_%s:%t:%p>' archivelog all not backed up 2 times;
    delete noprompt archivelog all backed up 2 times to device type sbt;
    release channel dev_0;
    release channel dev_1;
    release channel dev_2;
    release channel dev_3;
    }

    hi,
    also you may define default behaviour of backing up:
    RMAN> CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO COMPRESSED BACKUPSET;
    Turn on this great feature:
    SQL> alter database enable block change tracking using file '/u01/oradata/ora1/change_tracking.f';
    and use incremental backups.

  • Incremental Backup question

    Hi,
    I have a hot backup taken every wednesday and archive log backups taken every day. (using RMAN and netbackup). Oracle is 10.2.0.3 and OS is RHEL4.
    Do I still need or (will it be helpful to have ) incremental backups? What is its purpose? Will the recovery be faster if I have incremental backups? Please comment.
    Thank you,

    i guess this is a good best practice found in Expert Oracle Database by Sam Alapati
    "If you expect few changes in data, you are better off using incremental backups, since they
    won’t consume a lot of space. Incremental backups, as part of your backup strategy, will reduce the
    time required to apply redo during recovery. However, if most of your database blocks change frequently,
    your incremental backups will be quite large. In such a case, you are better off making a
    complete image copy of the database at regular intervals."
    Edited by: doro on Aug 19, 2011 1:57 PM

  • Incremental Backup keep skipping saving pst files

    Hi,
    Client company uses MS-outlook 2007 and pst files are saved on windows esssentilas 2012 R2  server(ex: h:\outlook\outlook.pst)  for backup purposes. We use incremental backup on the server. For some reason the initial full backup runs fine, but
    the subsequent backups keep on skipping backing up the pst files as if they were unchanged. The pst files are changed daily and the outlook program is closed before the backup.  I used so far Synctoy and backup assist and both do the same .
    Thanks for your help

    Hi,
    Since it's Incremental Backup, I suggest you make sure the .pst file has actually been "modified".
    What I mean is, Incremental Backup may consider the file as modified based on the modified time. If the .pst file's last modified timestamp hasn't been changed, the Incremental Backup will consider the file has not been changed and will skip the backup.
    By the way, also a reminder, we don't recommend network share hosting of .pst as it always brings unexpected issues.
    Regards,
    Melon Chen
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

Maybe you are looking for

  • How do I restore apps/music on my iPhone?

    I can't figure out how to delete my other question, so sorry to post another one similar. I saved everything to iCloud, had to reset phone and then am trying to restore everything. My contacts came back as well as everything in my Calendar.  For some

  • Share Feature - Document Library - Contribute Users getting: Only a limited amount of people are allowed to share this content

    Hi I am getting the following error when users with contribute permissions try to share an individual document from a document library. If I upgrade the user to full control they are then able to Share the file ok and not get the above error. So what

  • File naming with sequence

    My editor requires that I name a file as in the following example: FI_RX_London(sequence number) if I try this while importing using file name with sequence, there will be a - sign in front of the number. My question, how do I remove the - sign

  • Is there a way to enable delta for BPC transaction loads ?

    Hi, I am using Data Management package methodology to load data from BI to BPC. Created Transformation file, created Data management package to download the data from Infoprovider and run the package to load the data from BI cube to BPC application.

  • How to use ResourceBundle

    I have a piece of code which tries to read a property file like this: ResourceBundle bundleHandle = ResourceBundle.getBundle("Example"); Here Example.properties is a file located in another directory which is dynamically constructed during deployment