Switch database to copy

11.2.0.2
all datafiles in asm under +DATADG
put database in mount mode.
rman
allocate channel c1 as '+BUDATADG'
backup as copy; -- all datafiles are copied to +BUDATADG
switch database to copy; -- database now using the copied datafiles.
Is there an easy way to switch back to the datafiles on +DATADG without doing a full copy back and in effect reversing the steps?
something like "switch database to original"

moreajays wrote:
Hi,
There is no option to switch backup to original copy of datafiles , use same approach for previous +DATADG
Just as an FYI: I played with this for a bit and there actually is a way to go back. When you switch to the copy, go to RMAN and do
list copy of database;
and I was surprised to see the original database files as a known copy. I tried to switch back
switch database to copy;
and it failed straight back over to the original files. I played a bit further, as long as in mount mode, it will switch seamlessly between both no problem. Any changes require a "recover database" for it to catch up.
edit: working example noted here
http://dba-tips.blogspot.ie/2011/11/switch-database-to-rman-copy-backup-and.html

Similar Messages

  • RMAN-06571 after switch database to copy

    Hi all,
    I rolled forward a physical standby database using RMAN incremental backups as detailed in Oracle support ID **836986*.1* and it all went well until i tried to switch the standby database to copy.
    I get the error RMAN-06571 datafile 24 does not have recoverable copy
    Now datafile 24 is a datafile created after the scn of the standby database and there's unfortunately no documentation on how to restore this datafile from the backup piece created as part of the incremental backup created from the primary. The oracle document says
    *"if any datafiles have been added to primary after scn <n> they will also have to restored to the standby host and cataloged before doing the switch"*
    Unfortunately it does not say how this is to be done.
    I have tried to restore datafile 24 but even that produces an
    RMAN-12008 could not locate backup piece /x/y/piecename
    even though the backup piece is in the location /x/y/piecename and has been cataloged via rman. The same backup piece was used to restore the datafiles that existed earlier. i.e. the other 23, successfully so i know it has the datafile i need.
    My environment is a 3-node RAC (Primary & Standby). I am really at my wits end.
    All help appreciated.

    rman> restore datafile 24;
    It accurately determines that the datafile to be restored is in the backuppiece /x/y/piecename but then informs me it cannot find it.
    RMAN> @restoredatafile24.txt
    RMAN> run {
    2> allocate channel c1 device type disk format '/opt/dbe/forstandby_%U';
    3> restore datafile 24;
    4> release channel c1;
    5> }
    allocated channel: c1
    channel c1: SID=1347 instance=rac1 device type=DISK
    Starting restore at 19-JUL-2012 22:49:15
    released channel: c1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 07/19/2012 22:49:16
    RMAN-12009: command aborted because some backup pieces could not be located
    RMAN-12008: could not locate backup piece /opt/dbe/forstandby_f0ngb1k4_1_1
    RMAN> **end-of-file**
    Thanks.
    Edited by: user11970290 on Jul 20, 2012 12:53 PM

  • RMAN: Switch database back

    Hi,
    I am having a small rman issue. With:
    switch database to copy;I am able to recover a database very quickly however how can I switch back respectively restore afterwards the database to its original location. Are there no other ways to do it file by file?
    Thanks for your feedback.
    Cheers,
    David
    OCP 9i
    http://www.oratoolkit.ch/otn.php

    True, I just had to rename the files and to recover them. Here the procedure:
    $ sqlplus / as sysdba
    SQL> shutdown immediate
    SQL> startup mount
    SQL> alter database rename file
           '/backup01/rdbms/physical/prod/datafile/PROD_copy_data_D-PROD_I-116298551_TS-SYSTEM_FNO-1_0vl14lkl'
           to '+DATA01/PROD/DATAFILE/prod_system_01.dbf';
    SQL> alter database rename file
           '/backup01/rdbms/physical/prod/datafile/PROD_copy_data_D-PROD_I-116298551_TS-TAB_FNO-6_12l14lm2'
           to '+DATA01/PROD/DATAFILE/prod_tab_01.dbf';
    SQL> alter database rename file
           '/backup01/rdbms/physical/prod/datafile/PROD_copy_data_D-PROD_I-116298551_TS-TAB_FNO-7_13l14lm9'
           to '+DATA01/PROD/DATAFILE/prod_tab_02.dbf';
    SQL> alter database rename file
           '/backup01/rdbms/physical/prod/datafile/PROD_copy_data_D-PROD_I-116298551_TS-IDX_FNO-9_15l14lmn'
           to '+DATA01/PROD/DATAFILE/prod_idx_02.dbf';
    SQL> alter database rename file
           '/backup01/rdbms/physical/prod/datafile/PROD_copy_data_D-PROD_I-116298551_TS-IDX_FNO-8_14l14lmg'
           to '+DATA01/PROD/DATAFILE/prod_idx_01.dbf';
    SQL> alter database rename file
           '/backup01/rdbms/physical/prod/datafile/PROD_copy_data_D-PROD_I-116298551_TS-OTK_FNO-5_16l14lmq'
           to '+DATA01/PROD/DATAFILE/prod_otk_01.dbf';
    SQL> alter database rename file
           '/backup01/rdbms/physical/prod/datafile/PROD_copy_data_D-PROD_I-116298551_TS-USERS_FNO-4_17l14lmr'
           to '+DATA01/PROD/DATAFILE/prod_users_01.dbf';
    SQL> alter database rename file
           '/backup01/rdbms/physical/prod/datafile/PROD_copy_data_D-PROD_I-116298551_TS-SYSAUX_FNO-3_11l14llj'
           to '+DATA01/PROD/DATAFILE/prod_sysaux_01.dbf';
    SQL> alter database rename file
           '/backup01/rdbms/physical/prod/datafile/PROD_copy_data_D-PROD_I-116298551_TS-UNDO_FNO-2_10l14ll4'
           to '+DATA01/PROD/DATAFILE/prod_undo_01.dbf';
    SQL> exit
    $ rman target /
    RMAN> recover database;
    RMAN> alter database open;Thanks a lot for your inputs. ;)

  • How to switch database at runtime usign OpenDoc

    Hello,
    We are using crystalreport 2008 and BOE XI 3.1.
    I open crystal report from crystalreport using hyperlink and opendoc in java. This is working fine if I define db credentials in CMC, but I need to use different databases based on the parameter.
    How can I achieve switching database using opendoc?
    Thank you.
    Julia

    Hello,
    I've created jsp that handles db switch and it perfectly opens correct report, but if I have 2 hyperlinks open and use subreports in them, then they overwrite each other.
    What am I doing wrong?
    Thank you.
    Julia

  • How to start a database by copying the files(tablespace, redo, ctl files)

    Hi,
    I have two databases called Q1 and Q2. I am planning to copy from a cold backup files from Q1 to Q2 database.
    could anybody will provide the steps involved in how to copy from one database to another and how to rename the target database after copying and renaming the files in the target database to up and run?
    Please help.
    Thank you.

    For Oracle version from 9i the steps are :
    Perform Cold Backup of the Production database
    1. Note down the datafile, controlfile and redologfile locations on proddb
    2. Shutdown the production database Ensure clean shutdown.
    3. Copy the database files (datafiles, logfiles, controlfiles and parameter file) into the clone destination.
    4. Modify the parameter CONTROL_FILES in the pfile for clonedb to reflect
    the new path of the control files.
    1. Mount the database and rename the datafiles and redolog files.
    export ORACLE_SID=clonedb
    DB02> sqlplus / as sysdba
    DB02> startup mount
    DB02> alter database rename file '/u01/<path_to_proddb_files>/<filename>' to '/u01/<path_to_clonedb_files>/<filename>'
    2. Rename the database with the dbnewid (nid) utility
    3. Edit the pfile and update the new database name
    Modify parameter DB_NAME to reflect the new database name.
    also ensure you make necessary changes to the environment for ORACLE_SID, ORACLE_HOME
    as needed.
    4. Open the clone database.

  • Switch databases during runtime

    Hi
    We work with JDeveloper 10g Build 1929 and Oracle 10g as database.
    We use JDBC Datasources as Connection Type, which obviously means that the database connection parameters are set via data-sources.xml.
    DataSources.xml:
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <!DOCTYPE data-sources PUBLIC "Orion data-sources" "http://xmlns.oracle.com/ias/dtds/data-sources.dtd">
    <data-sources>
    <data-source
         name="jdev-connection-DB1" username="test1" password="test1" url="jdbc:oracle:thin:@test1:1521:test1" inactivity-timeout="30"/>
    <data-source
         name="jdev-connection-DB2" username="test2" password="test2" url="jdbc:oracle:thin:@test2:1521:test2" inactivity-timeout="30"/
    </data-sources>
    In my application I have an applicaiton module named "TestAM". During runtime, I want the TestAM to be connected to "jdev-connection-DB1" for some time and I want to switch to "jdev-connection-DB2" for some time.
    Is it possible to switch databases during runtime?
    Thanks
    Shoba

    Hi
    I used dynamic JDBC credentials in my application (i.e.) user enters the username and password for the database before entering into the application.
    I was using "JDBC data source" as Connection Type. But dynamic database credentials did not work. But it worked for the Connection Type "JDBC url".
    But if I have the connection type as "JDBC URL" and if I use
    Configuration.createRootApplicationModule
    in my code I get the following error:
    oracle.jbo.JboException: JBO-29000: DB Connection Failure
    at oracle.jbo.JboException.<init>(JboException.java:343)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1772)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2611)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:441)
    at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:230)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:411)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:406)
    at oracle.jbo.client.Configuration.getApplicationModule(Configuration.java:1505)
    at oracle.jbo.client.Configuration.createRootApplicationModule(Configuration.java:1463)
    at oracle.jbo.client.Configuration.createRootApplicationModule(Configuration.java:1435)
    07/09/20 12:54:19 JBO-30003: DB Connection Failure
    at com.dags.view.controller.PageAction.changeApplicationUserContext(PageAction.java:429)
    at com.dags.view.controller.PageAction.processComponentEvents(PageAction.java:192)
    at oracle.adf.controller.struts.actions.DataAction.processComponentEvents(DataAction.java:430)
    at oracle.adf.controller.lifecycle.PageLifecycle.handleLifecycle(PageLifecycle.java:126)
    at oracle.adf.controller.struts.actions.StrutsUixLifecycle.handleLifecycle(StrutsUixLifecycle.java:70)
    at oracle.adf.controller.struts.actions.DataAction.handleLifecycle(DataAction.java:222)
    at oracle.adf.controller.struts.actions.DataAction.execute(DataAction.java:153)
    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
    at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:239)
    at com.dags.view.admin.DynamicJDBCBindingFilter.doFilter(DynamicJDBCBindingFilter.java:31)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:669)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:340)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    at java.lang.Thread.run(Thread.java:534)
    So, if I have the connection type as "JDBC url", then dynamic database credentials works, but "Configuration.createRootApplicationModule" doesn't work.
    if JDBC data source, then dynamic database credentials doesn't work, but "Configuration.createRootApplicationModule" works.
    Has any one faced the same issue?
    Please help....
    Thanks
    Shoba

  • Switch database in Crystal Report 2013

    Hi All,
    I have Crystal Report 2013 and my client require to connect multiple database with single report. I have more than 10 MySql database and all database structure are same.
    E.g. Create one report Employee Detail and connect using ODBC (RDO) I have successfully connected my single MySql database. Now I need to use this report for another database.
    My question is how to switch database at runtime?
    Anybody help me please.
    Thanks.

    You can create either a .NET or a Java app to schedule or view the report - it would connect in to the CMS and handle things from there.  It's not difficult to set the database connection in code.  Your best bet for additional help will be to look here:  http://scn.sap.com/community/bi-platform/microsoft-net-sdk or here:http://scn.sap.com/community/bi-platform/java-sdk.  There is sample code available in both places as well.
    Also, while I know that the utility Ido is referring to  will work with Crystal reports, I'm not entirely sure it will work with reports that reside in CRS.  So, you'll need to review it closely to determine whether it will work for you.
    -Dell

  • How to create a new database after copying an existing database with a new name

    hi
    i have an existing database and want to copy with a new name in sql server 2005 how do it is possible 
    spose
    i have a db name attached in sql server StoreManagementDB now i want to copy this database with all the transactions as StoreManagementDB_1.
    thanks

    Use a two steps to use a backup file to restore a database with a new name.
    ----You need to have a full backup of your database:
    --Step 1:
    RESTORE FILELISTONLY
    FROM DISK = 'C:\bk\TEST.BAK'
    --Find out the LogicalName of data file and log file
    -- in this case: the data file: TEST and the log file LogicalName: TEST_log
    --Both names will be used in the MOVE command
    --Step 2:
    -- Restore the files for test1.
    RESTORE DATABASE test1
    FROM DISK = 'C:\bk\TEST.BAK'
    WITH RECOVERY,
    MOVE 'TEST' TO 'C:\bk\test1_Data.mdf',
    MOVE 'TEST_log' TO 'C:\bk\test1_Log.ldf'
    GO

  • How to choose switches, ipphones and copy machine for small business?

    Hello,
    I'm designing a network system for Nextrio Company. Right now, I'm going to choose a copy machine which has fax function; a small switch which could connect this copy machine and several other computers; several ip phone for small business.
    Could you tell me the type and cost of these devices I should choose?
    Many thanks,

    Hi Hanhan,
    For the least amount of operational expernditure, and for great functionality at a small business price, I would suggest humbly that you look at the 300 series switch family.
    The tolly group comparative report on our switch can be seen at the following link.
    http://www.cisco.com/en/US/prod/collateral/switches/ps5718/ps10898/Cisco300SeriesLANSwitchComparison.pdf
    I would suggest you check out the following models and get pricing. the switches come in 10/100Mb/sec speed or Gigabit speeds depending on the switch port count  and your needs;
    Model Name
    Your ordering P/N
    Description
    Fast Ethernet - access port 10/100MB/sec
    SF300-08
    SRW208-K9
    • 8 10/100 ports
    SF302-08
    SRW208G-K9
    • 8 10/100 ports• 2 combo* mini-GBIC ports
    SF302-08P
    SRW208P-K9
    • 8/10/100 PoE ports• 2 combo mini-GBIC ports
    SF302-08MP
    SRW208MP-K9
    • 8 10/100 Maximum PoE ports
    • 2 combo mini-GBIC ports
    SF300-24
    SRW224G4-K9
    • 24 10/100 ports
    • 2 10/100/1000 ports
    • 2 combo mini-GBIC ports
    SF300-24P
    SRW224G4P-K9
    • 24 10/100 PoE ports
    • 2 10/100/1000 ports
    • 2 combo mini-GBIC ports
    SF300-48
    SRW248G4-K9
    • 48 10/100 ports
    • 2 10/100/1000 ports
    • 2 combo mini-GBIC
    SF300-48P
    SRW248G4P-K9
    • 48 10/100 PoE ports
    • 2 10/100/1000 ports
    • 2 combo mini-GBIC ports
    Gigabit Ethernet - access ports 10/100/1000Mb/sec
    SG300-10
    SRW2008-K9
    • 8 10/100/1000 ports
    • 2 combo mini-GBIC ports
    SG300-10P
    SRW2008P-K9
    • 8 10/100/1000 PoE ports
    • 2 Combo mini-GBIC ports
    SG300-10MP
    SRW2008MP-K9
    • 8 10/100/1000 Maximum PoE ports
    • 2 combo mini-GBIC ports
    SG300-20
    SRW2016-K9
    • 18 10/100/1000 ports
    • 2 combo mini-GBIC ports
    SG300-28
    SRW2024-K9
    • 26 10/100/1000 ports
    • 2 combo mini-GBIC ports
    SG300-28P
    SRW2024P-K9
    • 26 10/100/1000 PoE ports
    • 2 combo mini-GBIC ports
    SG300-52
    SRW2048-K9
    • 50 10/100/1000 ports
    • 2 combo mini-GBIC ports
    regards Dave

  • Compilation problem when switching databases.

    it looks like oracle reports need recompilation everytime in order to run on other databases otherthan database where it compiled.Otherwise Oracle reports says "Unable to load program units.Do you want to load source copy only?".If you say Yes,it works fine but i need all those reports to run in non interactive mode(batch mode).this problem happens with reports 3.0 & 6i runtime tools calling from commandline.i also noticed another problem that oracle reports needs recompilation again for the same database if you have any reports dependant oracle object modified after the first compilation.please let me know the answer which is very useful for other users facing similar issues.
    Contact ph :- 302-791-8976
    without touching the columns that reports depending on.
    null

    We had this same problem with a certain version of Reports 3.0. We upgraded to version 3.0.5.12, recompiled the reports against 1 database instance, and then they ran fine on all of our instances.
    Hope that helps.

  • Database problem / copy & delete failures

    Dear all,
    I work with five projects having interrelationships.
    1.I had the reflection of a project
    2.Reflection project was exported and sent to contractor as xer file.
    3.xer file sent by contractor was imported into the reflection project and it was checked ,and it was ok.
    4.so source project should have been deleted to eliminate the interrelationships which would not be valid anymore.
    5.I tried to delete original project used for reflection (as source) and it could not have been deleted. (error message : PRMDB-3740-2)
    6.TO be able to work , I had tried to copy 5 projects which have interrelationships with each other ( project intended to be deleted was not one of them ), copy could have not be completed and failed.
    7.but 5 new projects are added to database with exactly the same project id's with the copied ones.
    8.I've changed the names the secondary projects and now I'm working on them. But I have doubts if any problem would arise due to incomplete duplication.
    your kind support will be highly appreciated.
    hermis
    thanks in advance.

    Hi,
    actually the process seems same as what I tried, but I work p6v7 and I do not have chance to merge the reflection if it is updated in another database !
    If you have suggestions to be able to keep the project as "reflection" after imported the one sent by contractor, I'll try.
    on the other hand , error messages are as follows :
    PRMDB-3740-2 :
    PRM DBAccess Error : Database Server Error : The statement has been terminated.
    The DELETE statement conflicted with the REFERENCE constraint "fk_taskpred_task_2". The conflict occured in database "PMDB_HGMain",table"dbo.TASKPRED", column "pred_task_id".
    when I press ignore and try to delete that project again the error message is :
    TINAT-2680-D : There is no active transaction.
    I'd like to understand the reason of the problem. Because this process will be done for each update !
    thanks again,
    hermis

  • Switched Database to ARCHIVELOG Mode, Then it Hung

    Hi everyone,
    This db is 9.2 on Windows.
    **After switching my database to Archivelog mode and reopening, it hung forever.**
    (I had to use Shutdown abort to bring it down - these steps worked to get it back online:
    shutdown abort; --startup mount;
    alter system archive log all;
    alter database noarchivelog;
    alter database open;)
    The Alert.log shows "Cannot allocate new log" immediately after I switched to Archivelog mode. So it hung at that point. Had I known why it hung, maybe running 'Alter system archive log all' would have fixed everything. But I've never had to run that when I've switched other databases to Archivelog mode.
    Does this indicate another problem with this database? I'm leery of it now and feel lucky that I was able to get it up again.
    Thanks, John
    entries from Alert.log when I switched to Archivelog mode:
    ALTER DATABASE MOUNT
    Wed Aug 06 11:44:19 2008
    Successful mount of redo thread 1, with mount id 1689013583
    Wed Aug 06 11:44:19 2008
    Database mounted in Exclusive Mode.
    Completed: ALTER DATABASE MOUNT
    Wed Aug 06 11:44:45 2008
    alter database archivelog
    Wed Aug 06 11:44:45 2008
    Starting control autobackup
    Control autobackup written to DISK device
         handle 'F:\ORACLE\ORA92\DATABASE\C-1602026732-20080806-00'
    Completed: alter database archivelog
    Wed Aug 06 11:45:17 2008
    alter database open
    Wed Aug 06 11:45:17 2008
    Thread 1 opened at log sequence 9014
    Current log# 1 seq# 9014 mem# 0: F:\ORACLE\ORADATA\PBSMEM\REDO01.LOG
    Successful open of redo thread 1
    Wed Aug 06 11:45:17 2008
    SMON: enabling cache recovery
    Wed Aug 06 11:45:17 2008
    Undo Segment 1 Onlined
    Undo Segment 2 Onlined
    Undo Segment 3 Onlined
    Undo Segment 4 Onlined
    Undo Segment 5 Onlined
    Undo Segment 6 Onlined
    Undo Segment 7 Onlined
    Undo Segment 8 Onlined
    Undo Segment 9 Onlined
    Undo Segment 10 Onlined
    Successfully onlined Undo Tablespace 1.
    Wed Aug 06 11:45:17 2008
    SMON: enabling tx recovery
    Wed Aug 06 11:45:17 2008
    Database Characterset is WE8MSWIN1252
    replication_dependency_tracking turned off (no async multimaster replication found)
    Completed: alter database open
    Wed Aug 06 11:59:58 2008
    Thread 1 advanced to log sequence 9015
    Current log# 2 seq# 9015 mem# 0: F:\ORACLE\ORADATA\PBSMEM\REDO02.LOG
    Wed Aug 06 12:01:03 2008
    Thread 1 advanced to log sequence 9016
    Current log# 3 seq# 9016 mem# 0: F:\ORACLE\ORADATA\PBSMEM\REDO03.LOG
    Wed Aug 06 12:09:16 2008
    Thread 1 cannot allocate new log, sequence 9017
    All online logs needed archiving
    Current log# 3 seq# 9016 mem# 0: F:\ORACLE\ORADATA\PBSMEM\REDO03.LOG
    **** PrefBid App locked up at this point – hung – users cannot do anything -- Note the gap in log entry time – no further entries until my Shutdown request

    Hi,
    We can enable automatic archiving after instance startup.
    In order to enable automatic archiving without shutting down the current instance, use the SQL command ALTER SYSTEM with the ARCHIVE LOG START parameter.
    ALTER SYSTEM ARCHIVE LOG START;
    When using this option, the instance does not have to be shut down to enable automatic archiving.
    However, if an instance is shutdown and restarted after automatic archiving is enabled using this option, the instance is reinitialized using the settings of the parameter file ("LOG_ARCHIVE_START"), which may or may not enable automatic archiving.
    NOTE: On 9i, you can use an SPFILE instead of the standard pfile. The LOG_ARCHIVE_START parmaeter is deprecated with 10g.
    alter system set log_archive_start=true scope=spfile;
    Did you read the Metalink Note I gave you? These information was there...
    Thanks,
    Marcello M.

  • Database Management Copy Data - Replace Option

    Can anyone provide info on how this works? we are using 9.2.1
    When using database management to copy data, when using the replace option, even if we only pick a few accounts to copy, it is erasing all data in the Target scenario. Does the replace option clear all data by default before copying in the selected data?
    we tried to use the Merge option but apparently that doesn't always work for some reason-could be user error. not sure.
    Thanks
    Wags

    Hey Wags- this is expected functionality of the Replace method. It clears all custom/account data for the load entity/year/period combo prior to do the load. For example, if there is P&L data in entity A in Jan 2010 and you load $500 to it in a Sales account, all the rest of the P&L data will be cleared and you'll just have $500 in the Sales account.
    Here's stuff from the guide:
    Several options are available for loading data into an application. You can merge, replace, or
    accumulate the data into the application. You select one of these options for each load process.
    Note:
    You cannot load calculated data into an application.
    Merge
    Select this option to overwrite the data in the application with the data from the file.
    For each unique point of view that exists in the data file and in the application, the value in the
    data file overwrites the data in the application.
    Note:
    If you have multiple values in the file for the same point of view, the system loads only the value
    for the last entry.
    If you select the Accumulate Within File option in conjunction with the Merge option, the system
    adds all values for the same point of view in the data file, and overwrites the data in the application
    with the total.
    For each unique point of view that is in the data file but does not have a value in the application,
    the value from the data file is loaded into the application.
    Replace
    For each unique combination of scenario, year, period, entity, and value in the data file, the
    system first clears all corresponding values from the application, then loads the value from the
    data file.
    Note:
    If you have multiple values in the file for the same unique combination of dimensions, the system
    loads only the value for the last entry.
    If you select the Accumulate Within File option in conjunction with the Replace option, the
    system clears the value from the application, adds all values for the same point of view in the
    data file, and loads the total.
    You can achieve the same result as using the Replace option with the Accumulate Within File
    option by using the Database Management module. You can organize the data in the file into
    groups based on Scenario, Year, Entity, Value, and Period.
    Use the Clear Data tab in the Database Management module to clear each unique combination
    of these dimensions, selecting all accounts including system accounts. Enter the data manually
    in a data grid, or load or copy the data into the application using the Merge or Accumulate load
    options. When you perform the Clear operation for a period in a subcube, data, cell text, and
    line item detail are cleared, but cell attachments are not cleared.
    Note:
    You may need to create several small files to load a data file using the Replace mode, especially
    if the data is very large or if the file contains ownership data. An error message is displayed if the
    file is too large when you try to load it.
    Replace by Security
    This option enables you to perform a data load in Replace mode even if you do not have access
    to all accounts. When you perform the Clear operation for a period in a subcube, only the cells
    to which you have access are cleared. Data, cell text, and line item detail are cleared, but cell
    attachments are not cleared.
    Accumulate
    For each unique point of view that exists in the data file and in the application, the value from
    the load file is added to the value in the application.
    Note:
    Data for system accounts is not accumulated.
    Accumulate Within File
    You can use the Accumulate Within File option in conjunction with the Merge and Replace
    options. This option accumulates the data in the file first and loads the totals into the application
    based on the load option selected.
    File Contains Ownership Data
    If the file contains ownership data, you must indicate this by selecting File Contains Ownership
    Data. If you do not select this option and the data file contains ownership or shares information,
    an error occurs when you load the file.

  • Switching database to archive log mode

    1.When I switch the database to archive log mode,
    I have to do full offline(consistent) backup.
    2.When the database is working in archive log mode
    I can do inconsistent(online) backups.
    Why is there consistent backup needed after swiching
    to archive log mode, is there not inconsistent backup
    enough after switching (the databease operates
    in archive log mode and as in point 2 I can make inconsistent backups).

    Hello,
    Oracle recommands to do offline backup after switching to archivelog as an immediate crash-recovery procedure. Look at the following example:
    1/ You switch your base to archivelog.
    2/ Work is started right away.
    3/ Your DB crashes => You got your archived redo logs, but none of the other files.
    Now, let's put a
    1b/ Backup (offline) your database.
    Now, in 3, youg got everything you need to restore the base, because 3 can happen WHILE your are ONLINE Backing up the base.
    That's the point.
    Regards,
    Yoann.

  • Exchange Data Center Switching Database Not Mounting

    -Primary DC > 02 Exchange Servers ( All roles Installed)  MAPI & Replication Network Between two
    -DR Site > 01 Server (All roles) + 01 Server ( Mailbox Roles) Only MAPI network
    -All the Servers in both Sites are members of DAG called DAG1
    - All Mailbox Server have Database Copies in healthy states
    I shutdown the Primary Database Completely and I saw that Mailbox Databases not mounting On DR Site.
    What need to be configured? to Switch over and Automatic mount in case Primary Data Center Down.
    here is the Screen Shot:
    After Some time

    Hi,
    All DAG members should have the same number of networks, MAPI and Replication networks. Base on your description, members in DR site only have MAPI network.
    If your primary datacenter fails, you need to switchover to secondary datacenter manually.
    You can look at the following article.
    http://technet.microsoft.com/en-us/library/dd351049(v=exchg.141).aspx
    Best regards,
    Belinda Ma
    TechNet Community Support

Maybe you are looking for

  • Manually transfer Voice Memos to iphone?

    I manage my iphone music manually. Is there any way I can transfer my voice memos into itunes without synching? They are 1 hour, too long to email or mms.

  • How do I change background shade of grid-view in iTunes 11?

    I've just downloaded and installed iTunes 11 and can't seem to find a way to alter the background colour of grid view. It's bright white or bright white! No options to tone it down to grey or black. Help!

  • Best approach to upgrade MaxDB AND move to new OS release

    What would be the best approach to upgrade Contentserver MaxDB 7.5 on W2K server (32-Bit) to MaxDB 7.7 on Windows 2008 Server x64 (R2?)? 1.  a) Upgrade MaxDB on the existing installation      b) Create a complete backup      c) Install latest release

  • No sound (clicking or music) until turned off/on

    This is the second time that it's happened. I had the ipod plugged in all night charging and when I went to play music on it this morning, the play symbol came up in the top left corner, but the time elapsed never changed and there was no sound. Also

  • DGCserver

    I am working with Weblogic 6.1 and testing a data access class. The data access class calls another class, and passes it a connection. The second class is being called many times before the first class finishes and returns a result. While the test is