PIT recovery until time when database was in backup mode

Hello,
Is it possible to recover database until some point/time which is within "time window" when database tablespaces were still in online backup mode?
I was basicaly replicatying database from source to target DB by putting DB to online backup mode, then copy all datafiles, after copy of datafiles was finished I started applying redologs generated on source DB afterwards. After I applied tens of redologs with "recover database until cancel using backup controlfile" and then typed "CANCEL" after 10-20 redologs applied I still got an error that opening DB would get an error due to inconsistent datafile. When I ended backup mode on source DB and applied few of redologs after ending backup mode on source DB datafiles were consistent.....
Thx a lot for answer in advance.

Hello Hemant K Chitale ,
thats clear. I probably did not express it clearly, so I will describe it once again:
Teoreticall scenario 1:
I put 'source" database to backup mode and start copy datafiles to "target" db. When copy of all datafiles is succesfully finished (lets say it 5:00AM), I don't issue "end backup" on source DB but I keep tablespaces in backup mode until 7:00AM. On target DB I will start recovery and apply redologs from source system.
Question 1:Is it possible to recover database until time 6:00AM? At this time all datafiles were already succesfully copied, BUT source db was still in backup mode. Or will I be able to get target DB to consistent state only after 7:00AM (end backup issuied on source DB) and not in window 5:00AM-7:00AM?
Teoreticall scenario 2 (small correction comparing to scenario1):
I will put source DB to begin backup mode at 5:00AM on 20.february and let it in this state until 7:00AM on 20.february. On target DB I will restore backup from source DB performed day before (or few days before does not matter) that means on 19.february and start to apply redologs generated after this backup.
Question 2: Will I be able to recover DB until 6:00AM on 20.february and open database after recovery until this time? Or wont I be able to recover and open DB witin window 20.february 5:00AM-7:00AM (source db in backup mode)
Bear in mind this is just teoreticly (don't ask me why would you do it and why you don't do it this way etc...). I just want to understand how it really works ;)
Thx a lot!

