Point in Time Duplicate failing

Attempting to Duplicate database from a backup taken 3 weeks ago and received the following:
printing stored script: Memory Script
switch clone datafile all;
executing script: Memory Script
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 10/26/2009 14:19:14
RMAN-03015: error occurred in stored script Memory Script
RMAN-00600: internal error, arguments [7002] [0] [7886] [] []
RMAN command looks like:
RMAN> run
2> {
3> set until time "to_date('08-10-2009 15:00:00','dd-mm-yyyy hh24:mi:ss')";
4> duplicate target database to <aux db>;
5> }
haven't seen much info on the above error... Just looking for a next step.
Thanks

Primary:
SQL> show parameter undo
NAME TYPE VALUE
undo_management string AUTO
undo_retention integer 3600
undo_suppress_errors boolean FALSE
undo_tablespace string UNDOTBS_1
SQL> select * from dba_data_files where file_id = 14;
FILE_NAME
FILE_ID TABLESPACE_NAME BYTES BLOCKS STATUS
RELATIVE_FNO AUT MAXBYTES MAXBLOCKS INCREMENT_BY USER_BYTES USER_BLOCKS
/u02/oradata/vprd2/undotbs_1.dbf
14 UNDOTBS_1 2097152000 256000 AVAILABLE
14 YES 3.4360E+10 4194302 1 2097086464 255992
Oracle version is 9.2.0.4
I believe I have followed the procedures correctly. db_file_name_convert and log_file_name_convert parameters are set on auxiliary db:
Auxiliary:
SQL> show parameter convert
NAME TYPE VALUE
db_file_name_convert string /u02/oradata/vprd2, /u02/orada
ta/vcost
log_file_name_convert string /u03/redo/vprd2, /u02/oradata/
vcost, /u02/oradata/vprd2, /u0
2/oradata/vcost
I am trying to restore from backup taken on October 8th. Full backup on October 2nd, Incrementals nightly and archive log backups hourly from primary.
Only problem with duplicate is with the alter database open resetlogs.

