Clone from standby backup

I have an 11g database with standby database.
1. Can i take RMAN backup from the standby database for Cloning. (Due to some network issues i cannot use the primary backup or connect to primary )
2. Can i use this RMAN backup to clone for development purpose.
Thanks
Sunil

Sunil;
Yes.
The "Database Backup and Recovery Advanced User's Guide" should cover this.
I have the Oracle 10 link and I believe this all work on Oracle 11
http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/rcmdupdb.htm
Also I noticed you have a ton of open questions. Please consider marking some of them closed.
Best Regards
mseberg

Similar Messages

  • Clone from standby  ended in ARC: Cannot archive online log based on backup

    Hi
    I m into scenario where my prod db is in one data center and standby is in other data center.
    Both are geographically separated. I have to get a copy of prod on to standby data center side.
    Sending data over the network is taking long time either with duplicate db from active db or take backup and copy over standby side and restore it.
    so i thought of duplicate db from standby db which is in same data center, using 11g RMAN duplicate from active standby command.
    I have simulated scenario which is as below
    oracle version 11.2.0.1
    os version REHL 5.4
    My procedure & parameter are as below.
    on standby side from where i m copying (TARGET)
    1) on standby
    alter database recover managed standby db cancel;
    2)alter database convert to snapshot standby;
    which gave me
    /u01/data/DGSTD/archive/1_152_750425930.dbf
    /u01/data/DGSTD/archive/1_153_750425930.dbf
    */u01/data/DGSTD/archive/1_1_752604441.dbf*
    */u01/data/DGSTD/archive/1_2_752604441.dbf*
    3) alter database open;
    4) alter system switch logfile;
    now from rman
    RMAN> connect target sys/system@DGSTD
    connect auxiliary sys/system@GGR
    connected to target database: DGPRM (DBID=578436102)
    RMAN>
    connected to auxiliary database: NOTREAL (not mounted)
    RMAN>
    run{
    allocate channel prmy1 type disk;
    allocate channel prmy2 type disk;
    allocate channel prmy3 type disk;
    allocate channel prmy4 type disk;
    allocate channel prmy5 type disk;
    allocate auxiliary channel stby1 type disk;
    duplicate target database to ggr from active database
    spfile
    parameter_value_convert='DGSTD','GGR','/u01/data/DGSTD/','/u01/data/ggr/'
    set db_file_name_convert='/u01/oradata/DGSTD/','/u01/data/ggr/'
    set log_file_name_convert='/u01/oradata/DGSTD/','/u01/data/ggr/'
    set 'db_unique_name'='ggr'
    set 'audit_file_dest'='/u00/app/oracle/admin/ggr/adump'
    set 'sga_max_size'='140m'
    set 'pga_aggregate_target'='28940697'
    nofilenamecheck;
    and when output of rman reaches up below
    Starting backup at 31-MAY-11
    channel prmy1: starting datafile copy
    input datafile file number=00001 name=/u01/data/DGSTD/datafile/system01.dbf
    channel prmy2: starting datafile copy
    input datafile file number=00002 name=/u01/data/DGSTD/datafile/sysaux01.dbf
    in alert log of clone db it gives massive error saying
    ARC3: Cannot archive online log based on backup controlfile
    ARC2: Cannot archive online log based on backup controlfile
    ARC3: Cannot archive online log based on backup controlfile
    ARC2: Cannot archive online log based on backup controlfile
    and it fill up whole fs. and finally duplicate command throws error.
    not sure what i m missing of inside duplicate command or is it valid to duplicate database from snapshot standby.
    can somebody light on it please
    Edited by: user12281508 on Jun 1, 2011 10:26 AM
    Edited by: user12281508 on Jun 1, 2011 10:28 AM

    duplicate target database to ggr from active database
    spfile
    parameter_value_convert='DGSTD','GGR','/u01/data/DGSTD/','/u01/data/ggr/'
    set db_file_name_convert='/u01/oradata/DGSTD/','/u01/data/ggr/'
    set log_file_name_convert='/u01/oradata/DGSTD/','/u01/data/ggr/'
    set 'db_unique_name'='ggr'
    set 'audit_file_dest'='/u00/app/oracle/admin/ggr/adump'
    set 'sga_max_size'='140m'
    set 'pga_aggregate_target'='28940697'
    nofilenamecheck;
    }I think you should use standby cluase as
    DUPLICATE TARGET DATABASE TO dup1 FOR STANDBY FROM ACTIVE DATABASE;

  • Clone from hot backup failing with ORA-19870, 19505 unable to find backup

    Ok, the steps I am taking worked previously, the only thing that I know changed was the underlying file system and I am perplexed but then again I am not the most experienced dba so please forgive if I miss something obvious.
    My steps are: create backup using:
    backup database tag= tagname format '/archive/stage/DBNAME/%U';
    backup archivelog all format '/archive/stage/DBNAME/%U';
    backup current controlfile '/archive/stage/DBNAME/%U';
    Then on the new server, I copy the files over to the new server and:
    connect target username@prod
    connect auxillary
    set until time
    duplicate target database to "PRODSBX"
    etc...
    The problem is the duplicate is not looking at my '/archive/stage/DBNAME' directory for the backup. It's looking in the normal backup directory on that prod box that it can't connect to... can anyone give me clues as to what I should be looking at to figure out why? I looked at file permissions in case it couldn't access this directory, I looked at id, group etc... and I am not seeing anything. These exact same scripts worked before... the only thing I have edited is the set until time so I just can't figure out why it's not going to the /archive/stage.
    Any light shed in my general direction would be greatly appreciated.
    Thanks!
    Va.

    I have no way to copy the output of the files as this is on a closed network. If there is any particular information you are looking for I'd be happy to post it.
    The restore is looking for the default backup location as specified in my rman configuration but in my backup script, I specify a different location that I do the hot backup to. The first time it took this location and successfully cloned to the new server and now it seems to be ignoring it. I am not sure why, any suggestions in what I should look at, if this is a possible configuration issue on my clone server or on my primary?
    Thanks,
    Va.

  • How to create a clone of database from STANDBY?

    How can i clone a database from physical standby database?

    Steps to clone from standby:
    1. cancle the managed recovery process on standby
    sql>alter database recover managed standby database cancel;
    2. Remember your standby databse would be in mount mode.
    3. Connect to the auxiliary instance and to the standby database through RMAN
    rman target sys/<pwd>@standby auxiliary sys/<pwd>@auxiliary-connection
    4. If 11g, then run directly duplicate from active database
    rman>duplicate target database to 'auxiliary_db_name' from active database nofilenamecheck;
    5. Once, the duplication is done, start the MRP on the standby again
    sql>alter database recover managed standby database disconnect from session;
    Ok..You are on 10g.
    Perform the above steps, but only thing is 1st you need to take the backup of the standby database first.
    Refer this Create dev database from standby database
    Already steps are given here
    Edited by: Shivananda Rao on Mar 9, 2012 9:56 AM

  • Clone from recovery catalog

    Hi,
    Every month i am doing duplicate from prod to test database,from coming month i have to change my strategy to do clone from standby instead of production.so i have created recovery catalog and registered my standby.my queston ,is it possible to do duplicate from recovery catalog to test database.if possible,this is my connection
    rman catalog rman/rman123@catdb auxiliary /;,and i should do any modification in Recovery catalog. pls suggest me to do the cloning from RC.if possible
    my database 10.2.aix server.
    Regards
    Faruk

    You can use a recovery catalog when doing a cloning / DUPLICATE.
    Note, however, the 10.2 restrictions on the DUPLICATE Command : http://docs.oracle.com/cd/B19306_01/backup.102/b14194/rcmsynta028.htm#RCMRF126
    You must be connected to both the target database and auxiliary instance. The auxiliary instance must be started with the NOMOUNT option, and the target database must be mounted or open. The target database cannot be a standby database.
    Hemant K Chitale

  • Using a Standby Backup to Recover a Primary

    Here's one I've been working on and would like input. We backup our standby database nightly due to resource limitation on our primary server. These backups will be used to recovery the primary in case of failure. I've successfully applied these backups to the primary but only under "nice" conditions, i.e. shutdown nicely, restore control file and restore/recover database. Of course we all know that when it hits the fan it's usually not under "nice" conditions. So to simulate a more realistic situation I remove the the two primary control files and delete the system file, in our test environment of course. Now the recovery is much more difficult and I've yet to do a full recovery in this scenario.
    My question is, has anybody played with recovering a primary from standby backups?
    I do realize that in a real crash of the primary the standby would be promoted to primary so this is more of a lesson in RMAN for me.
    Edited by: slas on May 29, 2013 10:18 AM

    Oracle 11.2.0.3.0
    Windows 2008 server
    Dataguard physical standby
    RMAN Catalog
    Async
    no apply delay
    Here's some of the output:
    My first unexpected error below was the RMAN-20005: target database name is ambiguous while trying to restore the control file and the need to set the dbid. Maybe someone can elaborate.
    O:\>rman target=sys/xxxxx@PRI1 catalog=rcat_user/xxxxx@RCAT
    Recovery Manager: Release 11.2.0.3.0 - Production on Thu May 30 09:30:14 2013
    Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.
    connected to target database (not started)
    connected to recovery catalog database
    RMAN> startup
    Oracle instance started
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of startup command at 05/30/2013 09:30:30
    ORA-00205: error in identifying control file, check alert log for more info
    RMAN> shutdown abort
    Oracle instance shut down
    RMAN> startup nomount
    connected to target database (not started)
    Oracle instance started
    Total System Global Area   10388832256 bytes
    Fixed Size                     2264248 bytes
    Variable Size               7449084744 bytes
    Database Buffers            2919235584 bytes
    Redo Buffers                  18247680 bytes
    RMAN> restore controlfile from 'O:\app\fast_recovery_area\PRI1\BACKUPSET\CF-PRI1-C-3403474807-20130528-00.RBU';
    Starting restore at 30-MAY-13
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 05/30/2013 09:31:22
    RMAN-12010: automatic channel allocation initialization failed
    RMAN-06004: ORACLE error from recovery catalog database: RMAN-20005: target database name is ambiguousI was able to catalog the new backup pieces but then ran into this trying to restore. I've played with resetting the incarnation also but get the same results. If I do a RMAN LIST FAILURE it gives:
    System datafile 1 is missing (yes, I deleted it)
    Control file needs media recovery (this one's not clear to me since we restored it)
    One or more datafiles need recovery (yes, obviously)
    RMAN> set dbid=3403474807
    executing command: SET DBID
    database name is "PRI1" and DBID is 3403474807
    RMAN> restore controlfile from 'O:\app\fast_recovery_area\PRI1\BACKUPSET\CF-PRI1-C-3403474807-20130528-00.RBU';
    Starting restore at 30-MAY-13
    using channel ORA_DISK_1
    channel ORA_DISK_1: restoring control file
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:01
    output file name=O:\APP\ORADATA\PRI1\CONTROL01.CTL
    output file name=O:\APP\FAST_RECOVERY_AREA\PRI1\CONTROL02.CTL
    Finished restore at 30-MAY-13
    RMAN>crosscheck backup;
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=O:\APP\FAST_RECOVERY_AREA\PRI1\BACKUPSET\DF_PRI1_1_2123_20130528.RBU RECID=1821 STAMP=816687657
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=O:\APP\FAST_RECOVERY_AREA\PRI1\BACKUPSET\DF_PRI1_1_2124_20130528.RBU RECID=1822 STAMP=816687657
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=O:\APP\FAST_RECOVERY_AREA\PRI1\BACKUPSET\DF_PRI1_1_2125_20130528.RBU RECID=1823 STAMP=816687657
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=O:\APP\FAST_RECOVERY_AREA\PRI1\BACKUPSET\DF_PRI1_1_2126_20130528.RBU RECID=1824 STAMP=816687657
    RMAN>delete obsolete
    Do you really want to delete the above objects (enter YES or NO)? YES
    deleted backup piece
    backup piece handle=O:\APP\FAST_RECOVERY_AREA\PRI1\BACKUPSET\2013_01_03\O1_MF_ANNNN_TAG20130103T155639_8GCZNR15_.BKP RECID=11 STAMP=803750200
    deleted backup piece
    backup piece handle=O:\APP\FAST_RECOVERY_AREA\PRI1\BACKUPSET\2013_01_31\O1_MF_ANNNN_TAG20130131T112328_8JOB4JNH_.BKP RECID=12 STAMP=806153008
    deleted backup piece
    RMAN> alter database mount;
    database mounted
    released channel: ORA_DISK_1
    RMAN> catalog start with 'O:\app\fast_recovery_area';
    Starting implicit crosscheck backup at 30-MAY-13
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=1546 device type=DISK
    Crosschecked 131 objects
    Finished implicit crosscheck backup at 30-MAY-13
    Starting implicit crosscheck copy at 30-MAY-13
    using channel ORA_DISK_1
    Finished implicit crosscheck copy at 30-MAY-13
    searching for all files in the recovery area
    cataloging files...
    cataloging done
    List of Cataloged Files
    =======================
    File Name: O:\APP\FAST_RECOVERY_AREA\PRI1\ARCHIVELOG\2013_05_28\O1_MF_1_12524_8T8GHFY0_.ARC
    File Name: O:\APP\FAST_RECOVERY_AREA\PRI1\ARCHIVELOG\2013_05_28\O1_MF_1_12525_8T8HCL5K_.ARC
    File Name: O:\APP\FAST_RECOVERY_AREA\PRI1\ARCHIVELOG\2013_05_28\O1_MF_1_12526_8T8J6RBC_.ARC
    File Name: O:\APP\FAST_RECOVERY_AREA\PRI1\ARCHIVELOG\2013_05_28\O1_MF_1_12527_8T8K2WP0_.ARC
    RMAN> restore database;
    Starting restore at 30-MAY-13
    using channel ORA_DISK_1
    datafile 1 is already restored to file O:\APP\ORADATA\PRI1\SYSTEM01.DBF
    datafile 2 is already restored to file O:\APP\ORADATA\PRI1\SYSAUX01.DBF
    datafile 3 is already restored to file O:\APP\ORADATA\PRI1\UNDOTBS01.DBF
    datafile 4 is already restored to file O:\APP\ORADATA\PRI1\USERS01.DBF
    datafile 5 is already restored to file O:\APP\ORADATA\PRI1\CMDS_DATA_01.DBF
    datafile 6 is already restored to file O:\APP\ORADATA\PRI1\GEOBASE_CIP_DATA_01.DBF
    datafile 7 is already restored to file O:\APP\ORADATA\PRI1\CMDS_ATTACHMENTS_01.DBF
    datafile 8 is already restored to file O:\APP\ORADATA\PRI1\QUEST_01.DBF
    restore not done; all files read only, offline, or already restored
    Finished restore at 30-MAY-13
    RMAN> restore database force;
    Starting restore at 30-MAY-13
    using channel ORA_DISK_1
    channel ORA_DISK_1: restoring datafile 00001
    input datafile copy RECID=10 STAMP=816009419 file name=O:\APP\ORADATA\PRI1\SYSTEM01.DBF
    destination for restore of datafile 00001: O:\APP\ORADATA\PRI1\SYSTEM01.DBF
    backup and output file names are identical: O:\APP\ORADATA\PRI1\SYSTEM01.DBF
    channel ORA_DISK_1: restoring datafile 00002
    input datafile copy RECID=11 STAMP=816009419 file name=O:\APP\ORADATA\PRI1\SYSAUX01.DBF
    destination for restore of datafile 00002: O:\APP\ORADATA\PRI1\SYSAUX01.DBF
    backup and output file names are identical: O:\APP\ORADATA\PRI1\SYSAUX01.DBF
    channel ORA_DISK_1: restoring datafile 00003
    input datafile copy RECID=12 STAMP=816009419 file name=O:\APP\ORADATA\PRI1\UNDOTBS01.DBF
    destination for restore of datafile 00003: O:\APP\ORADATA\PRI1\UNDOTBS01.DBF
    backup and output file names are identical: O:\APP\ORADATA\PRI1\UNDOTBS01.DBF
    channel ORA_DISK_1: restoring datafile 00004
    input datafile copy RECID=13 STAMP=816009419 file name=O:\APP\ORADATA\PRI1\USERS01.DBF
    destination for restore of datafile 00004: O:\APP\ORADATA\PRI1\USERS01.DBF
    backup and output file names are identical: O:\APP\ORADATA\PRI1\USERS01.DBF
    channel ORA_DISK_1: restoring datafile 00005
    input datafile copy RECID=14 STAMP=816009420 file name=O:\APP\ORADATA\PRI1\CMDS_DATA_01.DBF
    destination for restore of datafile 00005: O:\APP\ORADATA\PRI1\CMDS_DATA_01.DBF
    backup and output file names are identical: O:\APP\ORADATA\PRI1\CMDS_DATA_01.DBF
    channel ORA_DISK_1: restoring datafile 00006
    input datafile copy RECID=15 STAMP=816009420 file name=O:\APP\ORADATA\PRI1\GEOBASE_CIP_DATA_01.DBF
    destination for restore of datafile 00006: O:\APP\ORADATA\PRI1\GEOBASE_CIP_DATA_01.DBF
    backup and output file names are identical: O:\APP\ORADATA\PRI1\GEOBASE_CIP_DATA_01.DBF
    channel ORA_DISK_1: restoring datafile 00007
    input datafile copy RECID=16 STAMP=816009420 file name=O:\APP\ORADATA\PRI1\CMDS_ATTACHMENTS_01.DBF
    destination for restore of datafile 00007: O:\APP\ORADATA\PRI1\CMDS_ATTACHMENTS_01.DBF
    backup and output file names are identical: O:\APP\ORADATA\PRI1\CMDS_ATTACHMENTS_01.DBF
    channel ORA_DISK_1: restoring datafile 00008
    input datafile copy RECID=17 STAMP=816009420 file name=O:\APP\ORADATA\PRI1\QUEST_01.DBF
    destination for restore of datafile 00008: O:\APP\ORADATA\PRI1\QUEST_01.DBF
    backup and output file names are identical: O:\APP\ORADATA\PRI1\QUEST_01.DBF
    failover to previous backup
    creating datafile file number=1 name=O:\APP\ORADATA\PRI1\SYSTEM01.DBF
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 05/30/2013 09:40:15
    ORA-01180: can not create datafile 1
    ORA-01110: data file 1: 'O:\APP\ORADATA\PRI1\SYSTEM01.DBF'All input welcome.

  • Create a new Standby db from a backup taken in an existing standby.

    Existing 2 sites: PROD (primary)), Local-standby.
    Planning to add a 3rd site: Remote-standby
    How do you use a full backup taken in the Local-standby (not the primary) to create the Remote-standby?
    Any pointers will be appreciated...essentially creating a standby from a standby.
    It may be of interest to note that running the "BACKUP CURRENT CONTROLFILE FOR STANDBY" in the Local-standby will error out with:
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of backup command on dupdb_ch1 channel at 11/30/2012 19:49:44
    ORA-01671: control file is a backup, cannot make a standby control file
    Thanks

    For folks who may stumble on this thread.
    2 hosts - 1 - primary, 2 - local stby
    3rd host was being added in the mix.
    So, we want to build standby number 3 - DR stby
    Aim was to create the DR stby from a backup taken from local stby, W/O affecting primary.
    Create backup pieces from local stby (to be made available in DR stby) using "backup device type disk format '/u01/backups' database plus archivelog;"
    As mseberg pointed out, take a "backup current controlfile for standby" from primary & make it available in DR stby
    startup nomount the DR stby
    restore controlfile in DR from step2
    catalog the backup taken in step 1
    Run the duplicate command from DR as usual, connecting to the primary as target and the DR as auxiliary
    Enjoy

  • TSPITR using backups from standby

    Hi,
    I would like to ask for your opinion/advice regarding the following
    scenario. We have a primary 10.2.0.3 RAC database which has a physical
    standby database, both sites being managed through dataguard. Every
    night full RMAN backups are taken for the primary and standby
    databases. Between the primary and standby sites we do not have any
    shared storage like NFS or SAMBA (because of the problems mentioned
    into Note:413098.1).
    Now, as far as I know, backups of datafiles/archives taken from the
    standby can be used on primary, am I right? So, what I would like to
    achieve is to perform a TSPITR of one particular tablespace by taking
    a backup control file from the primary but using datafile copies and
    archives from the standby. And of course, because I don't want to load
    too much the primary, the auxiliary instance should be located on the
    standby machine. Is this possible? Has anybody tried this before?
    Many thanks!
    talek.

    if you are on 10.2.0.3, check this document and make use of Incrementally Updated Backups: Rolling Forward Image Copy Backup
    http://download-east.oracle.com/docs/cd/B19306_01/backup.102/b14192/bkup004.htm
    You can restore datafiles backedup from physical standby
    can restore archivelogs created on physical standby
    but can not use control file from standby to recover on primary
    You should be able to use bakcup from a physical standby and recover any tablespace in Point In Time on priamry prvovided you have a backup/datafile copy before and archives untill that time.

  • How do I locate an iCal calendar from a backup and restore?

    I need help in restoring a calendar that I deleted. I haven't used Time Machine since May, but I do use SuperDuper and have a clone of my hard drive backed up through yesterday. I am pretty sure the file is there somewhere, I just don't know where or how to get it back into iCal.
    Here is what happened...
    *I use Mobile Me to sync my iMac (primary), MacBook and iPhone.*
    A week ago I was trying to get my "Sports" calendar subscribed to my daughters old iMac. After reading the forums, the suggestions were to rename the calendar and try again, which I did. Changed it to "Kids Sports" and it seemed to allow her to subscribe, although updates/additions/deletions never made it to her computer. I left it alone at that point, knowing it still wasn't working properly but she had the brunt of her schedule.
    Then sometime in the last few days I downloaded a schedule for my child's soccer tournament using my MacBook. It placed 3 games (with all the times, locations, etc) onto my MacBook, I thought wow, how cool, I didn't have to type all the info myself. I have never downloaded a calendar file before.
    I noticed a little while later that those 3 games did not sync to my phone or iMac. I investigated and thought the time zone may have been the culprit, I can't remember what was listed but it wasn't a time zone, it was something like "undetermined" or along those lines (can't see it now because the calendar is gone), so I changed each of those 3 events to Central Time manually. Later they show up as 5 hours earlier than Central Time.
    Yesterday I open up iCal in the MacBook and it's showing my "Personal" calendar with thousands of duplicate entries that are selected to "never" end, going back to around the year 2000. I have no idea how my "personal" calendar got this way, I haven't changed anything with it. Since I've been working on the "sports" calendar mess. I deleted the events in the "personal" calendar from October 1st going forward, of course everything prior to that is still there. About 4 events listed for everyday and to never end.
    I also get a message that I have over 2200 entries that need to be reviewed in iCal before syncing last night. It's the calendar labeled "kids sports". I can see that in iCal I now have 2 sports calendars, "sports" and "kids sports", they both seem to have the same information in them, so I sync with the "kids sports" calendar to be deleted. WRONG answer! All that is left are the 3 events from the calendar I downloaded online, in the calendar labeled "sports".
    Everything is already deleted from MobileMe as well.
    Soooo, is it possible to pull the "kids sports" file from somewhere in the applications area and put it back where it belongs from my back up?
    It seems like once a year I have a major issue with MobileMe duplicating, but I have yet to understand what I am doing wrong!
    Thanks,
    Sandy

    Anyone?
    Let us get home from work first
    I see my daughter's old iMac still has the "kids sports" calendar showing up with all the info still showing on her iCal, but she is subscribed to that calender versus syncing with it. I'm not sure if she has it set to manually refresh or automatically refresh.
    If the calendar shows up fine on her computer the easiest way to get it cleanly is to get it from her computer if that is your goal. I'm assuming this is a calendar you created on your computer and then published and then she subscribed to it?
    _Go to her computer.
    _Click on the calendar in question on the left hand side once.
    _Go to File > Export > Export and save to the desktop.
    _Bring the resulting .ics file to your computer.
    _Delete the current kids sports calendar from your computer.
    _Double-click the .ics file your brought over and add it to a "New Calendar"
    _Now you can re-publish that calendar.
    I don't understand why I can't use Superduper! to find the deleted calendar (deleted today and sync'd)
    I'm afraid I've never used Superduper! so I can't offer any suggestion there. You may want to ask the maker of that software how to restore from their backups. I use Time Machine. However if SuperDuper! clones your hard drive as you say then all your calendars are stored in Your User > Library > Calendars on that backup.
    You don't restore individual Calendars with iCal because it is one large database (in truth you can but it is very time consuming as every single event has it's own individual .ics file). So when you want your calendar from a certain restore point in time (when you made the last backup) you can follow these steps:
    _Quit iCal completely
    _Go to Macintosh HD > Applications > iSync
    _Open iSync
    _Go to iSync > Preferences and remove the check mark for "Enable syncing on this computer"
    _Reset Sync Services: http://support.apple.com/kb/TS1627
    _Remove Your User > Library > Calendars to the Trash
    _Copy the Calendars folder from your backup and put it in Your User > Library where the old one used to be
    _Launch iCal and check for your calendars
    _If the calendars show up ok go back to iSync and re-check the box for "Enable syncing on this computer"
    Hope that helps.

  • Warning! Using SuperDuper to clone from an HDD to an SSD might seriously da

    WARNING! USING SUPERDUPER TO CLONE FROM AN HDD TO AN SSD MIGHT SERIOUSLY DAMAGE THE HEALTH OF YOUR SSD!
    This is the new thread which I referred to when replying to:
    http://discussions.apple.com/thread.jspa?threadID=2274972&start=0&tstart=0
    I used SuperDuper to clone from a VelociRaptor 300GB HDD to an OCZ Agility EX SLC SSD, with disastrous results.
    To save me the time of rewriting all the events please refer to the following emails and online submissions:
    (Biltan-Wales - 21 Dec 2009 - 11.02 GMT):-
    After reading several very favourable product reviews of the above SSD, I have just purchased one from Aria Technology Ltd., to use as a boot drive for my (early 2009) 8-Core 2.93GHz Intel Xeon Nehalem desktop workstation.
    Also, prior to purchase of an OCZ SSD, I posted a question on Apple's Discussions' Forum:
    http://discussions.apple.com/thread.jspa?threadID=2263023&tstart=0
    From the response to this, and from reading several other threads regarding SSDs, I found that several Mac Pro owners are using OCZ SSDs as boot drives, and in some cases employing up to 3 of them.
    I received my Agility EX from Aria on 16th. December, and yesterday afternoon I decided to set up my boot drive and 4 drive RAID 0, as described in: http://discussions.apple.com/thread.jspa?threadID=2263023&tstart=0
    First of all I used SuperDuper to clone from my VelociRaptor 300GB drive in Bay 1, to my original Apple (WD) 640GB drive in Bay 2.
    Then I removed the original Apple drive, and installed it in an ONNTO dataTale TQ-M12H external single enclosure, using a Firewire 800 interface connection. Next I selected this as my boot drive to check it would boot OK, restarted my system, and there was no problem.
    So my next step was to install the Agility EX, and another 3 VelociRaptor 300GB drives, in the Mac pro workstation.
    First, I reselected VelociRaptor 1 as my boot drive, so that I could use SuperDuper to clone to the Agility EX.
    The Agility EX was installed in the lower of the 2 optical bays, and was connected to the pre-wired SATA and power cable, and the VelociRaptors were placed in hard drive bays 2, 3, and 4.
    I then started up the Mac Pro, and there were 4 message boxes on the desktop, requesting that the drives should be initialised. So then I used Disk Utility to initialise the 4 drives. The SSD was named "Agility EX Boot", and the others "VelociRaptor 2", VelociRaptor 3, and VelociRaptor 4". The Mac system accepted all 4, and mounted desk top icons for each drive. I cannot remember the exact figure, but the Agility EX was listed as approx. 64GB in Disk Utility after its initialisation. All 4 VelociRaptors are shown as 300.07GB. All drives were formatted as Mac OS Extended (Journaled).
    The next stage was to use SuperDuper to clone from VelociRaptor 1 to the Agility EX Boot drive.
    Everything was fine until 28.00GB had been copied, and then nothing more would copy. The total to be cloned was just under 30GB, which should not have been a problem with a SSD disk capacity of approx. 64GB, but everything was frozen at that point - exactly 28.00GB!
    Eventually, my only option was to stop the process, and quit Super Duper.
    Then I restarted the system to try again, but this is where there is a real problem now!
    My system does not recognise the Agility EX at all now! Also, it is no longer listed in Disk Utility!
    The system does not even acknowledge its existence! It is not even shown on the desktop at start-up, whereas I thought that perhaps there might have been another message box requesting that it should be reinitialised.
    I tried disconnecting and reconnecting everything - all drives, interface connections, power cables etc., but to no avail!
    This morning I tried this again, but still I cannot get my system to even acknowledge the Agility EX, let alone list it!
    So at the moment I am still using VelociRaptor 1 as my boot drive, and, in fact, as my main drive, because I am reluctant to use it with the 3 other VelociRaptors as a 4 drive RAID 0 set up until I get this problem with the Agility EX resolved.
    (OCZ - 22 Dec 2009 - 18.29 GMT):-
    Cloning from a HDD to an SSD is very problematic. I strongly recommend against doing this. Instead you will want to just install normally onto the SSD. You can clone from SSD to SSD, or from HDD to HDD, but going from one to the other can cause issues.
    Try disconnecting the drive from the computer for an hour or so. This will allow all power in the drive to fully discharge. This is a way of resetting the drive that can usually recover the drive. Then plug the drive back in. Does the drive show up again?
    If so, delete the partition on the drive, then create a new partition and then install the OS onto it clean rather than clone the OS onto the drive. That should resolve the issues you are having.
    (Biltan-Wales - 23 Dec 2009 - 16.19 GMT):-
    Thank you for your advice.
    I have now disconnected the Agility EX SSD, and removed it from my Mac Pro's lower optical bay.
    As Christmas is imminent, and I will not be using my system very much over the next few days, I will leave the drive for 4 to 5 days to allow ample time for all the power to discharge.
    Then I will reconnect it, and I will let you know whether or not the drive is recognised by my system.
    I was not aware that cloning from a HDD to an SSD could be problematic. Several threads on the Apple Support Discussion Forum have recommended using SuperDuper or Carbon Copy Cloner for this purpose. SuperDuper is the preferred option of most Forum members, whereas Lloyd Chambers (diglloyd.com), author of "macperformanceguide.com", uses Carbon Copy Cloner to clone his HDD boot drives to his Intel and Crucial SSDs.
    After the Agility EX had been set up as my system boot drive, my intention was to use SuperDuper to clone from it to my original Apple (WD) HDD, now in an external enclosure with Firewire 800 interface, and then use SuperDuper's Smart Update for regular backups, so that I always had an up to date spare boot drive for the OS and applications.
    The current VelociRaptor 1 boot drive would then be erased, and I would then use the Mac OS Disk Utility to create a 4 drive software RAID ) with the other 3 VelociRaptors, and this would be backed up using Time Machine to my existing WD My Book Studio Edition II 2TB External Hard Drive.
    Please correct me if I have misunderstood your advice, but are you saying that I should only use another SSD, and not my original Apple (WD) HDD, as my back-up external boot drive? I don't know of any other Mac users who are using SSDs for that purpose, possibly because of the prohibitive cost of doing so.
    I am more than happy to follow your advice to reinstall the Mac OS and my applications cleanly onto the Agility EX, and, in fact, I did exactly that with my first VelociRaptor HDD, before I had SuperDuper. However, that would still leave me with the problem of how to set up and maintain an external back-up system boot drive, without incurring the expense of another SSD. Any suggestions please?
    Anyway the most important matter is the existing problem, and I am hoping that following your advice will resolve this.
    I will contact you again early next week. In the meantime have a very enjoyable Christmas!
    (OCZ - 24 Dec 2009 - 00.25 GMT):-
    If the image is of an HDD and that image is then cloned onto an SSD that does tend to be problematic. I do not recommend doing this, as an image of the HDD somewhat regularly does fail to copy onto an SSD and still remain functional or fast.
    You can store the image file on any sort of drive. Storing the image file is fine, as that is just a digital file, so the storage medium doesn't matter. Its actually applying that image to a drive is where the problems often occur.
    You can image from a HDD to a HDD just fine, or an SSD to an SSD just fine, but going from one to the other is problematic enough that I recommend not doing this. Sometimes it works just fine, but other times it can fail catastrophically to the point of even bricking the drive. To error on the side of caution I recommend just going a clean install on the new SSD.
    Once you have that clean install done you can then take an image of that SSD and image on to other SSD's, or store the image on a HDD for backup purposes.
    (Biltan-Wales - 29 Dec 2009 - 13.16 GMT)
    Thank you for your last email.
    Further to your previous email, and my reply of 23/12/2009. this morning I reconnected the Agility EX SSD.
    However, unfortunately, the drive has not showed up again on my system. There is no icon for it on the desktop, nor is it listed in Disk utility.
    When I checked Serial-ATAS in my Mac Pro's System Profiler, all 6 Intel ICH10 AHCI are listed in the Serial-ATA Device Tree, but, whereas all my other drives are sub-listed, there is nothing underneath the ICH10 AHCI for the lower optical bay.
    As the drive has had 6 days to discharge and reset, it would appear that it has not recovered.
    Where do I go from here?
    I am still awaiting a reply from OCZ, but that is not surprising, because of the different time zones and the Christmas?New Year holiday period.
    In the meantime does anybody else have any ideas, please?

    Hi thanon,
    "So the SSD is not visible, not even in disk utility, even after a restart ?":-
    No.
    "Check the log of SuperDuper (Window-Show Log); warnings are in red, I think.":-
    This is a copy of the log, but it only refers to the original Mac (WD) drive as the Target Volume and it only lists the last Smart Update. There is no record of the original cloning to the same drive on 21st. December, nor of the interim Smart Updates. There is no record logged at all for the OCZ Agility EX SSD, despite the unsuccessful cloning attempt on 21st. December:-
    | 11:39:15 AM | Info | SuperDuper!, 2.6.2 (87), path: /Applications/SuperDuper!.app, Mac OS 10.6.2 build 10C540 (i386)
    | 11:39:15 AM | Info | Started on Sun, Dec 27, 2009 at 11:39 AM
    | 11:39:15 AM | Info | Source Volume: VelociRaptor 1, mount: /, device: /dev/disk3s2, media: WDC WD3000HLFS-01G6U1, interconnect: Internal SATA, file system: "Journaled HFS+", OS: 10.6.2 (10C540), capacity: 299.73 GB, used: 30.53 GB, directories: 164608, files: 521266, ejectable: NO, ACLs: Enabled
    | 11:39:15 AM | Info | Target Volume: Untitled 1, mount: /Volumes/Untitled 1, device: /dev/disk5s2, media: Ext Hard Disk, interconnect: External FireWire, file system: "Journaled HFS+", OS: 10.6.2 (10C540), capacity: 639.79 GB, used: 30.27 GB, directories: 164519, files: 522654, ejectable: YES, ACLs: Enabled
    | 11:39:15 AM | Info | Copy Mode : Smart Update
    | 11:39:15 AM | Info | Copy Script : Backup - all files.dset
    | 11:39:15 AM | Info | Transcript : BuildTranscript.plist
    | 11:39:15 AM | Info | PHASE: 1. Prepare to Copy Files
    | 11:39:15 AM | Info | ...ACTION: Preparing VelociRaptor 1
    | 11:39:15 AM | Info | ......COMMAND => Verifying the integrity of volinfo.database
    | 11:39:15 AM | Info | volinfo.database OK
    | 11:39:15 AM | Info | ......COMMAND => Enabling permissions on VelociRaptor 1
    | 11:39:15 AM | Info | Refreshing Disk Arbitration ...
    | 11:39:15 AM | Info | ......COMMAND => Verifying that permissions are enabled for VelociRaptor 1
    | 11:39:15 AM | Info | Permissions on '/' are enabled.
    | 11:39:15 AM | Info | ...ACTION: Preparing Untitled 1
    | 11:39:15 AM | Info | ......COMMAND => Enabling permissions on Untitled 1
    | 11:39:15 AM | Info | Refreshing Disk Arbitration ...
    | 11:39:16 AM | Info | ......COMMAND => Verifying that permissions are enabled for Untitled 1
    | 11:39:16 AM | Info | Permissions on '/Volumes/Untitled 1' are enabled.
    | 11:39:16 AM | Info | ......COMMAND => Verifying that Untitled 1 ACL support matches VelociRaptor 1
    | 11:39:16 AM | Info | ...ACTION: Preserving Spotlight state on Untitled 1
    | 11:39:16 AM | Info | ......COMMAND => Disabling Spotlight search indexing on Untitled 1
    | 11:39:16 AM | Info | PHASE: 2. Copy Files
    | 11:39:16 AM | Info | ...ACTION: Copying files from VelociRaptor 1 to Untitled 1 using Smart Update
    | 11:39:16 AM | Info | ......COMMAND => Cloning VelociRaptor 1 to Untitled 1
    | 11:39:16 AM | Info | Copying copy files with delete using script: /Users/williamtanner/Library/Application Support/SuperDuper!/Copy Scripts/Standard Scripts/Backup - all files.dset
    | 11:39:16 AM | Info | Loading 27 commands from copy script /Applications/SuperDuper!.app/Contents/Resources/Copy Scripts/Exclude system temporary files.dset
    | 11:39:16 AM | Info | Loading 6 commands from copy script /Applications/SuperDuper!.app/Contents/Resources/Copy Scripts/Exclude system cache files.dset
    | 11:39:16 AM | Info | Loading 1 commands from copy script /Applications/SuperDuper!.app/Contents/Resources/Copy Scripts/Exclude Norton FileSaver files.dset
    | 11:39:16 AM | Info | Loading 2 commands from copy script /Applications/SuperDuper!.app/Contents/Resources/Copy Scripts/Exclude Google Desktop Index files.dset
    | 11:39:16 AM | Info | Loading 1 commands from copy script /Applications/SuperDuper!.app/Contents/Resources/Copy Scripts/Exclude iTunes Temporary files.dset
    | 11:39:16 AM | Info | Loading 0 commands from copy script /Users/williamtanner/Library/Application Support/SuperDuper!/Copy Scripts/Standard Scripts/Backup - all files.dset
    | 11:39:20 AM | Info | /
    | 11:39:20 AM | Info | /.vol
    | 11:39:20 AM | Info | Ignoring /.vol
    | 11:39:20 AM | Info | /cores
    | 11:39:20 AM | Info | /Network
    | 11:39:20 AM | Info | /.Spotlight-V100
    | 11:39:20 AM | Info | Preserving /.Spotlight-V100
    | 11:39:20 AM | Info | /private
    | 11:39:20 AM | Info | Ignoring /private/var/folders/-S
    | 11:39:20 AM | Info | Ignoring /private/var/folders/zz
    | 11:39:20 AM | Info | Ignoring /private/var/tmp/com.epson.epw
    | 11:39:20 AM | Info | Ignoring /private/var/tmp/com.apple.speech.synthesis.globals
    | 11:39:20 AM | Info | Ignoring /private/var/tmp/launchd
    | 11:39:20 AM | Info | Ignoring /private/var/tmp/com.WD.WDDriveManagerService
    | 11:39:23 AM | Info | Ignoring /private/var/vm/swapfile0
    | 11:39:23 AM | Info | Ignoring /private/var/run/vpncontrol.sock
    | 11:39:23 AM | Info | Ignoring /private/var/run/usbmuxd
    | 11:39:23 AM | Info | Ignoring /private/var/run/syslog.pid
    | 11:39:23 AM | Info | Ignoring /private/var/run/syslog
    | 11:39:23 AM | Info | Ignoring /private/var/run/printtool
    | 11:39:23 AM | Info | Ignoring /private/var/run/portmap.socket
    | 11:39:23 AM | Info | Ignoring /private/var/run/mDNSResponder
    | 11:39:23 AM | Info | Ignoring /private/var/run/cupsd
    | 11:39:23 AM | Info | Ignoring /private/var/run/com.apple.ActivityMonitor.socket
    | 11:39:23 AM | Info | Ignoring /private/var/run/asl_input
    | 11:39:23 AM | Info | Ignoring /private/var/run/SCHelper
    | 11:39:23 AM | Info | Ignoring /private/var/run/diskarbitrationd.pid
    | 11:39:23 AM | Info | Ignoring /private/var/run/configd.pid
    | 11:39:23 AM | Info | Ignoring /private/var/run/DirectoryService.pid
    | 11:39:23 AM | Info | Ignoring /private/var/run/.DSRunningSP1
    | 11:39:23 AM | Info | Ignoring /private/var/run/automount.initialized
    | 11:39:23 AM | Info | Ignoring /private/var/run/mds.pid
    | 11:39:23 AM | Info | Ignoring /private/var/run/com.apple.loginwindow.didRunThisBoot
    | 11:39:23 AM | Info | Ignoring /private/var/run/pppconfd
    | 11:39:23 AM | Info | Ignoring /private/var/run/resolv.conf
    | 11:39:23 AM | Info | Ignoring /private/var/run/sntp.log
    | 11:39:23 AM | Info | Ignoring /private/var/run/ntpd.pid
    | 11:39:23 AM | Info | Ignoring /private/var/run/utmpx
    | 11:39:23 AM | Info | Ignoring /private/var/run/mds
    | 11:39:32 AM | Info | Ignoring /private/var/db/BootCache.playlist
    | 11:39:32 AM | Info | Ignoring /private/var/db/volinfo.database
    | 11:39:32 AM | Info | Ignoring /private/tmp/MobileDevice.log
    | 11:39:32 AM | Info | Ignoring /private/tmp/launchd-99.KTlnYd
    | 11:39:32 AM | Info | Ignoring /private/tmp/launch-TIwnDn
    | 11:39:32 AM | Info | Ignoring /private/tmp/launch-S6asBo
    | 11:39:32 AM | Info | Ignoring /private/tmp/launch-1v6MDi
    | 11:39:32 AM | Info | Ignoring /private/tmp/icssuis501
    | 11:39:32 AM | Info | Ignoring /private/tmp/4b3745a3d4d81
    | 11:39:32 AM | Info | Ignoring /private/tmp/target221.indexState
    | 11:39:32 AM | Info | /Users
    | 11:39:36 AM | Info | Ignoring /.hotfiles.btree
    | 11:39:36 AM | Info | /bin
    | 11:39:36 AM | Info | /sbin
    | 11:39:36 AM | Info | /usr
    | 11:39:48 AM | Info | /System
    | 11:41:47 AM | Info | /Library
    | 11:42:41 AM | Info | /Applications
    | 11:44:22 AM | Info | /.Trashes
    | 11:44:22 AM | Info | /.fseventsd
    | 11:44:22 AM | Info | Preserving /.fseventsd
    | 11:44:22 AM | Info | /dev
    | 11:44:22 AM | Info | /net
    | 11:44:22 AM | Info | /home
    | 11:44:22 AM | Info | /Volumes
    | 11:44:22 AM | Info | Ignoring /Volumes/My Book
    | 11:44:22 AM | Info | Ignoring /Volumes/VelociRaptor 3
    | 11:44:22 AM | Info | Ignoring /Volumes/VelociRaptor 4
    | 11:44:22 AM | Info | Ignoring /Volumes/VelociRaptor 2
    | 11:44:22 AM | Info | Ignoring /Volumes/VelociRaptor 1
    | 11:44:22 AM | Info | Ignoring /Volumes/Untitled 1
    | 11:44:22 AM | Info | Evaluated 685438 items occupying 29.45 GB (164606 directories, 511269 files, 9563 symlinks)
    | 11:44:22 AM | Info | Copied 463 items totaling 0.69 GB (117 directories, 335 files, 11 symlinks)
    | 11:44:22 AM | Info | Cloned 29.15 GB of data in 306 seconds at an effective transfer rate of 95.25 MB/s
    | 11:44:22 AM | Info | ......COMMAND => Resetting Custom Icon bit on Untitled 1
    | 11:44:22 AM | Info | PHASE: 3. After Successful Copy
    | 11:44:22 AM | Info | ...ACTION: Making Untitled 1 bootable
    | 11:44:22 AM | Info | ......COMMAND => Blessing OS X System Folder
    | 11:44:23 AM | Info | Successfully blessed Mac OS X folder on Untitled 1
    | 11:44:23 AM | Info | ......COMMAND => Blessing OS 9 System Folder
    | 11:44:23 AM | Info | Did not bless Mac OS 9 System Folder on Untitled 1 because it does not exist.
    | 11:44:23 AM | Info | ...ACTION: Updating prebinding on Untitled 1
    | 11:44:23 AM | Info | ......COMMAND => Updating boot cache on '/Volumes/Untitled 1'
    | 11:44:30 AM | Info | updatedyld_sharedcache[271] current i386 cache file invalid because /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/Desk topServicesPriv has changed
    | 11:44:34 AM | Info | updatedyld_sharedcache: warning mismatched install path in /System/Library/CoreServices/RawCamera.bundle/Contents/Resources/MetadataLib.dy lib for /usr/lib/libgcc_s.1.dylib
    | 11:44:34 AM | Info | updatedyld_sharedcache: warning mismatched install path in /System/Library/CoreServices/RawCamera.bundle/Contents/MacOS/RawCamera for /usr/lib/libgcc_s.1.dylib
    | 11:44:38 AM | Info | updatedyld_sharedcache[271] current ppc cache file invalid because /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/Desk topServicesPriv has changed
    | 11:44:41 AM | Info | updatedyld_sharedcache: warning mismatched install path in /System/Library/CoreServices/RawCamera.bundle/Contents/Resources/MetadataLib.dy lib for /usr/lib/libgcc_s.1.dylib
    | 11:44:41 AM | Info | updatedyld_sharedcache: warning mismatched install path in /System/Library/CoreServices/RawCamera.bundle/Contents/MacOS/RawCamera for /usr/lib/libgcc_s.1.dylib
    | 11:44:45 AM | Info | updatedyld_sharedcache[271] current x86_64 cache file invalid because /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/Desk topServicesPriv has changed
    | 11:44:48 AM | Info | updatedyld_sharedcache: warning mismatched install path in /System/Library/CoreServices/RawCamera.bundle/Contents/MacOS/RawCamera for /usr/lib/libgcc_s.1.dylib
    | 11:44:48 AM | Info | updatedyld_sharedcache: warning mismatched install path in /System/Library/CoreServices/RawCamera.bundle/Contents/Resources/MetadataLib.dy lib for /usr/lib/libgcc_s.1.dylib
    | 11:44:52 AM | Info | Successfully updated boot cache on Untitled 1
    | 11:44:52 AM | Info | ...ACTION: Restoring Spotlight state on Untitled 1
    | 11:44:52 AM | Info | ......COMMAND => Restoring Spotlight search indexing state on Untitled 1
    | 11:44:53 AM | Info | /Volumes/Untitled 1:
    | 11:44:53 AM | Info | Indexing enabled.
    | 11:44:53 AM | Info | Indexing enabled on Untitled 1
    | 11:44:53 AM | Info | Copy complete.
    "Maybe turn the MP off, pull the power cord and disconnect all external devices but keyboard and mouse, disconnct the SSD, reconnect and start MP":-
    I have tried this several times without any success.
    "Also, make sure no programs are running during cloning, and leave the computer alone.":-
    SuperDuper was the only program running when I cloned firstly to the Mac (WD) HDD, and secondly to the Agility EX on 21st. December.
    Also everything was disconnected before I removed and transferred the Mac HDD to an external enclosure.
    After I had checked that the Mac HDD had been cloned successfully, everything was disconnected again before I fitted the Agility Ex and the other 3 VelociRaptors in the lower optical drive bay, and drive bays 2,3 & 4 respectively.
    I used a Lindy anti-static Service Kit throughout the whole process. I purchased this originally for when I installed 16GB of Kingston RAM, an ATI Radeon HD4870, and my first VelociRaptor

  • Duplicate target database for standby backup location.... errors out

    Hi ,
    i am getting below error while executing
    RMAN> duplicate target database for standby backup location '/rman1/perf/brmbkpdg' nofilenamecheck dorecover ;
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00558: error encountered while parsing input commands
    RMAN-01009: syntax error: found "backup": expecting one of: "dorecover, db_file_name_convert, from, nofilenamecheck, ;, spfile"
    RMAN-01007: at line 1 column 39 file: standard input
    Can you please suggest a fix or what should be the syntax
    Thanks
    Naveen

    If it helps here are my tested commands: (Oracle 11)
    PRIMARY
    RMAN RUN {
    allocate channel d1 type disk;
    backup format '/u01/backups/PRIMARY/df_t%t_s%s_p%p' database;
    sql 'alter system archive log current';
    backup format '/u01/backups/PRIMARY/al_t%t_s%s_p%p' archivelog all;
    backup current controlfile for standby format '/u01/backups/PRIMARY/sb_t%t_s%s_p%p';
    release channel d1;
    STANDBY
    RMAN> run {
    allocate channel C1 device type disk;
    allocate auxiliary channel C2 device type disk;
    duplicate target database for standby nofilenamecheck;
    My how to notes are here :
    http://www.visi.com/~mseberg/duprman.html
    Please note these were written not to create but to recover a standby, you still have to set up forced logging and the net80 in advance.
    Best Regards
    mseberg

  • Deleting applied archives from standby

    Hello Guys,
    We have oracle 10g rel 2 on hp-ux
    I feel this common question for dataguard implementation
    Just want to check best way of deleting archives automatically from standby database,i have 2 methods in mind
    as below
    1)At os level shell script-finding last seqno from alert log at standby/or query v$views(select max(sequence#) from v$archived_log) ,passing it to script
    using rman as :*delete archivelog until sequence seqno;*
    or deleting at os level upto this seqno
    (Making script is not issue with this functionality and scheduling it in cron)
    2)by RMAN at standby
    set alter system set "_log_deletion_policy"='ALL' scope=spfile;
    set CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON STANDBY;
    however i have no plans to take backup at standby,still can i use above command
    is it reliable i faced some issues in past inspite of this configurations archives were not deleted at standby
    Please give your views is there any other method to delete archives automatically ,and which one is more preferred
    and reliable method/best method
    Thanks

    804719 wrote:
    Hello Guys,
    We have oracle 10g rel 2 on hp-ux
    I feel this common question for dataguard implementation
    Just want to check best way of deleting archives automatically from standby database,i have 2 methods in mind
    as below
    1)At os level shell script-finding last seqno from alert log at standby/or query v$views(select max(sequence#) from v$archived_log) ,passing it to script
    using rman as :*delete archivelog until sequence seqno;*
    or deleting at os level upto this seqno
    (Making script is not issue with this functionality and scheduling it in cron)
    2)by RMAN at standby
    set alter system set "_log_deletion_policy"='ALL' scope=spfile;
    set CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON STANDBY;
    however i have no plans to take backup at standby,still can i use above command
    is it reliable i faced some issues in past inspite of this configurations archives were not deleted at standby
    Please give your views is there any other method to delete archives automatically ,and which one is more preferred
    and reliable method/best method
    ThanksConfigure RMAN to purge archivelogs after applied on standby [ID 728053.1]
    logdeletion_policy parameter is static, so which you cant change dynamically, PRimary should bounce, If it is fine then you can go ahead.
    If you do not have time, then prepare an RMAN script to delete the archives.

  • Create dev database from standby database

    Hi folks,
    I need to create a dev database by using RMAN's method of cloning. But, since it is business hours and the production database is being used at a very high rate, I cannot carryout the cloning by connecting the primary database as it may cause performance slowness.
    The time allotted for the activity is also very short. We have a standby database created for the primary database. So, my question is it possible for me to create the dev database using the standby database ?
    Database version is 11.1.0.6 and I can go ahead with the active database feature.

    Yes, you can clone from the standby database. Follow the below steps.
    1. Check if your standby database is in sync with the primary database.
    2. Cancel the MRP on the standby database.
    alter database recover managed standby database cancel;3. connect to standby as target database and dev database as auxiliary
    rman target sys/<pwd>@<standby-alias> auxiliary sys/pwd@<dev-alias>4. Your standby database would be in mount stage and dev in nomount stage.
    5. Run the duplicate command
    rman>duplicate target database to 'dev' nofilenamecheck;6. Once done, start the MRP on the standby database
    alter database recover managed standby database disconnect from session;

  • Shrink Log file in log shipping and change the database state from Standby to No recovery mode

    Hello all,
    I have configured sql server 2008 R2 log shipping for some databases and I have two issues:
    can I shrink the log file for these databases: If I change the primary database from full to simple and shrink the log file then change it back to full recovery mode the log shipping will fail, I've seen some answers talked about using "No
    Truncate" option, but as I know this option will not affect the log file and it will shrink the data file only.
          I also can't create maintenance to reconfigure the log shipping every time I want to shrink the log file because the database size is huge and it will take time to restore in the DR site, so the reconfiguration
    is not an option :( 
    how can I change the secondary database state from Standby to No recovery mode? I tried to change it from the wizard and wait until the next restore for the transaction log backup, but the job failed and the error was: "the step failed". I need
    to do this to change the mdf and ldf file location for the secondary databases.
    can any one help?
    Thanks in advance,
    Faris ALMasri
    Database Administrator

    1. can I shrink the log file for these databases: If I change the primary database from full to simple and shrink the log file then change it back to full recovery mode the log shipping will fail, I've seen some answers talked about using "No Truncate"
    option, but as I know this option will not affect the log file and it will shrink the data file only.
          I also can't create maintenance to reconfigure the log shipping every time I want to shrink the log file because the database size is huge
    and it will take time to restore in the DR site, so the reconfiguration is not an option :( 
    2. how can I change the secondary database state from Standby to No recovery mode? I tried to change it from the wizard and wait until the next restore for the transaction log backup, but the job failed and the error was: "the step failed". I need to do
    this to change the mdf and ldf file location for the secondary databases.
    can any one help?
    Thanks in advance,
    Faris ALMasri
    Database Administrator
    1. If you change recovery model of database in logshipping to simple and back to full Logshipping will break and logs wont be resored on Secondary server as log chain will be broken.You can shrink log file of primary database but why would you need that
    what is schedule of log backup. Frequent log backup is already taking care of log files why to shrink it and create performance load on system when log file will ultimately grow and since because instant file initilaization is not for Log files it takes time
    to grow and thus slows performace.
    You said you want to shrink as Database size is huge is it huge or does it have lots of free space. dont worry about data file free space it will eventually be utilized by SQL server when more data comes
    2. You are following wrong method changing state to no recovery would not even allow you to run select queries which you can run in Standby mode. Please refer below link to move Secondary data and log files
    http://www.mssqltips.com/sqlservertip/2836/steps-to-move-sql-server-log-shipping-secondary-database-files/
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it.
    My TechNet Wiki Articles

  • Restoring a new mac from a backup can i only install some programs and files? Dont think there is enough memorie on the mac air

    I might be buying a new macbook air to go traveling with.. i have a macbook pro already and want to restore from the backup onto the new macbook Air but am not sure if there is enough memorie on the air... Can i restore from the back up and only put on certain files and programs.. I only really want my photoshop and dont have the serial code anymore..

    When using Migration Assistant or Setup Assistant you can only choose all or none of the Applications. You have a little more flexibility about the files in your account(s).
    What I did when I had to migrate from my MBP to the MBA was to use SuperDuper! to create a clone backup of my MBP. Then I deleted the programs and files (mostly music and video) I didn't intend to put on the MBA. Then when the MBA arrived I used Setup Assistant to migrate everything.

Maybe you are looking for