Similar Messages

  • Find exact time a database was recovered to

    Oracle 11gR1
    How can I find out the exact time a database was recovered to, assuming I do not know what value was used in the "SET UNTIL TIME" clause?

    >Will the resetlogs time show the time I issued the "alter database open resetlogs" command at or will it show the time that the database was actually recovered to
    The RESETLOGS_TIME in V$DATABASE shows when the ALTER DATABASE OPEN RESETLOGS was issued.
    It does NOT show the time the database was recovered to.
    Thus, today, 14-Jun I restore a database backup of 11-Jun and do an Incomplete Recovery to 12-Jun.  My SET UNTIL TIME was 12-Jun.
    V$DATABASE.RESETLOGS_TIME shows 14-Jun.
    The only way to know the time the database was recovered to is to query a table which you know holds transaction timestamps and would have had a transactions just at or before the SET UNTIL TIME.  (e.g. an audit table  ?)
    Hemant K Chitale

  • I've just downloaded Sophos (yesterday) and commenced the scan. It keeps stopping part way through, the 2nd time when it was about 98% completed after 4 hours!!!! I've had to start again. What could be causing this? I have Mountain Lion.

    I've just downloaded Sophos (yesterday) and commenced the scan. It keeps stopping part way through, the 2nd time when it was about 98% completed after 4 hours!!!! I've had to start again. What could be causing this? I have Mountain Lion.

    Thomas A Reed wrote:
    You will be advised by people here that Sophos is "junk" and should be removed {...} Sophos actually works pretty well, in my testing, and so I would suspect that there may be an underlying problem with your file system that needs to be repaired.
    FWIW, I have used Sophos regularly for several years now (including on my new iMac running Mountain Lion versions 10.8.2 & now 10.8.3) & never had any problems with it on any of the half dozen or so Macs I have installed it on.
    Quite a few people automatically assume all Mac A-V software is troublesome junk, & many will leap to the conclusion it is the cause of some problem without considering other potential (& often much more likely) causes, regardless of which A-V product is installed.
    Obviously I hope, not all A-V products are alike, so it doesn't make a lot of sense to me to condemn them all because of problems with one of them. Regarding Sophos in particular, finding first hand reports of it causing problems is quite difficult -- typically, if you ask for the details it turns out to be a second or third hand report & there isn't enough info available to know for certain if it is the real cause or not.
    This is not to say it is impossible for it to cause problems, just that it is prudent to consider all the possibilities before concluding that any one of them is the cause.

  • Preordered iPhone 6 at 3am eastern time when it was released and haven't received it

    I Preordered my I phone 6 at 3am eastern time when it was launched and received a confirmation email stating that I would receive my phone today and I did not!!! I am not happy at all with verizon maybe it is time to switch to another company. To make matters worse my father who ordered the same exact phone as I did hours after I did already received his in the morning today......that just isn't right! What do you plan to do about this verizon and hen exactly am I going to get my phone?
    >> Subject edited for brevity <<
    Message was edited by: Verizon Moderator

    Hello Jayhiggins.
    You did not really mention anything you tried. So thought I would list some tips that may or may not assist with this. But hopefully something helps you a bit.
    1. Reboot iPhone
    -Hold down the home button & sleep/wake button together till you see the silver apple logo. Once you do let go. Now test SMS
    2. Toggle Airplane Mode ON for 1 min
    -Settings - Airplane Mode - Turn ON for 1 min then turn off, Now test SMS
    3. Toggle 3G Mode OFF for 1 min
    -Settings - General - Network - 3G - Turn OFF for 1 min then ON, Retest SMS
    4. Reset Network Settings
    -Settings - General - Reset - Reset Network Settings - Confirm - iPhone Reboots
    -This will not touch any of the data on the iPhone at all but you may need to put in WiFi passwords again
    -Retest SMS
    5. Remove SIM Card
    -Remove SIM card, Clean it with a soft dry cloth, as well as the try, Blow into the SIM bay at an angle to blow out any particles. Link below on how to remove SIM card
    http://support.apple.com/kb/HT1438
    6. Usually a restore would be the next option but let's hold this till last. At this time you will want to contact your cell providers Data support group. As they might be able to check settings on their end for possible time stamp differences. If you find they can troubleshoot no more then restore iPhone

  • Firefox hand every time when laptop exit from sleep mode. Tested on 5 laptops with windows 7.

    Firefox hand every time when laptop exit from sleep mode. Tested on 5 laptops with windows 7.

    Same exactly problem here, very annoying when the computer goes to sleep mode and then Firefox locks up.

  • RECOVERY UNTIL TIME

    Hi everyone,
    Due to a mistake, we would like to recover our database to the day 10/06/2011 at 2am
    The database version is 11.2, in archivelog mode.
    We have a full backup once a week, last valid one is on 05/06/2011.
    I made this script for rman and i want to be sure i didn't forget something to ckeck before used it :
    RUN {
    shutdown immediate;
    startup mount;
    sql "alter session set nls_date_format=''dd-mm-yyyy hh24:mi:ss''";
    set until time '10-06-2011 02:00:00';
    RESTORE DATABASE;
    RECOVER DATABASE;
    Can u tell me if it seems fine, did i have to reset the logs after that ?
    Thanks for your help.
    Br,
    Alex

    Thks but did u think my script seems to be clear ?run
    sql 'alter session set NLS_DATE_FORMAT="YYYY-MM-DD HH24:MI:SS"';
    set until time = '10-06-2011 02:00:00';
    restore database;
    recover database;
    sql 'alter database open resetlogs';
    }

  • Recovery until time, I don't understand where is my error....

    Hi All,
    sorry but I don't understand....
    I need to restore one full backup for recover until time at 18-nov of all database on a second server
    I'v a new server with the same oracle version and the same directory structure of the primary server. Oracle is 11.2.0.2.
    I've daily full backup, and in a zffsa storage I've all copy of last 3 day of backup; The second server access to the samce zfssa storage.
    With list backup I can see backup about 18 november and I can see backup about 19 november.
    How I can select backup about 18 november and restore only this?
    I've the same AMS structure, too.
    Can i restore all db and recover until time?
    Edited by: ggiulian on 19-nov-2012 16.03

    For example,
    in the second server, i start in nomount a duplicate instance, restore controlfile from backup, and startup mount.
    After, i connect to rman target / auxiliary /
    and run:
    run {
    allocate channel C1 device type disk;
    allocate auxiliary channel C2 device type disk;
    set until time "to_date('18-nov-2012 13:00:00','dd-mon-rrrr hh24:mi:ss')";
    restore database;
    recover database;
    I receive
    RMAN-03002: failure of restore command at 11/20/2012 01:44:21
    RMAN-06026: some targets not found - aborting restore
    RMAN-06023: no backup or copy of datafile 16 found to restore
    RMAN-06023: no backup or copy of datafile 15 found to restore
    RMAN-06023: no backup or copy of datafile 14 found to restore
    RMAN-06023: no backup or copy of datafile 13 found to restore
    RMAN-06023: no backup or copy of datafile 12 found to restore
    RMAN-06023: no backup or copy of datafile 11 found to restore
    RMAN-06023: no backup or copy of datafile 10 found to restore
    RMAN-06023: no backup or copy of datafile 9 found to restore
    RMAN-06023: no backup or copy of datafile 8 found to restore
    RMAN-06023: no backup or copy of datafile 7 found to restore
    RMAN-06023: no backup or copy of datafile 6 found to restore

  • Delete old time machine database directories on backup drive?

    Had the hard drive replaced preemptivly on 2010  iMac under warrenty. Now in finder I see multiple database directories on the time capsule drive, Tims-iMac, and 2 entries called Tims-iMac 3 under the directory Backups.backupdb. (In term I only see one copy of Tims-Imac 3). The older Tims-Imac files start when the old drive was new and end when it was replaced. Time machine only shows the entries in the Tims-iMac 3 database.  I do not need any of the old directories in Tims-iMac anymore. I just added a ton of pictures to the system and would rather use the TM disk space for backups from this instalation. I doubt TM is going to delete entries from the old database when the drive fills up (now). I do not see a way to make TM delete these files or recognize that direcotry as a TM db.
    Is it safe to delete the entire Tims-iMac directory? In finder?

    t.gargrave wrote:
    Had the hard drive replaced preemptivly on 2010  iMac under warrenty. Now in finder I see multiple database directories on the time capsule drive, Tims-iMac, and 2 entries called Tims-iMac 3 under the directory Backups.backupdb.
    Sounds like more than your HD was changed.  Time Machine thinks you got a new Mac.  A new logic board  will do that (it has a hardware address that Time Machine uses to identify your Mac).
    I doubt TM is going to delete entries from the old database when the drive fills up (now).
    Correct -- TM on your Mac won't delete backups (it thinks are) belong to another one.
    Is it safe to delete the entire Tims-iMac directory? In finder?
    Yes, but it will take a very long time to empty the trash (hold the Alt/Option key when you do that.)  If your backups are on a network (Time Capsule, etc.) connect via Ethernet cable when you can leave it for a long time. It will still be slow, but 2-3 times faster than WIFI.

  • AWR Snapshots Required When Database is in Restricted Mode

    We are planning to run some processes, but want the database to be in restricted mode to keep "normal" users out.
    But we also need to monitor performance on the system during that. Normally however, scheduled jobs such as this don't run in restricted mode.
    Does anyone know of any way of still (preferably automatically) running the AWR snapshots when the database (Version 10.1.0.5) is in restrict mode.
    I know this may be a little off-topic for this forum, but it was the nearest I could find.
    Any information gratefully received.

    Hi,
    Unfortunately this is not possible in version 10.1 .
    In 10.2.0.4 (when it is released) and 11g it is possible to allow this using the ALLOW_RUNS_IN_RESTRICTED_MODE boolean job attribute.
    In prior releases no jobs will run when the database is in restricted mode.
    Thanks,
    Ravi.

  • Database stuck in backup mode after unplanned restart.

    Hi All,
    Maybe someone can help i am looking to see if there is a Oracle paramater that will kill a backup if the system is restarted or stopped during a baclup.
    John

    There is no such parameter.
    If you are still using user managed backups (which
    you shouldn't)
    you'll need to recover your database when you abort a
    backup, or shutdown the database during backup.That is not correct.
    See documentation on the END BACKUP Clause:
    After a system failure, instance failure, or SHUTDOWN ABORT operation, Oracle Database does not know whether the files in online backup mode match the files at the time the system crashed. If you know the files are consistent, you can take either individual datafiles or all datafiles out of online backup mode. Doing so avoids media recovery of the files upon startup.
    * To take an individual datafile out of online backup mode, use the ALTER DATABASE DATAFILE ... END BACKUP statement. See database_file_clauses .
    * To take all datafiles in a tablespace out of online backup mode, use an ALTER TABLESPACE ... END BACKUP statement.

  • Time Machine is endless preparing backup mode

    My time machine backup is an endless preparing backup mode to a Time Machine. Prior errors were a failed backup. Do I need to power down the Time Machine and restart! I see the back disk icon on the desktop and the Time Machine is under the Finder Shared.

    Give it as much time as you can. I've seen 2-3 hours of "preparing" before the backup starts.
    Try to let it go until the end of the day if you can. If no luck, stop the process and try the next step.
    Open Hard Drive > Applications > Utilities > Disk Utility
    Click your Hard Drive on the left to highlight it. Choose the icon with the exact name as the Hard Drive on your desktop. If you haven't changed this, it will be named Macintosh HD.
    Click Repair Disk Permissions
    This will take 15-45 minutes, maybe a little longer depending on how much data is on the disk.
    When the permission repair is complete, try the Time Machine reset again to see if that will get things going.

  • Do I need to use standby database in begin backup mode to take the backup?

    Hi All,
    I have a 10g(10.2.0.4) primary database with standby on a solaris platform. I need to create another standby database for the same primary.
    I have stopped the recovery on existing standby database and started copying(os copy) the files from existing standby to 2nd standby server. However I haven't kept the existing standby database(mounted) in begin backup mode. Is it okay?
    Thanks,
    Arun

    Backup mode for a mounted database?
    orclz>
    orclz> startup mount
    ORACLE instance started.
    Total System Global Area  788529152 bytes
    Fixed Size                  3050600 bytes
    Variable Size            373293976 bytes
    Database Buffers          406847488 bytes
    Redo Buffers                5337088 bytes
    Database mounted.
    orclz>
    orclz> alter database begin backup;
    alter database begin backup
    ERROR at line 1:
    ORA-01109: database not open
    orclz>

  • How to find out last time, when AE was started?

    Hi guys!
    I need to find out, when was our AE last time started.. Is it possible w/o Visual Admin?
    Thank you!
    Olian

    Hi Olian,
    You need to go into RWB.
    Inside RWB go to Component Monitoring -> Adapter Engine  ->  Adapter monitoring. You will see all the adapter listings there.
    Thanks
    Aashish Sinha
    PS : Reward points if Helped

  • Is there a way to see an access history for my ipad mini? dates and times when it was accessed? not particularly a safari history, just when the pin code was last put in?

    Im worried that my ipad is being used without my knowledge, I am randomly losing whole conversations from my messages although they are still visible on my iphone. I wanted to see when my ipad was last accessed before i start accusing people of messing with it.

    I'm not aware of any setting or app that will do what you are looking for, but it possible you might find something in the app store.
    You should consider changing your pass code and possibly using complex rather than simple pass code. And keeping the device secure when not in your possession.

  • How to determine the last time  a database was used

    Is it possible in to determine the time a CRUD operation occurred on a database?

    How can I activate the auditing? http://download-east.oracle.com/docs/cd/B19306_01/network.102/b14266/auditing.htm#i1011984
    Daljit Singh

Maybe you are looking for

  • Taking long time to load the data

    Hi All, When my BI colleague is trying to load data from a source system, it is taking too long. And the corresponding job BI_BOOK* is taking around 90000 seconds already. Can anyone suggest how to tackle this problem? Thanks so much in advance. Best

  • Name in comments

    Dear Adobe Acrobat community, I am a Adobe Acrobat XI Pro user (version 11.0.07) under Windows 8. I am trying to review an official document, however, my comments get a former informal log in nickname. I would like to show my formal name. I tried and

  • Import from backup-lost creation date

    Help! I had to wipe my hard drive . . .reinstalled Iphoto. When importing photos back into Iphoto, there are no long any original creation date, just the dates of the backup, and the new import. I know that I can batch change to the original creation

  • What good is this support vehicle if questions go unanswered....

    I am very disappointed. I have been having problems installing SP3. At this point I can neither install or uninstall my original version or SP3. As suggested I posted my question 3 days ago on how to resolve this on this site with the understanding t

  • Excise Register Query

    Hi I have posted an excise transaction through J1IS. But how do I see the corresponding entries in the excise registers? Regards Kailash