Similar Messages

  • Tablespace Point in Time Recovery fails with RMAN-06026:

    I have cataloged with RMAN the datafiles from Snapshot backup. Still it fails with the following error.
    RMAN> RECOVER TABLESPACE TSPC UNTIL TIME "to_date('03-apr-2013 02:18:00','dd-mon-yyyy hh24:mi:ss')" AUXILIARY DESTINATION '/tmp/auxpran';
    Starting recover at 03-APR-13
    using channel ORA_DISK_1
    RMAN-05026: WARNING: presuming following set of tablespaces applies to specified point-in-time
    List of tablespaces expected to have UNDO segments
    Tablespace SYSTEM
    Tablespace UNDOTBS1
    Creating automatic instance, with SID='Ebgt'
    initialization parameters used for automatic instance:
    db_name=ORCL
    db_unique_name=Ebgt_tspitr_ORCL
    compatible=11.2.0.0.0
    db_block_size=8192
    db_files=200
    sga_target=280M
    processes=50
    db_create_file_dest=/tmp/auxpran
    log_archive_dest_1='location=/tmp/auxpran'
    #No auxiliary parameter file used
    starting up automatic instance ORCL
    Oracle instance started
    Total System Global Area 292933632 bytes
    Fixed Size 1336092 bytes
    Variable Size 100666596 bytes
    Database Buffers 184549376 bytes
    Redo Buffers 6381568 bytes
    Automatic instance created
    Running TRANSPORT_SET_CHECK on recovery set tablespaces
    TRANSPORT_SET_CHECK completed successfully
    contents of Memory Script:
    # set requested point in time
    set until time "to_date('03-apr-2013 02:18:00','dd-mon-yyyy hh24:mi:ss')";
    # restore the controlfile
    restore clone controlfile;
    # mount the controlfile
    sql clone 'alter database mount clone database';
    # archive current online log
    sql 'alter system archive log current';
    # avoid unnecessary autobackups for structural changes during TSPITR
    sql 'begin dbms_backup_restore.AutoBackupFlag(FALSE); end;';
    executing Memory Script
    executing command: SET until clause
    Starting restore at 03-APR-13
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: SID=19 device type=DISK
    channel ORA_AUX_DISK_1: restoring control file
    channel ORA_AUX_DISK_1: copied control file copy
    input file name=/tmp/auxpran/controlbc.ctl
    output file name=/tmp/auxpran/ORCL/controlfile/o1_mf_8opkv8v4_.ctl
    Finished restore at 03-APR-13
    sql statement: alter database mount clone database
    sql statement: alter system archive log current
    sql statement: begin dbms_backup_restore.AutoBackupFlag(FALSE); end;
    contents of Memory Script:
    # set requested point in time
    set until time "to_date('03-apr-2013 02:18:00','dd-mon-yyyy hh24:mi:ss')";
    # set destinations for recovery set and auxiliary set datafiles
    set newname for clone datafile 1 to new;
    set newname for clone datafile 3 to new;
    set newname for clone datafile 2 to new;
    set newname for clone tempfile 1 to new;
    set newname for datafile 5 to
    "+DG_DATA/orcl/datafile/tspc.268.811733685";
    # switch all tempfiles
    switch clone tempfile all;
    # restore the tablespaces in the recovery set and the auxiliary set
    restore clone datafile 1, 3, 2, 5;
    switch clone datafile all;
    executing Memory Script
    executing command: SET until clause
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    renamed tempfile 1 to /tmp/auxpran/ORCL/datafile/o1_mf_temp_%u_.tmp in control file
    Starting restore at 03-APR-13
    using channel ORA_AUX_DISK_1
    One or more auxiliary set datafiles could not be removed
    Removing automatic instance
    shutting down automatic instance
    database dismounted
    Oracle instance shut down
    Automatic instance removed
    auxiliary instance file /tmp/auxpran/ORCL/controlfile/o1_mf_8opkv8v4_.ctl deleted
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 04/03/2013 02:32:55
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06026: some targets not found - aborting restore
    RMAN-06023: no backup or copy of datafile 2 found to restore
    RMAN-06023: no backup or copy of datafile 3 found to restore
    RMAN-06023: no backup or copy of datafile 1 found to restore
    Could anyone please reply ASAP?
    Regards,
    Pranam

    I had created a snapshot of the database(datafiles and archivelogs) and cataloged them.
    CATALOG START WITH "+TBL_DG_DATA/ORCL/DATAFILE/" NOPROMPT;
    catalog start with "+DG_ARCH/ORCL/ARCHIVELOG/" NOPROMPT;
    The time i gave was after the snapshot was created.
    When it failed the first time I created another controlfile using
    sql "alter database backup controlfile to ''/tmp/auxpran/controlbc.ctl''";
    And ran the recover command after the time after i generated this controlfile. Changed nothing else. TSPITR completed successfully. But it had failed first time. Cannot figure how it ran the second time but failed the first time.
    Removing automatic instance
    Automatic instance removed
    auxiliary instance file /tmp/auxpran/ORCL/datafile/o1_mf_temp_8opndd87_.tmp deleted
    auxiliary instance file /tmp/auxpran/ORCL/onlinelog/o1_mf_3_8opnd1o6_.log deleted
    auxiliary instance file /tmp/auxpran/ORCL/onlinelog/o1_mf_2_8opncy32_.log deleted
    auxiliary instance file /tmp/auxpran/ORCL/onlinelog/o1_mf_1_8opncv7d_.log deleted
    auxiliary instance file /tmp/auxpran/ORCL/datafile/o1_mf_sysaux_8opn516p_.dbf deleted
    auxiliary instance file /tmp/auxpran/ORCL/datafile/o1_mf_undotbs1_8opn4j14_.dbf deleted
    auxiliary instance file /tmp/auxpran/ORCL/datafile/o1_mf_system_8opmyvly_.dbf deleted
    auxiliary instance file /tmp/auxpran/ORCL/controlfile/o1_mf_8opmy14q_.ctl deleted
    Finished recover at 03-APR-13

  • Duplicate database FOR STANDBY DORECOVER which point of time

    Hi,
    please clarify to which point of time option DORECOVER will recover standby database 10.2.0.3
    - to start of duplicate command time
    - as far as archivelog are provided ?
    - some other option :)
    Regards.
    Greg

    The name logged in the controlfile when the ArchiveLog was created !
    (Thus, even if you keep changing the log_archive_dest for a database -- e.g. to switch between two different filesystems -- Oracle maintains the fully qualified path name).
    OT :
    However : not related to your DUPLICATE FOR STANDBY ..... but, for example, when doing a RECOVER USING BACKUP CONTROLFILE : if the archivelog filename is not in the controlfile (as the archivelog is "future" to the controlfile backup), Oracle generates the file name from log_archive_dest and log_archive_format, although here, too, you can override the generated name with a SET ARCHIVELOG DESTINATION in RMAN and LOGFILE clause in SQLPlus RECOVER.
    Hemant K Chitale

  • Query Question - Linking in Time Span Data to Point-in-Time References

    I am trying to pull historical data from a time-span table of records, using another point-in-time reference. I have been unsuccessful.
    I've thrown some sample tables and data together to illustrate what I am seeking:
    Create Table EmployeeInfo (
           id Number(10,0),               -- Employee ID Number
           Name VarChar2(32 Byte),        -- Employee Name
           CurrentShift VarChar2(2 Byte)  -- Current Employee Shift
    Create Table ShiftChanges (
           id Number(10,0),               -- Employee ID that this shift change record is for
           ChangeDate Date,               -- Date that this Change Took Place
           OldShift VarChar2(2 Byte),
           NewShift VarChar2(2 Byte)
    Create Table TimeCard(
           id Number(10,0),               -- Employee ID Number for this Timecard
           WorkDay Date,                  -- What Day is this Timecard for?
           Hours Float(63)                -- Number of Hours worked.
    COMMIT;
    INSERT INTO EmployeeInfo VALUES (100,'John Doe','Days')
    INSERT INTO EmployeeInfo VALUES (101,'Jane Doe','Days');
    INSERT INTO TimeCard VALUES (100, to_date('01012010','ddmmyyyy'), 10.5);
    INSERT INTO TimeCard VALUES (101, to_date('01012010','ddmmyyyy'), 10);
    INSERT INTO TimeCard VALUES (100, to_date('02012010','ddmmyyyy'), 9);
    INSERT INTO TimeCard VALUES (101, to_date('02012010','ddmmyyyy'), 10.5);
    INSERT INTO TimeCard VALUES (100, to_date('03012010','ddmmyyyy'), 8);
    INSERT INTO TimeCard VALUES (101, to_date('03012010','ddmmyyyy'), 7);
    INSERT INTO ShiftChanges VALUES (100, to_date('02012010','ddmmyyyy'), 'Nights', 'Days');
    COMMIT;I could do a query such as:
    SELECT TC.id,
           EM.Name,
           TC.Workday,
           EM.CurrentShift AS Shift
    FROM   TimeCard TC,
           EmployeeInfo EM
    WHERE  (TC.ID=EM.ID(+));But it will not give me the historical shift, only the current. Since John Doe changed shifts on Jan 2 from Nights to Days, the above query would not reflect it.
    I have attempted to join the historical table using a less-than operator. This doesn't work since more than one row can be returned.
    SELECT TC.id,
           EM.Name,
           TC.Workday,
           SC.NewShift AS Shift
    FROM   TimeCard TC,
           EmployeeInfo EM,
           ShiftChanges SC
    WHERE  (TC.ID=EM.ID(+)) AND
           (TC.ID=SC.ID(+) AND TC.WORKDAY<=SC.WORKDAY(+));The problem stems from the fact that you need to examine multiple records in one table in order to obtain the correct historical data for the other.
    The following SQL script {color:green}does work{color} - if the values are defined ahead of time.
    DEFINE EMPID=101;
    DEFINE CHGDATE=to_date('01/01/2010','dd/mm/yyyy');
    SELECT SQ.Shift
    FROM   (SELECT  ShiftChanges.NewShift AS Shift,
                    RANK() OVER (ORDER BY ShiftChanges.ChangeDate DESC) R
            FROM    ShiftChanges
            WHERE   ShiftChanges.id = &EMPID AND
                    ShiftChanges.ChangeDate <= &CHGDATE
            ) SQ
    WHERE R = 1However, I have been unsuccessful in adapting it to the example tables I provided. If I insert the query as an inline subquery* in the select statement, it won't work, since the criteria is nested two levels down, and I can only get parent values within the first level.
    I haven't thought of a way I can do this using a nested subquery - I keep running into that problem - how do you link in Time-Span data with a point-in-time reference.
    Any ideas / enlightening thoughts?
    Thank You
    {size:8}_SELECT * FROM V$VERSION information:_
    Oracle9i Enterprise Edition Release 9.2.0.8.0 - Production
    PL/SQL Release 9.2.0.8.0 - Production
    "CORE     9.2.0.8.0     Production"
    TNS for 32-bit Windows: Version 9.2.0.8.0 - Production
    NLSRTL Version 9.2.0.8.0 - Production
    {size}
    user10879184 re-wrote the original post on 29-Mar-2010 1:21 PM to reflect suggestions made by poster.

    I changed the tables to hold VARCHAR2(6) shift information and your query to reference the ChangeDate column.
    I also assume you meant to link a TimeCard entry with the most previous ShiftChange entry rather than one that occurs after the time worked (TC.WORKDAY>=SC.CHANGEDATE(+) rather than TC.WORKDAY<=SC.CHANGEDATE(+)):
    Another issue you don't take into account the case where there has been no shift change. In that event you need the current shift from the EmployeeInfo table which is taken care of with the NVL function.
    You correctly note that multiple shift change records will result in duplicate TimeCard records though your test data fails to check for that condition. I added this row:
    SQL> INSERT INTO ShiftChanges VALUES (100, to_date('03012010','ddmmyyyy'), 'Days', 'Nights'); Now it is apparent
    SQL> SELECT TC.id,
      2         EM.Name,
      3         TC.Workday,
      4         NVL(SC.NewShift,EM.CurrentShift) AS Shift
      5  FROM   TimeCard TC,
      6         EmployeeInfo EM,
      7         ShiftChanges SC
      8  WHERE  TC.ID=EM.ID(+) AND
      9         TC.ID=SC.ID(+) AND TC.WORKDAY>=SC.CHANGEDATE(+);
            ID NAME                             WORKDAY   SHIFT
           100 John Doe                         01-JAN-10 Days
           100 John Doe                         02-JAN-10 Days
           100 John Doe                         03-JAN-10 Days
           100 John Doe                         03-JAN-10 Nights
           101 Jane Doe                         01-JAN-10 Days
           101 Jane Doe                         02-JAN-10 Days
           101 Jane Doe                         03-JAN-10 Days
    7 rows selected.The reason for the duplicate Jan3 time is the two shift change records. We are matching both ShiftChange records that occured before the 3rd.
    We also see that your test data has John starting out on Days and then shifting from Nights to Days on the 2nd for no real change. Fixing that:
    SQL> DELETE from ShiftChanges where ID = 100;
    2 rows deleted.
    SQL> INSERT INTO ShiftChanges VALUES (100, to_date('02012010','ddmmyyyy'), 'Days', 'Nights');
    1 row created.
    SQL> INSERT INTO ShiftChanges VALUES (100, to_date('03012010','ddmmyyyy'), 'Nights', 'Days');
    1 row created.Then:
    SQL> SELECT TC.id,
      2         EM.Name,
      3         TC.Workday,
      4         NVL(SC.NewShift,EM.CurrentShift) AS Shift
      5  FROM   TimeCard TC,
      6         EmployeeInfo EM,
      7         (SELECT ID, Workday, ChangeDate, NewShift
      8          FROM
      9                 (SELECT TC2.ID, TC2.Workday, SC2.ChangeDate, SC2.Newshift,
    10                         MAX (SC2.ChangeDate) KEEP (DENSE_RANK LAST ORDER BY SC2.ChangeDate)
    11                                              OVER (PARTITION BY SC2.ID, TC2.Workday) AS Max_ChangeDate
    12                  FROM   ShiftChanges SC2,
    13                         TimeCard TC2
    14                  WHERE  TC2.Workday >= SC2.ChangeDate
    15                  AND    TC2.ID = SC2.ID
    16                  )
    17          WHERE   ChangeDate = Max_ChangeDate
    18          ) SC
    19  WHERE  TC.ID=EM.ID(+) AND
    20         TC.ID=SC.ID(+) AND
    21         TC.Workday=SC.ChangeDate(+) AND
    22         TC.Workday = SC.Workday(+);
            ID NAME                             WORKDAY   SHIFT
           100 John Doe                         01-JAN-10 Days
           100 John Doe                         02-JAN-10 Nights
           100 John Doe                         03-JAN-10 Days
           101 Jane Doe                         01-JAN-10 Days
           101 Jane Doe                         02-JAN-10 Days
           101 Jane Doe                         03-JAN-10 Days
    6 rows selected.The inline view finds the greatest ChangeDate less than the TimeCard Workday for each Workday.

  • External Drive attached to Time Capsule failing to work consistently

    This problem has been occurring since we started using an external drive attached to our Time Capsule as a backup destination for Time Machine over a year ago:
    Everything will be fine for a few days or weeks, but at some point backups stop working. This sometimes gives errors (Time Machine could not complete backup, I think) or sometimes it just looks like the backup has gotten stuck (reporting 235.32 MB of 22.86 GB for days). With the latter problem it seems to cause other issues with the OS like System Preferences not responding anymore and certain Save As... dialog boxes not appearing.
    Every time this happens, what I do is disconnect all users through AirPort Utility and then plug the drive into one of the computers and run Disk Utility on it.
    Each time, without fail, there is the error "Incorrect number of Access Control Lists" stating it should be 0 and it really is something in the thousands usually.
    The volume is always repaired successfully, but then the cycle continues.
    We've tried a couple of different drives and it always ends up happening.
    I've seen other posts with similar problems, but nothing laid out exactly like my problem, and no real fix for it.

    Yes, indeed. Let me give some background.
    I have an old Gigabit AEBS (7.4.2) as my main router with a Gigabit connection to my Time Capsule (500GB, 7.4.2) running in bridge mode. Both run as wireless access points for my network "Hogwarts." I backup several machines to the TC's internal drive with absolutely no problems whatsoever. Practically bulletproof. I backup two media heavy machines to the external drive attached to the TC. The drive is a Western Digital My Book 1.5TB that before the TC came into our lives, ran flawlessly when attached to my iMac as a backup destination. The media machines are Dumbledore, my mini running as a HTPC, and Tonks, my wife's laptop busting with pics and video of our son. Once I started backups to this drive connected to the TCs, I started to have problems with backup. That's the situation. Here's what I've tried to correct it.
    I had a year's worth of backups. Went to the Genius Bar who recommended starting over after they checked out my setup over Back to My Mac. They couldn't find anything wrong and supposed my backups were hopelessly corrupted. So I followed their advice with Dumbledore and archived those for Tonks. Trying to start over with Dumbledore fails within the first 75 of 500 GB to backup every time. I've redirected syslog reporting at Debug level from the TC to my iMac and formatted the external drive several times. I have done disk repairs on the drive, Dumbledore's sparse bundle, and the TM volume contained in the sparse bundle. I've only gotten the "too many ACL's" error. The WD drive comes with SmartWare software I've used to check the S.M.A.R.T. status (100% OK), test the drive (100% OK) and deactivate the Virtual CD partition used to, among other things, encrypt the drive. My drive is unencrypted and have made it as plain vanilla as I can: GUID with one 1.5 TB Mac OS Extended Journaled partition.
    What I've noticed when I check the status of the TC when the bakcups fail is that the drive becomes unmounted with no logged error. The client computer either hangs Finder or reports the backup failed. My wife has become so frustrated with hard restarts that she has turned off Time Machine until I fix this. Airport Utility simply no longer sees the drive. The client computer can reconnect over AFP but the drive will not be accessible unless I restart the TC. Then if I do some Disk Utility repairs on the external drive and on the virtual volumes it contains, I can start backups again...until the next spontaneous unmounting of the drive. Which leaves me talking to you as a completely frustrated and disappointed Apple user. This is so not Apple quality experience.
    The only shot in the dark I've seen is that the TC repeatedly updates its DHCP lease every 5 minutes or so despite having a 4 hour TTL. Weird.

  • Problem in performing multiple Point-In-Time Database Recovery using RMAN

    Hello Experts,
    I am getting an error while performing database point in time recovery multiple times using RMAN. Details are as follows :-
    Environment:
    Oracle 11g, ASM,
    Database DiskGroups : DG_DATA (Data files), DG_ARCH(Archive logs), DG_REDO(Redo logs Control file).
    Snapshot DiskGroups :
    Snapshot1 (taken at 9 am): SNAP1_DATA, SNAP1_ARCH, +SNAP1_REDO
    Snapshot2 (taken at 10 am): SNAP2_DATA, SNAP2_ARCH, +SNAP2_REDO
    Steps performed for point in time recovery:
    1. Restore control file from snapshot 2.
         RMAN> RESTORE CONTROLFILE from '+SNAP2_REDO/orcl/CONTROLFILE/Current.256.777398261';
    2. For 2nd recovery, reset incarnation of database to snapshot 2 incarnation (Say 2).
    3. Catalog data files from snapshot 1.
    4. Catalog archive logs from snapshot 2.
    5. Perform point in time recovery till given time.
         STARTUP MOUNT;
         RUN {
              SQL "ALTER SESSION SET NLS_DATE_FORMAT = ''dd-mon-yyyy hh24:mi:ss''";
              SET UNTIL TIME "06-mar-2013 09:30:00";
              RESTORE DATABASE;
              RECOVER DATABASE;
              ALTER DATABASE OPEN RESETLOGS;
    Results:
    Recovery 1: At 10.30 am, I performed first point in time recovery till 9:30 am, it was successful. Database incarnation was raised from *2* to *3*.
    Recovery 2: At 11:10 am, I performed another point in time recovery till 9:45 am, while doing it I reset the incarnation of DB to *2*, it failed with following error :-
    Starting recover at 28-FEB-13
    using channel ORA_DISK_1
    starting media recovery
    media recovery failed
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 03/06/2013 11:10:57
    ORA-00283: recovery session canceled due to errors
    RMAN-11003: failure during parse/execution of SQL statement: alter database recover if needed
    start until time 'MAR 06 2013 09:45:00'
    ORA-00283: recovery session canceled due to errors
    ORA-00313: open failed for members of log group 1 of thread 1
    ORA-00312: online log 1 thread 1: '+DG_REDO/orcl/onlinelog/group_1.257.807150859'
    ORA-17503: ksfdopn:2 Failed to open file +DG_REDO/orcl/onlinelog/group_1.257.807150859
    ORA-15012: ASM file '+DG_REDO/orcl/onlinelog/group_1.257.807150859' does not exist
    Doubts:
    1. Why did recovery failed 2nd time, but not 1st time and why is RMAN looking for online redo log group_1.257.807150859 in 2nd recovery ?
    3. I tried restoring control file from AutoBackup, in that case both 1st and 2nd recovery succeeded.
    However for this to work, I always need to keep the AutoBackup feature enabled.
    How reliable is control file AutoBackup ? Is there any alternative to using AutoBackup, can I restore control file from snapshot backup only ?
    4. If I restore control file from AutoBackup, then from what point of time/SCN does RMAN restores the control file ?
    Please help me out in this issue.
    Thanks.

    992748 wrote:
    Hello experts,
    I'm little newbie to RMAN recovery. Please help me in these doubts:
    1. If I have datafiles, archive logs & control files backup, but current online REDO logs are lost, then can I perform incomplete database recovery ?yes, if you have backups of everything else
    2. Till what maximum time/scn can incomplete database recovery be performed ??Assuming the only thing lost is the redo logs, you can recover to the last scn in the last archivelog.
    3. What is role of online REDO logs in incomplete database recovery ? They provide the final redo changes - the ones that have not been written to archivelogs
    Are they required for incomplete recovery ?It depends on how much incomplete recovery you need to do.
    Think of all of your changes as a constant stream of redo information. As a redolog fills, it is copied to archive, then (eventually) reused. over time, your redo stream is in archivelog_1, continuing into archvivelog_2, then to 3, and eventually, when you get to the last archivelog, into the online redo. A recovery will start with the oldest necessary point in the redo stream and continue forward. Whether or not you need the online redo for a PIT recovery depends on how far forward you need to recover.
    But you should take every precaution to prevent loss of online redo logs .. starting with having multiple members in each redo group ... and keeping those multiple members on physically separate disks.

  • Duplicate failed

    Duplicate failed with below error.
    The catalog database is up and running
    "rman_Dup_full.log_DEVDB_2013-01-20_21_11_32" 1600 lines, 71681 characters
    switch clone datafile all;
    RMAN-08162: executing Memory Script
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 01/20/2013 06:36:34
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06004: ORACLE error from recovery catalog database: ORA-03114: not connected to ORACLE
    RMAN-06004: ORACLE error from recovery catalog database: ORA-03114: not connected to ORACLE

    Please provide the full script of duplication, and also check the SQLNET.EXPIRE_TIME value to be configured less than TCP/IP time out on the firewall If catalog database is connected over network, check with System administrator
    Naga

  • Oracle 9i restore to point in time

    We are performing everyday full backups (plus archivelogs) using rman on our Oracle9i RAC database (in archivelog mode). The backup takes around 3 hours to complete. After we start the backup we wait for about 1 hour and then start transacting on the database through our application. Is it possible to take that backup and restore on a different database to the point in time when the backup started (or at any time within the first 1 hour window) assuming we take a backup of the controlfile at some point before or after the backup?
    Edited by: de**** on Jun 30, 2012 2:01 AM

    Hi de****,
    Is it possible to take that backup and restore on a different database to the point in time when the backup startedYou will need the previous backup plus all archivelogs to restore/recover to that point in time (PIT).
    The easiest would be to do an rman duplicate and take a PIT at the moment the hotbackup does the second archivelog backup run started.
    There are plenty of examples in this forum on how to do a duplicate.
    Regards,
    Tycho

  • Switch redo logs hourly to provide point-in-time?

    Hi All,
    Oracle 11G on Windows 2008 R2
    I am learning the details of managing backups/restores and want to be able to provide a good point-in-time capability in case of a disaster. Is it good practice to schedule an hourly job that does ALTER SYSTEM SWITCH LOGFILE; ? Does this cause the redo log to be archived every hour so if I needed to restore, I know that I can at least restore to the previous hour (using the archive logs) and before?
    Thanks in advance

    Aman beat me to what I was going to say.  I'll just add a couple of points:
    This really needs to established in concert with management, normally called an SLA (Service Level Agreement).  In a nutshell, you define what kinds of failures you allow for, how quickly recoveries or other procedures such as failovers will happen, what uptime is required, and so forth.  Of course, in reality many places won't spend the dollars to properly evaluate these things unless they are about to spend millions on an upgrade, so for ordinary places with ordinary business software the 15-30 minute rule covers many common recovery situations as a first approximation.  Simply asking management often gets a wrong or inadequate answer.
    Personally, I find there are times of large loads or updates, so I size redo to handle those by testing, then use the lag target to have a reasonable time switch during normal operations.  This winds up requiring large redo, but archived redo is much smaller, except of course during the heavy times.  The same with undo also; yearly operations or massive updates require large undo, so just keep it around rather than trying to size it under the gun when it fails the next year.  Redo is a critical resource, and may benefit from special filesystem handling, depending on your storage hardware.
    Job number one for a DBA is to not lose data, so recovery skills are critical, to the point of sometimes having to push management to do things right when they don't understand the value of their data.

  • Why does Time Machine fail to restore and keep the original file after I have provided my Admin password?

    I'm attempting to recover a group of lost files from Time Machine. The files are backups from a mobile app within User/LibraryMobile Documents/.
    I'm able to find the lost files, but Time Machine failed to restore them after I select 'Keep Both' and then enter my Admin Password. The screen returns to the desktop and the finder window for the file I'm trying to recover, but nothing else happens.
    I hope someone can help.
    Bil

         "Time Machine in Safe Mode couldn't access any history
         Why not? What happened?
    I have no Idea what happened. Here is the screenshot showing no history at all, and the Console:"
    2/10/2014 6:08:25.166 am com.apple.launchd.peruser.501[246]: (com.qbix.CalendarStart[401]) Exited with code: 1
    2/10/2014 6:08:25.166 am com.apple.launchd.peruser.501[246]: (com.qbix.CalendarStart) Throttling respawn: Will start in 10 seconds
    2/10/2014 6:08:28.209 am WindowServer[95]: disable_update_timeout: UI updates were forcibly disabled by application "Finder" for over 1.00 seconds. Server has re-enabled them.
    2/10/2014 6:08:28.337 am WindowServer[95]: Display 0x4280480 captured by conn 0xcc03
    2/10/2014 6:08:29.211 am WindowServer[95]: CGXOrderWindowList: Invalid window 85 (index 0/1)
    2/10/2014 6:08:35.206 am com.apple.launchd.peruser.501[246]: (com.qbix.CalendarStart[403]) Exited with code: 1
    2/10/2014 6:08:35.206 am com.apple.launchd.peruser.501[246]: (com.qbix.CalendarStart) Throttling respawn: Will start in 10 seconds
    2/10/2014 6:08:40.577 am com.apple.IconServicesAgent[308]: main Failed to composit image for binding VariantBinding [0x6a9] flags: 0x8 binding: FileInfoBinding [0x1d1] - extension: png, UTI: public.png, fileType: ????.
    2/10/2014 6:08:40.578 am quicklookd[408]: Warning: Cache image returned by the server has size range covering all valid image sizes. Binding: VariantBinding [0x203] flags: 0x8 binding: FileInfoBinding [0x103] - extension: png, UTI: public.png, fileType: ???? request size:64 scale: 1
    2/10/2014 6:08:42.209 am WindowServer[95]: disable_update_likely_unbalanced: UI updates still disabled by application "Finder" after 15.00 seconds (server forcibly re-enabled them after 1.00 seconds). Likely an unbalanced disableUpdate call.
    2/10/2014 6:08:42.209 am Finder[279]: void CGSUpdateManager::log() const: conn 0xcc03 legacy 1
    2/10/2014 6:08:42.211 am Finder[279]: Backtrace (at 1618.93):
    2/10/2014 6:08:42.211 am Finder[279]: void CGSUpdateManager::log() const:  0   CoreGraphics                        0x000000010d02b379 CGSBacktraceCreate + 59
    2/10/2014 6:08:42.211 am Finder[279]: void CGSUpdateManager::log() const:  1   CoreGraphics                        0x000000010d0da62c _ZN16CGSUpdateManager21disable_update_legacyEv + 78
    2/10/2014 6:08:42.211 am Finder[279]: void CGSUpdateManager::log() const:  2   CoreGraphics                        0x000000010d0da5d7 CGSDisableUpdate + 35
    2/10/2014 6:08:42.211 am Finder[279]: void CGSUpdateManager::log() const:  3   Finder                              0x0000000107b66aae Finder + 1608366
    2/10/2014 6:08:42.211 am Finder[279]: void CGSUpdateManager::log() const:  4   Finder                              0x0000000107b66224 Finder + 1606180
    2/10/2014 6:08:42.211 am Finder[279]: void CGSUpdateManager::log() const:  5   CoreFoundation                      0x000000010cbb7e0c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
    2/10/2014 6:08:42.211 am Finder[279]: void CGSUpdateManager::log() const:  6   CoreFoundation                      0x000000010cb79f79 ____CFXNotificationPostToken_block_invoke + 137
    2/10/2014 6:08:42.211 am Finder[279]: void CGSUpdateManager::log() const:  7   CoreFoundation                      0x000000010cb1a48c __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12
    2/10/2014 6:08:42.211 am Finder[279]: void CGSUpdateManager::log() const:  8   CoreFoundation                      0x000000010cb0bae5 __CFRunLoopDoBlocks + 341
    2/10/2014 6:08:42.211 am Finder[279]: void CGSUpdateManager::log() const:  9   CoreFoundation                      0x000000010cb0b86e __CFRunLoopRun + 1982
    2/10/2014 6:08:42.211 am Finder[279]: void CGSUpdateManager::log() const:  10  CoreFoundation                      0x000000010cb0ae75 CFRunLoopRunSpecific + 309
    2/10/2014 6:08:42.211 am Finder[279]: void CGSUpdateManager::log() const:  11  HIToolbox                           0x000000010a829a0d RunCurrentEventLoopInMode + 226
    2/10/2014 6:08:42.211 am Finder[279]: void CGSUpdateManager::log() const:  12  HIToolbox                           0x000000010a8297b7 ReceiveNextEventCommon + 479
    2/10/2014 6:08:42.211 am Finder[279]: void CGSUpdateManager::log() const:  13  HIToolbox                           0x000000010a8295bc _BlockUntilNextEventMatchingListInModeWithFilter + 65
    2/10/2014 6:08:42.211 am Finder[279]: void CGSUpdateManager::log() const:  14  AppKit                              0x000000010b7c224e _DPSNextEvent + 1434
    2/10/2014 6:08:42.211 am Finder[279]: void CGSUpdateManager::log() const:  15  AppKit                              0x000000010b7c189b -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 122
    2/10/2014 6:08:42.212 am Finder[279]: void CGSUpdateManager::log() const:  16  AppKit                              0x000000010b7b599c -[NSApplication run] + 553
    2/10/2014 6:08:42.212 am Finder[279]: void CGSUpdateManager::log() const:  17  AppKit                              0x000000010b7a0783 NSApplicationMain + 940
    2/10/2014 6:08:42.212 am Finder[279]: void CGSUpdateManager::log() const:  18  Finder                              0x00000001079e4730 Finder + 26416
    2/10/2014 6:08:42.212 am Finder[279]: void CGSUpdateManager::log() const:  19  libdyld.dylib                       0x000000010df545fd start + 1
    2/10/2014 6:08:42.212 am Finder[279]: void CGSUpdateManager::log() const:  20  ???                                 0x0000000000000001 0x0 + 1
    2/10/2014 6:08:45.256 am com.apple.launchd.peruser.501[246]: (com.qbix.CalendarStart[410]) Exited with code: 1
    2/10/2014 6:08:45.256 am com.apple.launchd.peruser.501[246]: (com.qbix.CalendarStart) Throttling respawn: Will start in 10 seconds
    2/10/2014 6:08:55.346 am com.apple.launchd.peruser.501[246]: (com.qbix.CalendarStart[411]) Exited with code: 1
    2/10/2014 6:08:55.346 am com.apple.launchd.peruser.501[246]: (com.qbix.CalendarStart) Throttling respawn: Will start in 10 seconds
    2/10/2014 6:09:05.431 am com.apple.launchd.peruser.501[246]: (com.qbix.CalendarStart[412]) Exited with code: 1
    2/10/2014 6:09:05.431 am com.apple.launchd.peruser.501[246]: (com.qbix.CalendarStart) Throttling respawn: Will start in 10 seconds
    2/10/2014 6:09:15.480 am com.apple.launchd.peruser.501[246]: (com.qbix.CalendarStart[413]) Exited with code: 1
    2/10/2014 6:09:15.480 am com.apple.launchd.peruser.501[246]: (com.qbix.CalendarStart) Throttling respawn: Will start in 10 seconds
    2/10/2014 6:09:24.342 am WindowServer[95]: CGXOrderWindowList: Invalid window 85 (index 0/1)
    2/10/2014 6:09:25.497 am com.apple.launchd.peruser.501[246]: (com.qbix.CalendarStart[414]) Exited with code: 1
    2/10/2014 6:09:25.497 am com.apple.launchd.peruser.501[246]: (com.qbix.CalendarStart) Throttling respawn: Will start in 10 seconds
    2/10/2014 6:09:26.008 am WindowServer[95]: common_reenable_update: UI updates were finally reenabled by application "Finder" after 58.80 seconds (server forcibly re-enabled them after 1.00 seconds)
    2/10/2014 6:09:26.338 am WindowServer[95]: Display 0x4280480 released by conn 0xcc03
    2/10/2014 6:09:35.517 am com.apple.launchd.peruser.501[246]: (com.qbix.CalendarStart[415]) Exited with code: 1
    2/10/2014 6:09:35.517 am com.apple.launchd.peruser.501[246]: (com.qbix.CalendarStart) Throttling respawn: Will start in 10 seconds
    2/10/2014 6:09:45.541 am com.apple.launchd.peruser.501[246]: (com.qbix.CalendarStart[416]) Exited with code: 1
    2/10/2014 6:09:45.541 am com.apple.launchd.peruser.501[246]: (com.qbix.CalendarStart) Throttling respawn: Will start in 10 seconds
         "Have you tried restoring at the folder level? so that all files in the folder are restored.   As it is an incremental backup - also wait until you hear the backup drive stop spinning - as it has to find the physical files - pointing to them."
    Yes, I've tried both, and waiting until the drive stops spinning:
    Here is the Console list:
    2/10/2014 6:28:38.742 am com.apple.launchd.peruser.501[187]: (com.qbix.CalendarStart[995]) Exited with code: 1
    2/10/2014 6:28:38.742 am com.apple.launchd.peruser.501[187]: (com.qbix.CalendarStart) Throttling respawn: Will start in 10 seconds
    2/10/2014 6:28:46.603 am WindowServer[122]: disable_update_timeout: UI updates were forcibly disabled by application "Finder" for over 1.00 seconds. Server has re-enabled them.
    2/10/2014 6:28:46.778 am WindowServer[122]: Display 0x4280482 captured by conn 0xe80b
    2/10/2014 6:28:48.761 am com.apple.launchd.peruser.501[187]: (com.qbix.CalendarStart[1000]) Exited with code: 1
    2/10/2014 6:28:48.761 am com.apple.launchd.peruser.501[187]: (com.qbix.CalendarStart) Throttling respawn: Will start in 10 seconds
    2/10/2014 6:28:49.891 am WindowServer[122]: MPAccessSurfaceForDisplayDevice: Set up page flip mode on display 0x04280482 device: 0x7f9dc1422710  isBackBuffered: 1 numComp: 3 numDisp: 3
    2/10/2014 6:28:55.200 am MouseLocatorAgent[327]: CGSGetWindowType: Invalid (NULL) window
    2/10/2014 6:28:55.200 am MouseLocatorAgent[327]: CGSGetWindowResolution: Invalid window 0x0
    2/10/2014 6:28:55.200 am MouseLocatorAgent[327]: CGSGetWindowDepth: Invalid window
    2/10/2014 6:28:55.200 am MouseLocatorAgent[327]: CGSLockWindowRectBits: Invalid window 0x0
    2/10/2014 6:28:55.200 am MouseLocatorAgent[327]: CGSUnlockWindowBits: Invalid window 0x0
    2/10/2014 6:28:55.200 am MouseLocatorAgent[327]: CGSGetWindowType: Invalid (NULL) window
    2/10/2014 6:28:55.200 am MouseLocatorAgent[327]: CGSGetWindowResolution: Invalid window 0x0
    2/10/2014 6:28:55.200 am MouseLocatorAgent[327]: CGSGetWindowDepth: Invalid window
    2/10/2014 6:28:55.200 am MouseLocatorAgent[327]: CGSLockWindowRectBits: Invalid window 0x0
    2/10/2014 6:28:55.200 am MouseLocatorAgent[327]: CGSUnlockWindowBits: Invalid window 0x0
    2/10/2014 6:28:58.780 am com.apple.launchd.peruser.501[187]: (com.qbix.CalendarStart[1003]) Exited with code: 1
    2/10/2014 6:28:58.780 am com.apple.launchd.peruser.501[187]: (com.qbix.CalendarStart) Throttling respawn: Will start in 10 seconds
    2/10/2014 6:29:00.603 am WindowServer[122]: disable_update_likely_unbalanced: UI updates still disabled by application "Finder" after 15.00 seconds (server forcibly re-enabled them after 1.00 seconds). Likely an unbalanced disableUpdate call.
    2/10/2014 6:29:00.604 am Finder[206]: void CGSUpdateManager::log() const: conn 0xe80b legacy 1
    2/10/2014 6:29:00.605 am Finder[206]: Backtrace (at 1000.37):
    2/10/2014 6:29:00.605 am Finder[206]: void CGSUpdateManager::log() const:  0   CoreGraphics                        0x0000000108c65379 CGSBacktraceCreate + 59
    2/10/2014 6:29:00.606 am Finder[206]: void CGSUpdateManager::log() const:  1   CoreGraphics                        0x0000000108d1462c _ZN16CGSUpdateManager21disable_update_legacyEv + 78
    2/10/2014 6:29:00.606 am Finder[206]: void CGSUpdateManager::log() const:  2   CoreGraphics                        0x0000000108d145d7 CGSDisableUpdate + 35
    2/10/2014 6:29:00.606 am Finder[206]: void CGSUpdateManager::log() const:  3   Finder                              0x000000010377faae Finder + 1608366
    2/10/2014 6:29:00.606 am Finder[206]: void CGSUpdateManager::log() const:  4   Finder                              0x000000010377f224 Finder + 1606180
    2/10/2014 6:29:00.607 am Finder[206]: void CGSUpdateManager::log() const:  5   CoreFoundation                      0x00000001087f7e0c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
    2/10/2014 6:29:00.607 am Finder[206]: void CGSUpdateManager::log() const:  6   CoreFoundation                      0x00000001087b9f79 ____CFXNotificationPostToken_block_invoke + 137
    2/10/2014 6:29:00.607 am Finder[206]: void CGSUpdateManager::log() const:  7   CoreFoundation                      0x000000010875a48c __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12
    2/10/2014 6:29:00.608 am Finder[206]: void CGSUpdateManager::log() const:  8   CoreFoundation                      0x000000010874bae5 __CFRunLoopDoBlocks + 341
    2/10/2014 6:29:00.608 am Finder[206]: void CGSUpdateManager::log() const:  9   CoreFoundation                      0x000000010874b86e __CFRunLoopRun + 1982
    2/10/2014 6:29:00.608 am Finder[206]: void CGSUpdateManager::log() const:  10  CoreFoundation                      0x000000010874ae75 CFRunLoopRunSpecific + 309
    2/10/2014 6:29:00.608 am Finder[206]: void CGSUpdateManager::log() const:  11  HIToolbox                           0x000000010645ea0d RunCurrentEventLoopInMode + 226
    2/10/2014 6:29:00.609 am Finder[206]: void CGSUpdateManager::log() const:  12  HIToolbox                           0x000000010645e7b7 ReceiveNextEventCommon + 479
    2/10/2014 6:29:00.609 am Finder[206]: void CGSUpdateManager::log() const:  13  HIToolbox                           0x000000010645e5bc _BlockUntilNextEventMatchingListInModeWithFilter + 65
    2/10/2014 6:29:00.609 am Finder[206]: void CGSUpdateManager::log() const:  14  AppKit                              0x00000001073fd24e _DPSNextEvent + 1434
    2/10/2014 6:29:00.609 am Finder[206]: void CGSUpdateManager::log() const:  15  AppKit                              0x00000001073fc89b -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 122
    2/10/2014 6:29:00.609 am Finder[206]: void CGSUpdateManager::log() const:  16  AppKit                              0x00000001073f099c -[NSApplication run] + 553
    2/10/2014 6:29:00.610 am Finder[206]: void CGSUpdateManager::log() const:  17  AppKit                              0x00000001073db783 NSApplicationMain + 940
    2/10/2014 6:29:00.610 am Finder[206]: void CGSUpdateManager::log() const:  18  Finder                              0x00000001035fd730 Finder + 26416
    2/10/2014 6:29:00.610 am Finder[206]: void CGSUpdateManager::log() const:  19  libdyld.dylib                       0x0000000109b875fd start + 1
    2/10/2014 6:29:00.610 am Finder[206]: void CGSUpdateManager::log() const:  20  ???                                 0x0000000000000001 0x0 + 1
    2/10/2014 6:29:05.235 am MouseLocatorAgent[327]: CGSGetWindowType: Invalid (NULL) window
    2/10/2014 6:29:05.235 am MouseLocatorAgent[327]: CGSGetWindowResolution: Invalid window 0x0
    2/10/2014 6:29:05.235 am MouseLocatorAgent[327]: CGSGetWindowDepth: Invalid window
    2/10/2014 6:29:05.235 am MouseLocatorAgent[327]: CGSLockWindowRectBits: Invalid window 0x0
    2/10/2014 6:29:05.235 am MouseLocatorAgent[327]: CGSUnlockWindowBits: Invalid window 0x0
    2/10/2014 6:29:05.235 am MouseLocatorAgent[327]: CGSGetWindowType: Invalid (NULL) window
    2/10/2014 6:29:05.235 am MouseLocatorAgent[327]: CGSGetWindowResolution: Invalid window 0x0
    2/10/2014 6:29:05.235 am MouseLocatorAgent[327]: CGSGetWindowDepth: Invalid window
    2/10/2014 6:29:05.235 am MouseLocatorAgent[327]: CGSLockWindowRectBits: Invalid window 0x0
    2/10/2014 6:29:05.235 am MouseLocatorAgent[327]: CGSUnlockWindowBits: Invalid window 0x0
    2/10/2014 6:29:08.798 am com.apple.launchd.peruser.501[187]: (com.qbix.CalendarStart[1008]) Exited with code: 1
    2/10/2014 6:29:08.798 am com.apple.launchd.peruser.501[187]: (com.qbix.CalendarStart) Throttling respawn: Will start in 10 seconds
    2/10/2014 6:29:18.817 am com.apple.launchd.peruser.501[187]: (com.qbix.CalendarStart[1012]) Exited with code: 1
    2/10/2014 6:29:18.817 am com.apple.launchd.peruser.501[187]: (com.qbix.CalendarStart) Throttling respawn: Will start in 10 seconds
    2/10/2014 6:29:24.300 am MouseLocatorAgent[327]: CGSGetWindowType: Invalid (NULL) window
    2/10/2014 6:29:24.300 am MouseLocatorAgent[327]: CGSGetWindowResolution: Invalid window 0x0
    2/10/2014 6:29:24.301 am MouseLocatorAgent[327]: CGSGetWindowDepth: Invalid window
    2/10/2014 6:29:24.301 am MouseLocatorAgent[327]: CGSLockWindowRectBits: Invalid window 0x0
    2/10/2014 6:29:24.301 am MouseLocatorAgent[327]: CGSUnlockWindowBits: Invalid window 0x0
    2/10/2014 6:29:24.301 am MouseLocatorAgent[327]: CGSGetWindowType: Invalid (NULL) window
    2/10/2014 6:29:24.301 am MouseLocatorAgent[327]: CGSGetWindowResolution: Invalid window 0x0
    2/10/2014 6:29:24.301 am MouseLocatorAgent[327]: CGSGetWindowDepth: Invalid window
    2/10/2014 6:29:24.301 am MouseLocatorAgent[327]: CGSLockWindowRectBits: Invalid window 0x0
    2/10/2014 6:29:24.301 am MouseLocatorAgent[327]: CGSUnlockWindowBits: Invalid window 0x0
    2/10/2014 6:29:28.843 am com.apple.launchd.peruser.501[187]: (com.qbix.CalendarStart[1019]) Exited with code: 1
    2/10/2014 6:29:28.843 am com.apple.launchd.peruser.501[187]: (com.qbix.CalendarStart) Throttling respawn: Will start in 10 seconds
    2/10/2014 6:29:29.894 am WindowServer[122]: common_reenable_update: UI updates were finally reenabled by application "Finder" after 44.29 seconds (server forcibly re-enabled them after 1.00 seconds)
    2/10/2014 6:29:30.261 am WindowServer[122]: Display 0x4280482 released by conn 0xe80b
    2/10/2014 6:29:30.382 am WindowServer[122]: MPAccessSurfaceForDisplayDevice: Set up page flip mode on display 0x04280482 device: 0x7f9dc1422710  isBackBuffered: 1 numComp: 3 numDisp: 3
    2/10/2014 6:29:38.861 am com.apple.launchd.peruser.501[187]: (com.qbix.CalendarStart[1024]) Exited with code: 1
    2/10/2014 6:29:38.861 am com.apple.launchd.peruser.501[187]: (com.qbix.CalendarStart) Throttling respawn: Will start in 10 seconds
    2/10/2014 6:29:48.879 am com.apple.launchd.peruser.501[187]: (com.qbix.CalendarStart[1027]) Exited with code: 1
    2/10/2014 6:29:48.879 am com.apple.launchd.peruser.501[187]: (com.qbix.CalendarStart) Throttling respawn: Will start in 10 seconds
    2/10/2014 6:29:52.483 am com.apple.backupd[907]: Copied 1776 items (176.1 MB) from volume Macintosh HD iMac 21.5-inch, Late 2013. Linked 13206.
    2/10/2014 6:29:58.897 am com.apple.launchd.peruser.501[187]: (com.qbix.CalendarStart[1037]) Exited with code: 1
    2/10/2014 6:29:58.897 am com.apple.launchd.peruser.501[187]: (com.qbix.CalendarStart) Throttling respawn: Will start in 10 seconds
    2/10/2014 6:30:06.184 am launchservicesd[98]: Application App:"Console" asn:0x0-6b06b pid:951 refs=6 @ 0x7ff443443bd0 tried to be brought forward, but isn't in fPermittedFrontApps ( ( "LSApplication:0x0-0x6c06c pid=1034 "SecurityAgent"")), so denying. : LASSession.cp #1481 SetFrontApplication() q=LSSession 100004/0x186a4 queue
    2/10/2014 6:30:06.185 am WindowServer[122]: [cps/setfront] Failed setting the front application to Console, psn 0x0-0x6b06b, securitySessionID=0x186a4, err=-13066
    2/10/2014 6:30:06.646 am com.apple.backupd[907]: Will copy (4.3 MB) from Macintosh HD iMac 21.5-inch, Late 2013
    2/10/2014 6:30:06.647 am com.apple.backupd[907]: Found 68 files (4.3 MB) needing backup
    2/10/2014 6:30:06.647 am com.apple.backupd[907]: 7.89 GB required (including padding), 133.44 GB available
    2/10/2014 6:30:08.233 am iSnap[331]: Can't Retrieve Window Zoom
    2/10/2014 6:30:08.579 am iSnap[331]: time out
    2/10/2014 6:30:08.917 am com.apple.launchd.peruser.501[187]: (com.qbix.CalendarStart[1041]) Exited with code: 1
    2/10/2014 6:30:08.917 am com.apple.launchd.peruser.501[187]: (com.qbix.CalendarStart) Throttling respawn: Will start in 10 seconds
    2/10/2014 6:30:18.448 am com.apple.appkit.xpc.openAndSavePanelService[1047]: assertion failed: 13F34: liblaunch.dylib + 25164 [A40A0C7B-3216-39B4-8AE0-B5D3BAF1DA8A]: 0x25
    2/10/2014 6:30:18.934 am com.apple.launchd.peruser.501[187]: (com.qbix.CalendarStart[1049]) Exited with code: 1
    2/10/2014 6:30:18.934 am com.apple.launchd.peruser.501[187]: (com.qbix.CalendarStart) Throttling respawn: Will start in 10 seconds
    2/10/2014 6:30:18.980 am com.apple.appkit.xpc.openAndSavePanelService[1047]: Bogus event received by listener connection:
    <error: 0x111766b50> { count = 1, contents =
    "XPCErrorDescription" => <string: 0x111766e60> { length = 18, contents = "Connection invalid" }
    2/10/2014 6:30:18.981 am librariand[219]: client process 349 does not have a valid com.apple.developer.ubiquity-container-identifiers entitlement
    2/10/2014 6:30:18.982 am librariand[219]: error in handle_container_path_request: LibrarianErrorDomain/9/The client process does not have a valid com.apple.developer.ubiquity-container-identifiers entitlement
    2/10/2014 6:30:20.551 am com.apple.backupd[907]: Copied 204 items (4.3 MB) from volume Macintosh HD iMac 21.5-inch, Late 2013. Linked 1778.
    2/10/2014 6:30:21.935 am com.apple.backupd[907]: Created new backup: 2014-10-02-063021
    2/10/2014 6:30:22.625 am launchservicesd[98]: Application App:"Monosnap" asn:0x0-28028 pid:349 refs=5 @ 0x7ff443632f50 tried to be brought forward, but isn't in fPermittedFrontApps ( ( "LSApplication:0x0-0x6c06c pid=1034 "SecurityAgent"")), so denying. : LASSession.cp #1481 SetFrontApplication() q=LSSession 100004/0x186a4 queue
    2/10/2014 6:30:22.625 am WindowServer[122]: [cps/setfront] Failed setting the front application to Monosnap, psn 0x0-0x28028, securitySessionID=0x186a4, err=-13066
    2/10/2014 6:30:22.874 am WindowServer[122]: CGXSetWindowLevel: Operation on a window 0x236 requiring rights kCGSWindowRightPresenter by caller com.apple.appkit.xpc.openAndSav
    2/10/2014 6:30:22.874 am com.apple.appkit.xpc.openAndSavePanelService[1047]: CGSSetWindowLevel
    2/10/2014 6:30:22.874 am com.apple.appkit.xpc.openAndSavePanelService[1047]: PSsetwindowlevel, error setting window level (1001)
    2/10/2014 6:30:24.868 am com.apple.backupd[907]: Starting post-backup thinning
    2/10/2014 6:30:24.868 am com.apple.backupd[907]: No post-backup thinning needed: no expired backups exist
    2/10/2014 6:30:24.898 am com.apple.backupd[907]: Backup completed successfully.
    2/10/2014 6:30:25.501 am launchservicesd[98]: Application App:"Finder" asn:0x0-b00b pid:206 refs=7 @ 0x7ff443429180 tried to be brought forward, but isn't in fPermittedFrontApps ( ( "LSApplication:0x0-0x6c06c pid=1034 "SecurityAgent"")), so denying. : LASSession.cp #1481 SetFrontApplication() q=LSSession 100004/0x186a4 queue
    2/10/2014 6:30:25.502 am WindowServer[122]: [cps/setfront] Failed setting the front application to Finder, psn 0x0-0xb00b, securitySessionID=0x186a4, err=-13066
    2/10/2014 6:30:28.952 am com.apple.launchd.peruser.501[187]: (com.qbix.CalendarStart[1056]) Exited with code: 1
    2/10/2014 6:30:28.952 am com.apple.launchd.peruser.501[187]: (com.qbix.CalendarStart) Throttling respawn: Will start in 10 seconds
    Still restores only the first 7 files of 955.
    I appreciate your efforts to help. That's a lot of files that are lost!

  • Time Capsule Fails Backing Up (even after months of it working)

    Ive run across this numerous times over different macs (24 inch, 27 inch, air...) on every official os supported (snow leopard, lion)
    I set up time capsule initially and it works great.
    After what could be months, it will error out (backup failed).
    It finds the drive and manually initiating a backup fails as well.
    Funny things is it says something to the effect of "backup requires 9.gb, Only 3gb available" or something...
    I thought this thing deleted old backups as needed?
    Why does this always happen given time to allow it to happen?
    I have 2tb TC with only 1 TB hd on the current mac.... double the space yet given enough time it will always happen.
    The only way to get it to start doing what its supposed to do is format and start over... and Im really over doing that.
    I have excluded all the folders I can. If I keep excluding folders so that it will backup, whats the point?
    Does anyone have answers or knowledge on the following:
    1. Why would it stop working over time? Even if I add a large file to the mac, shouldnt it "make room" for the new file by deleting old backups?
    2. How can the backups equal more than the entire HD? I understand it takes snapshots but if a file is deleted off the mac, shouldnt that reflect in the backup over time and be deleted as well?
    3. Most importantly, how can I get this to start working properly again without reformatting and starting over or excluding yet another folder?
    Thank you so much for any assistance anyone may have on this.

    reifel tower wrote:
     2. How can the backups equal more than the entire HD? I understand it takes snapshots but if a file is deleted off the mac, shouldnt that reflect in the backup over time and be deleted as well? 
    3. Most importantly, how can I get this to start working properly again without reformatting and starting over or excluding yet another folder?
    Thank you so much for any assistance anyone may have on this.
    Perhaps I can help with a misunderstanding on one point and others more knowledgable can jump in on some other points.
    The snapshot always saves whatever is different. That is the whole idea, that files you are adding to the hdd in the Mac are copied to the backup. They are not deleted from the backup because you deleted it from the Mac.. the idea of a snapshot is to preserve an accurate record of all files at that point. Time Machine is designed to help when you accidentally erase a file.. or make a mistake.. or a file is corrupted.. so you need to go back to an earlier revision of the file. So by design TM is working as incremental backup device.
    If you have a large amount of your 1TB full, and you are shifting files, of 3 or 9GB which you list in the problem description, and those files are being moved around often.. even changing their names. The whole file will be backed up every time Time Machine runs. Eventually it runs out of space.
    3. To answer why it doesn't just delete the older backups I am really unsure. That is the design of the software, and it should delete older backups to make room for new ones. Let me suggest a change of strategy based on the above. Files that you are constantly moving around put them into an excluded directory, assuming you don't need them backed up. Make sure you reserve the TC for TM and don't put other stuff on the disk.. perhaps using too much space for copied files.. if you do that.. the TM cannot remove those files and runs out of a small enough backup to delete without affecting something else.

  • Point in time snapshot

    Hi,
    I'm very new to Oracle and this is my first post so if I miss anything important, please excuse my ignorance...
    We have a Oracle 10g datawarehouse which contains service desk data on tickets, agent performance etc.
    I'm specifically trying to obtain a count of tickets that were in an active status and were sat with a certain group at a certain point in time.
    The table TICKETS contains the usual ticket data, ticketnumber, open date, close date etc and the refgroup field which indicates current group ownership.
    The select statement below works for all tickets currently owned by Group1 that were active (not closed) at 00:00:00 on Monday but doesn't take into account changes in group ownership so a ticket could be counted by the statement on first run but if the group changes, it will not be included.
    We have a table which records SLA events for each ticket such as (but not only) group transfers and the date each transfer took place and this table is linked from the TICKETS table via a ticket ID field in each.
    Each row in this table has a GroupName value to show the group responsible for each event, as in the below example.
    If for example the snapshot date is 13/07/09 00:00:00, is there a way to calculate from the SLA events records as below, whether Ticket1 fits this criteria?
    This is basically an expression field in Crystal Reports so I can work with either a field that returns a 1 or 0 at the ticket level and then count within the app, or a field that returns a total count of all tickets that fit this criteria.
    Thanks alot in advance.
    Andy.
    TicketNumber GroupName EventDateTime
    Ticket1 Group1 09/07/09 08:43:21
    Ticket1 Group1 09/07/09 14:28:35
    Ticket1 Group2 14/07/09 13:12:10
    SELECT
    COUNT(TICKETNUMBER)
    FROM
    "ORGANIZATION"
    INNER JOIN "TICKETS"
    ON "ORGANIZATION"."ORG_ID" = "TICKETS"."ORGANISATION_FK"
    WHERE
    "ORGANIZATION"."ORG_NAME" = 'Org1'
    AND "TICKETS"."REFGROUP" = 'Group1'
    AND
    "TICKETS"."OPEN_DATE" < LEAST(TRUNC(SYSDATE),TRUNC(SYSDATE,'IW'))
    AND "TICKETS"."CLOSE_DATE" > LEAST(TRUNC(SYSDATE),TRUNC(SYSDATE,'IW'))
    OR
    "TICKETS"."OPEN_DATE" < LEAST(TRUNC(SYSDATE),TRUNC(SYSDATE,'IW'))
    AND "TICKETS"."STATUS" <> 'Closed'
    )

    Hi,
    user11696977 wrote:
    Thanks again Frank.
    Looking at the doc you linked I think this query should do what I'm after but running it gives me an insufficient priviledges error.In case you're wondering what privileges are ineeded, under "SELECT - Prerequisites" the [SQL Language manual|http://download.oracle.com/docs/cd/B28359_01/server.111/b28286/statements_10002.htm#i2065699] says:
    "To issue an Oracle Flashback Query using the flashback_query_clause, you must have the SELECT privilege on the objects in the select list. In addition, either you must have FLASHBACK object privilege on the objects in the select list, or you must have FLASHBACK ANY TABLE system privilege."
    Will have to see how this goes if I can get priviledges assigned to the account I'm using.
    SELECT
    COUNT(TICKETNUMBER)
    FROM
    "ORGANIZATION"
    AS OF TIMESTAMP LEAST(TRUNC(SYSDATE),TRUNC(SYSDATE,'IW'))
    INNER JOIN "TICKETS"
    ON "ORGANIZATION"."ORG_ID" = "TICKETS"."ORGANISATION_FK"
    WHERE
    "ORGANIZATION"."ORG_NAME" = 'Org1'
    AND "TICKETS"."REFGROUP" = 'Group1'
    AND "TICKETS"."STATUS" <> 'Closed'
    Looks good.
    This will join the organization table as it exsited at 00:00 on Monday to the tickets table as it exists at run-time.
    TRUNC (dt, x) is never later than dt, so you can just say
    AS OF TIMESTAMP TRUNC(SYSDATE, 'IW')

  • Balance Sheet translation at spot rate at ANY point in time

    My client produces its financial accounts in AUD.  They will have open items in AR, AP and Bank in foreign currencies.  WITHOUT running periodic valuation they wish to produce a Balance Sheet at any point in time during the month applying the applicable daily spot rate to valuate the Foreign Currency open items (for reporting purposes only).  I have run S_ALR_87012284 and maintained the special evaluations tab for Display Currency (AUD), Key date for translation (current date) and exchange rate type (spot rate type).  However, this does not appear to be revaluating the open items in the subledger accounts to produce the balance sheet at the current spot rate.  Appreciate input / alternate approach.  Cheers, Dean.

    Hi Chirag
    As per Oracle following are the rules that has to be followed for translation.
    1. For Balance Sheet Accounts (Asset & Liabilities) GL as a default uses the YTD rule.
    2. For P&L Accounts you can choose between YTD and PTD rule. So in your case you can use the default PTD Rule. (Profile Option 'GL Translation: Revenue/Expense Translation Rule')
    YTD Rule = (Translated Period Amount = Period-End Rate x YTD Ledger Currency Balance - Beginning Translated Balance).
    PTD Rule = (Translated Period Amount = Period Average Rate x PTD Ledger Currency Balance)
    Hope this helps.
    Regards,
    Gautam
    Edited by: Gahlout on Sep 25, 2012 11:04 PM

  • HT4325 Will there be a point in time when I can multiple speaker play to my Air devices, and my AppleTvs?  Or do I need redundant Air @ the tv too?

    Background
    I drank the coolaid and have a MacMini command center along with all my PC's and Wifi and this and that.
    I have a few Airport expresses in random locations.. bathroom.. kitchen... I also have an Apple Tv in the fam room, and bedroom.
    From the Mac I see I can play songs in iTunes, click Multiple speakers, and choose all my AirExpress devices.  However I cannot also mutiple to the AppleTvs.  Of course I can AirPlay to a single tv, or a single AirExpress. 
    Question
    Will there be a point in time where I can choose 'Multiple Speaker', and select all my home AirExpress class devices, and the AppleTv devices?
    Current Infrastucture --- Will easily support my ambient musical desires.
         Mac Mini 2012, running 10.8.
         AirPort Expresses, newest generation.    
         AppleTv 3's, 5.1 not the developer 5.1+ yet.
         Whole house each floor and exterior, one SSID wifi network, multiple bands, (cisco e3000)'s running dd-wrt with a backend WDU.
         Multiple Linksys (SRW208P)'s wired switching fabric, 802.1q and all that jazz.

    Ok looks like the latest updates made this possible.

  • Structuring a Business Area for Reporting Periods and Points in Time

    Dear all,
    I'm in the process of designing my first business area for discoverer.
    The database is for people staying in accommodation over various periods.
    (Anything from individual days to periods of 15 years!!)
    The reports I'm producing fall into two categories:
    (a) Reports on periods of time such as:
    Accomodation days during a year broken down by Region
    Trend of accommodation days per month during a two year period
    (b) Reports on a particular point in time such as:
    Number of people in accommodation on a particular day
    I'm trying to work out how to structure the business area.
    If I think about requirement (a), I'm inclined to create a view which
    splits up periods into one month chunks (the smallest period I think I need).
    By this I mean having a view which gives me a row for every month for which any period of accommodation is active. This makes reporting on a monthly basis fairly easy.
    If I think about (b), I'm inclined to create a view which leaves the accommodation periods as single rows and then calculate a boolean field which indicates whether that accomodation is active on the date in question.
    It seems that these two requirements need different structures in the business area. Maybe it's best to create two folders which draw on the two different views.
    Any thought would be appreciated.
    Regards
    Suhada

    Hi,
    As you would probably expect, it all depends on your requirement and the table design.
    You can create a date hierarchy in Discoverer that contains the day, month, year levels and this will make it easy to create reports with totals aggregated at these levels.
    However, if your table contains, for example, the start and end dates when people move in and out of accommodation, then you will need to have a period table so that you can report on the months between the start and end dates. The period table will list all past and future months and you can join this to your data to obtain totals for all the periods.
    If you need to have reports that display zeros or nulls for periods where there is no data, then you will need to outer join your data with a period table.
    The decision on whether to use views or folders and joins in the EUL depends on the complexity of your data model. If you need to join many tables together to produce a single report, then you should consider putting some or all the joins into database views.
    Hope that helps,
    Rod West

Maybe you are looking for

  • Video Purchased from iTunes won't play on iPhone 3G

    I am using a 3G iPhone, and have been able to synchronize all of my music and videos successfully to the iPhone up until now. Here is the problem, and related steps/issues: 1. I have the series, Mad Men, purchased on iTunes. The episodes appear perfe

  • BPM Loop Condition ?

    We have a output xml in BPM as shown below : <?xml version="1.0" encoding="utf-8" ?> <Product> <ProductRecord>   <ProductID schemeID="MaterialNumber" schemeAgencyID="MDM30_FILEADAPTER01" schemeAgencySchemeAgencyID="ZZZ">KRANTI_MAT1</ProductID>   <Pro

  • Raid Admin Cannot Find XRaid

    I have a G4 XServe running 10.4.11 and an XRaid divided into 2 partitions, both raid 5. Recently the second partition disappeared. The problem is that Raid Admin 1.3.3 cannot find the raid. We are part of a large network, where none of the IT people

  • How To find Changes in Excise Group Configurations??

    Dear All, Can you please help me how to Find the Changes done at the Configuration level at Excise Groups(Log-General>>Tax on Goods Movement>>India>>Basic Settings>>Excise Groups) I need to find the user involved in Changing the Field""Excise Invoice

  • Dynamic routing protocols over wireless.

    Hello all, Are there any issues with running dynamic routing protocols through two access points (1240AG) bridging two LANs that are presumably currently setup with a dynamic routing protocol? Thanks, Patrick