Backup and Recovery of Enterprise

I've inherited an instance of Enterprise XI R2, and have discovered that it is a critical system, but is not being backed up.  I'm new to this, please bear with me.
I found the backup and recovery guide (https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c09a069c-6a3f-2b10-3399-e0ed04d866f8), and it gives a good high level overview, but I need a little more info.
Questions: 
1.  The guide states that "The Central Management Server (CMS) and all job-processing and Performance Management servers should be stopped by an automated script."  Is there a specific order that the servers need to be stopped and started in?  Would anyone be willing to share their script?
2.  I assume that when the servers are down, anything scheduled to run during that time will be lost.  i.e., the server won't check for missed jobs caused by the stopped state once the it resumes, correct?
3.  The only thing that I need to back up on the file system is the contents of FileStore (C:Program FilesBusiness ObjectsBusinessObjects Enterprise 11.5FileStore*.*), correct?
4.  This looks like a vanilla install using MySql.  Would anyone be willing to share their MySql backup scripts?  Is there a default password for MySql?  How can I determine this password?  How many databases are there? 
5.  I plan to create a backup script that stops the servers, copies the FileStore path to a backup folder (using xcopy to preserve the archive attribute), have MySql generate a backup file to the same folder, and then start the servers.  This folder will be written to tape nightly (fulls on weekends, incrementals during the week).  Is there anything else that I might need to backup?  Config files?  Ini's?
Thanks!!!

1. There is no specific order, but last to go down should be CMS and first to come up should be CMS.
@echo off
Stop Business Objects Services
echo
net stop "BOBJCrystalReportApplicationServer"
net stop "BOBJEventServer"
net stop "BOBJProgramServer"
net stop "BOBJOutputFileServer"
net stop "BOBJProcessServer"
net stop "BOBJInputFileServer"
net stop "BOBJDestinationServer"
net stop "BOBJCrystalReportspageserver"
net stop "BOBJJobServer_Report"
net stop "BOBJCentralMS"
exit
Similarly to Start services, instead of stop use start and put CentralMS at the top and save it as a batch file.
2. Jobs running when the server goes down will fail, other recurring jobs will wait till the server comes up.
3. Yes, backup File Store & Database.
4. Not sure about the default password for My SQL, you should be able to backup the MySQL database, I have done that once.
5. Backup FileStore & Database.

Similar Messages

  • I want to find any backup and recovery solution for SharePoint server 2013 enterprise

    Dear Expertise,
    Recent set up SharePoint server 2013 Enterprise, and looking for backup and recovery solution, does the built in Windows Backup can handle it, and how?
    KF

    Hi,
    According to your post, my understanding is that you wanted to know some backup and restore solution for SharePoint 2013.
    There are two Technet articles about the backup and restore, you can have a look at them.
    http://technet.microsoft.com/en-us/library/ee428315(v=office.15).aspx
    http://technet.microsoft.com/en-us/library/ee662536(v=office.15).aspx
    You can also use some third-part software tools to achieve the same scenario.
    http://www.avepoint.com/products/sharepoint-infrastructure-management/data-protection/
    http://www.sharepointreviews.com/sharepoint-reviews-articles/sharepoint-administration/254-sharepoint-backup-recovery-evaluation
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • Tools of Backup and Recovery

    can any one tell me what are the tools of backup and recovery in the Oracle database?

    gqmallah wrote:
    Tools used for backup and recovery of an Oracle database are as follows:
    1. Export and Import Utilities
    2. Backup Mode Tablespace Copies
    3. RMAN (Recovery Manager)
    4. Oracle Enterprise Manager and the Database Control
    5. etcPlease note that #4 is not a tool for backup and recovery, but a web-based front end to the real tools listed in #1 through #3
    Edited by: EdStevens on Nov 19, 2009 9:00 AM

  • Error in Oracle Database Backup and Recovery User's Guide 12c Release 1 (12.1) E17630-13

    on page 88 of the "Backup and Recovery User's Guide 12c Release 1 (12.1) E17630-13", the example 5-1 SHOW ALL Command is the same of the "Backup and Recovery User's Guide 11g Release 2 (11.2) E10642-06" on page 82 and that output is related to a Oracle Database 11g version (the 10g doesn't print the first line "RMAN configuration parameters for database with db_unique_name PROD1 are:").

    My test cases here:
    Database administrator workshop: Differences in default RMAN configuration settings between 12c and 11g
    {code}[oracle@vsi08devpom ~]$ export ORACLE_SID=CDB001
    [oracle@vsi08devpom admin]$ sqlplus system/oracle@CDB001
    SQL*Plus: Release 12.1.0.1.0 Production on Thu Sep 26 09:10:50 2013
    Copyright (c) 1982, 2013, Oracle.  All rights reserved.
    Last Successful login time: Tue Jul 16 2013 13:43:48 +02:00
    Connected to:
    Oracle Database 12c Enterprise Edition Release 12.1.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options
    SQL> show con_name
    CON_NAME
    CDB$ROOT
    [oracle@vsi08devpom ~]$ rman target /
    Recovery Manager: Release 12.1.0.1.0 - Production on Thu Sep 26 09:12:42 2013
    Copyright (c) 1982, 2013, Oracle and/or its affiliates.  All rights reserved.
    connected to target database: CDB001 (DBID=4134963396)
    RMAN> show all;
    using target database control file instead of recovery catalog
    RMAN configuration parameters for database with db_unique_name CDB001 are:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
    CONFIGURE BACKUP OPTIMIZATION OFF; # default
    CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
    CONFIGURE CONTROLFILE AUTOBACKUP ON; # default
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
    CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
    CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
    CONFIGURE COMPRESSION ALGORITHM 'BASIC' AS OF RELEASE 'DEFAULT' OPTIMIZE FOR LOAD TRUE ; # default
    CONFIGURE RMAN OUTPUT TO KEEP FOR 7 DAYS; # default
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/opt/app/oracle/product/12.1.0/db_1/dbs/snapcf_CDB001.f'; # default{code}
    {code}
    [oracle@localhost orcl]$ rman target /
    Recovery Manager: Release 11.2.0.2.0 - Production on Wed Sep 25 08:12:17 2013
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    connected to target database: ORCL (DBID=1229390655)
    RMAN> show all;
    using target database control file instead of recovery catalog
    RMAN configuration parameters for database with db_unique_name ORCL are:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
    CONFIGURE BACKUP OPTIMIZATION OFF; # default
    CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
    CONFIGURE CONTROLFILE AUTOBACKUP OFF; # default
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE SBT_TAPE TO '%F'; # default
    CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE SBT_TAPE TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE SBT_TAPE TO 1; # default
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
    CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
    CONFIGURE COMPRESSION ALGORITHM 'BASIC' AS OF RELEASE 'DEFAULT' OPTIMIZE FOR LOAD TRUE ; # default
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/home/oracle/app/oracle/product/11.2.0/dbhome_2/dbs/snapcf_orcl.f'; # default
    {code}

  • Backup and recovery questions

    Hi,
    I am a newbie in Oracle database 11g Release 11.2.0.1.0 and Oracle Linux and I have questions regarding backup and recovery.
    I used the “Schedule Oracle-Suggested Backup” and have it run nightly to back up to local disk. In the Backup Setting, on the Retention Policy, I selected “Retain backup that are necessary for a recovery to any time within the specified number of days (point-in-time recovery) day = 7”
    With the setting above, I checked the “Manage Current Backups” and I have many back sets for SPfiles, controlfiles, datafiles, and archivelogs for the last several days. However, for image copies, I have only one set and it get over write nightly. With the configuration above, is that true that I can only recover to any point in last 24 hours?
    My goal is to be able to recover any “point-in-time” in the past 5 days, should I change my Retention Policy to “Retain at least the specified number of full backups for each datafile” to 5 backups (each full daily backup)?  Please provide some advices. Thanks

    By looking the following, it looks like by default its 24 hours but it depends upon the recovery window you choose.
    Enterprise Manager makes it easy to set up an Oracle-suggested backup strategy for backups to disk that protects your data and provides efficient recoverability to any point in the a recovery window of your choosing. (In the simplest case, examined in this section, this window is 24 hours.) The Oracle-suggested strategy leverages Oracle's incremental backup and incrementally-updated backup features to provide faster backups than whole database backups, and faster recoverability than is possible through applying database changes from the archived log to your datafiles.
    The Oracle-suggested backup strategy is based on creating an image copy of your database. This copy is rolled forward by means of incrementally updated backups. Oracle Enterprise Manager schedules RMAN backups jobs for you to run during the overnight hours.
    For each datafile, the strategy calls for backups as follows:
    At the beginning of day 1 of the strategy (the time the first scheduled job actually runs), an incremental level 0 datafile copy backup. It contains the datafile's contents at the beginning of day 1. In a restore-and-recovery scenario, the redo logs from day 1 can be used to recover to any point during day 1.
    At the beginning of day 2, an incremental level 1 backup is created, containing the blocks changed during day 1. In a restore-and-recovery scenario, this incremental level 1 can be applied to quickly roll forward the level 0 backup to the beginning of day 2, and redo logs can be used to recover to any point during day 2.
    At the beginning of each day n for days 3 and onwards, the level 1 backup from the beginning of day n-1 is applied to the level 0 backup. This brings the datafile copy to its state at the beginning of day n-1. Then, a new level 1 is created, containing the blocks changed during day n-1. In a restore-and-recovery scenario, this incremental level 1 can be applied to the datafile rolled forward on day n-1 to the beginning of day n, and redo logs can be used to recover the database to any point during day n.
    The datafile copies used in the Oracle-suggested backup strategy are tagged with the tag ORA$OEM_LEVEL_0. The level 1 incremental backups for use in this strategy are created for use with datafile copies that are so labelled. You can safely implement other backup strategies without concern for interference from the backups for the Oracle suggested strategy.
    There are also Oracle-suggested strategies that use tape backups along with disk backups, but those are beyond the scope of this chapter.

  • Backup And Recovery on 7.2.3

    i need information on backup and recovery, please help me.(from begin)
    i don't speak english, but don't worry, i read the english.
    Thanks you.
    Oscar Rojano. [email protected]

    i suggest you read the oracle backup and recovery manual sections, or take the course, as this is an extremely important topic.
    a cold backup is done when the database is down. to do a cold backup, first shutdown the database. then backup all datafiles. then restart the database. you can use this type of backup if your business can tolerate the database being down for the time it takes to do the backup.
    a hot backup is done when the database is up and running. the database must be running in archive log mode. then, a hot backup can be performed by putting tablespaces into backup mode, and then backing up the affected datafiles. whenever you do a hot backup, you must be sure to also back up all archive log files from the start of the backup through the end of the backup. if you must restore the backup, and you don't have the archive logs, your database will not start and you will not be able to get it back.
    an export is a backup of selected tables. it is not a complete backup and should not be used if a fast, complete recovery of the entire database is required. it is good if a fast restore of a single table is something you need to do often. be aware of database consistency problems if you are restoring a single table that is updated frequently.
    depending on your requirements, you will use one or more of the three backup solutions above.
    i would recommend that you use the oracle RMAN (recovery manager) tool, in conjunction with an enterprise backup tool from HP, Veritas, or IBM, to be sure your backups are as complete and reliable as possible.

  • LIVE Video Tutorial! How to Prepare for Backup and Recovery - HP Expert Day "How-To" Video Series – Today at 2:00pm PST

    Join us at 2:00pm Pacific time for a LIVE video tutorial of how to prepare for system backup and recovery! The video features HP experts who work with the products every day!
    I am an HP employee.

    #test

  • Windows 8.1 recovery problem and install dell backup and recovery software...

    i had upgrade my windows to 8.1, the problem is that i cant install Dell backup & recovery, when i installing and updating PE I get FACTORY SETUP ERROR 5
    is there any technical help me please...thx
    however...its cant recovery or reset my laptop back to factory image...
    just like this photo...
    recovery cant... refresh also cant...

    Same problem here: windows 8.1, dell backup and recovery 1.6.2.4. During the installation, when the box of "updating PE environment" appears, i get "factory error 5"
    Is there any solution?
    Regards

  • Logical backup and recovery using export/import

    Hi,
    Anyone provide me the clear steps and command to take logical backup and recovery using the import and export method...??.
    im using oracle 9i database and redhat linux server version 4.0.........???.
    thanks,
    vasanth.......

    user12864080 wrote:
    Hi,
    Anyone provide me the clear steps and command to take logical backup and recovery using the import and export method...??.
    im using oracle 9i database and redhat linux server version 4.0.........???.
    thanks,
    vasanth.......Vasant,
    Though you have got links already for using the exp/imp , I would strongly suggest that when you mention backup/recovery, RMAN is the tool that you should be using. Exp/imp is/was never considered as a backup tool. You should read this paper to get the answer of "why rman" ?
    http://www.evdbt.com/TD_Rman.pdf
    Aman....

  • Issue with backup and recovery of WLS

    I have installed WLS 10.3.6 in my 64-bit Linux box, now I am trying to take backup my server. I have a web-application deployed to my WLS, the path to my war file was something like:
    <home_dir>/install_files/myapp.war
    Now to take backup I ran tar command on my current Linux box, now I copied the .tar files to my new Linux box and extracted it. When I am starting my weblogic server it is looking for the war file from the path <home_dir>/install/myapp.war which does not exist on my new machine. So I logged into Admin console of WLS on my new machine and trying to change the path for myapp.war by clikcing update button. But I am getting this error when I change the path:
    weblogic.management.ManagementException: [Deployer:149007]New source location, '/u01/Oracle/install_files/myapp.war', cannot be deployed to configured application, 'myapp'. The application source is at '<home_dir>/myapp.war'. Changing the source location is not allowed for a previously attempted deployment. Try deploying without specifying the source.
    Update operation failed - no deployments changed.
    Please help me how to deploy my files. I'm expecting backup and recovery option should also take care of deployed files but it is not happening in my case, is that wrong?

    1. There is no specific order, but last to go down should be CMS and first to come up should be CMS.
    @echo off
    Stop Business Objects Services
    echo
    net stop "BOBJCrystalReportApplicationServer"
    net stop "BOBJEventServer"
    net stop "BOBJProgramServer"
    net stop "BOBJOutputFileServer"
    net stop "BOBJProcessServer"
    net stop "BOBJInputFileServer"
    net stop "BOBJDestinationServer"
    net stop "BOBJCrystalReportspageserver"
    net stop "BOBJJobServer_Report"
    net stop "BOBJCentralMS"
    exit
    Similarly to Start services, instead of stop use start and put CentralMS at the top and save it as a batch file.
    2. Jobs running when the server goes down will fail, other recurring jobs will wait till the server comes up.
    3. Yes, backup File Store & Database.
    4. Not sure about the default password for My SQL, you should be able to backup the MySQL database, I have done that once.
    5. Backup FileStore & Database.

  • Dv6775us HP Backup and Recovery Manager software corrupted - can't find download

    I am getting an HP error message saying the HP Backup and Recovery Manager software has been corrupted and needs to be updated. For over an hour I have been frustrated trying to find where on this site to download a replacement of what was installed or an upgrade that would repair the problem.
    Can anyone point me to where I can get the software? Thanks.
    HP Pavilion dv6775us
    Vista Home Advanced

    Did you make a recovery disk set or usb recovery media?
    If you did, then you are in luck because  that is the software that can be used to reinstall the Recovery manager.
    The downside is that you will have to do a  factory image recovery to reinstall the software.  A recovery is a destructive process, unlike a Windows stystem restore. A recovery will mean that you  will needto save all of your data externally  to avoid losing it and reinstall all of your programs after the recovery is complete.
    Regards,
    erico
    ****Please click on Accept As Solution if a suggestion solves your problem. It helps others facing the same problem to find a solution easily****
    2015 Microsoft MVP - Windows Experience Consumer

  • Oracle Backup and Recovery 101: where can I get more information?

    Hey everyone. I'm a pretty new Oracle DBA and backup and recovery is something I want to learn as much about as I can.
    I read a blog about "how to be a good DBA" and it really drove home the importance of backups. I know how important they are, I just want to learn more.
    What I mean is, I understand a lot of the high level concepts. It is pretty much straight forward. What I am looking for is something that really goes down in the internals of what is going on behind the scenes so I know what is going on.
    I thought it would be extremely beneficial for me to learn about user backups. Granted, RMAN is the direction my company is heading to, but right now, we are doing user made backups. My thinking is that if I can get a solid grip and understanding of backup and recovery, user made backups, it will make the transition to RMAN much easier. That way, when I am working in RMAN, issue a command to do backup, I know the equivalent of a user backup and what is going on.
    I hope that makes sense.
    Is there a recommended book that goes over backup and recovery in depth?
    I'd like to learn about all the user-made backup commands that can be executed at the command line (example, putting a tablespace in backup).
    Since backups are essential to the life of a DBA, I thought the more I know, the better off I would be.

    You can always find good information from Oracle document site,
    Oracle® Database Backup and Recovery Basics
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14192/toc.htm
    Oracle® Database Backup and Recovery Advanced User's Guide
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/toc.htm
    User managed backup is quite different from RMAN backup. For RMAN backup you need to get familiar with the RMAN command syntax and configure.

  • Need clarification for cold backup and recovery

    Hello Everyone ..
    I have much confusion on cold backup and recovery topic.
    Already i posted a scanario regarding this and i want to know some clarity points to understand.
    1. I had cold backup two days before
    2. I am creating an object *(EMP)* and inserting some records then issue log switch continiously.
    3. Manually i removed all physical files (datafiles , control files , log files , redolog files ...)
    4. then i issued STARTUP FORCE MOUNT;
    5. here i am getting error identifying control file.
    6. cold backup two days before all files restored
    6. then i issue recover database using backup controlfile until cancel;
    7. i am trying to issue select * from emp; i am getting error
    select * from emp
    *ERROR at line 1:
    ORA-00942: table or view does not existMy QUESTION IS
    After cold backup finished , i created emp table ..
    when restoring old back " There is no emp table"
    *- then , can i recover emp table ? - If so , please explain about this ..*
    Note : REF - LINK https://forums.oracle.com/forums/message.jspa?messageID=11056341#11056341
    - Above link says what i did ? . In this thread i am asking concept & logic ..
    please do NOT consider as "*DUPLICATE*"

    When you recover the database using backup controlfile until cancel, you have to apply archived logs. Did you apply all of them?
    If the create command was in the online redo, not yet archived, and you lost the online redo, then you won't have it. This is why you want to have redo multiplexed, it is a critical piece.
    In some recovery scenarios, if you haven't lost the online redo, you need to specify those files as if they were archives.
    It is normally easier to just be sure you have the latest controlfiles and let Oracle figure it out automatically (which is why you want to use online RMAN backups rather than cold backups). But yes, it is important to understand what is going on for different scenarios. I used to have manual standbys, and one of the disaster instruction sets explained to try to get online redo over to the standby to lose as few transactions as possible. That could still be useful for some snapshot hardware type scenarios, assuming the business is too cheap to do proper failovers.

  • BACKUP AND RECOVERY USING RMAN

    제품 : ORACLE SERVER
    작성날짜 : 2003-08-04
    BACKUP AND RECOVERY USING RMAN
    ==============================
    1. Backup Method
    1.1 backing up in noarchivelog mode
    SVRMGR> shutdown;
    SVRMGR> startup mount
    rman을 가동시킨 후 다음을 수행
    run {
    # backup the database to disk
    allocate channel dev1 type disk;
    backup (database format '/oracle/backups/bp_%s_%p'); }
    1.2 Backing up databases and tablespaces in archivelog mode >
    - database 단위 backup script
    run {
    allocate channel dev1 type 'sbt_tape';
    backup skip offline (database format '/oracle/backups/%d_%u');
    release channel dev1;
    - tablespace 단위 backup script
    run {
    allocate channel dev1 type disk;
    backup
    (tablespace system,tbs_1,tbs_2,tbs_3,tbs_4,tbs_5
    format '/oracle/backups/bp_%s_%p');
    - datafile 단위 backup script
    run { 
    allocate channel dev1 type disk;
    backup
    (datafile '?/dbs/t_dbs1.f'
    format '/oracle/backups/%d_%u');
    - control file backup script
    control file은 system datafile의 첫번째 화일을 백업받을 때 백업되며 다음과
    같은 방법으로도 백업받을 수 있다.
    run {
    allocate channel dev1 type 'sbt_tape';
    backup
    (tablespace tbs_5 include current controlfile
    format '%d_%u');
    - archived logs backup script
    NLS_LANG=american
    NLS_DATE_FORMAT='Mon DD YYYY HH24:MI:SS'
    run {
    allocate channel dev1 type 'sbt_tape';
    backup
    (archivelog from time 'Nov 13 1996 20:57:13'
    until time 'Nov 13 1996 21:06:05'
    all
    format '%d_%u');
    run {
    allocate channel dev1 type 'sbt_tape';
    backup
    (archivelog low logseq 288 high logseq 301 thread 1
    all delete input
    format '%d_%u');
    - copying datafiles
    run {
    allocate channel dev1 type disk;
    copy datafile '?/dbs/tbs_01.f/dbs/tbs_01.f' to '?/copy/temp3.f';
    - incremental backups
    새로운 데이타화일이 추가되거나 테이블스페이스가 추가된다면 level 0의 backup을
    반드시 수행한다.
    run {
    allocate channel dev1 type 'sbt_tape';
    backup incremental level 0
    (database
    format '%d_%u');
    run {
    allocate channel dev1 type 'sbt_tape';
    backup incremental level 1
    (database
    format '&d_%u');
    2. Recovery Method
    - tablespace recovery
    run { 
    allocate channel dev1 type disk;
    allocate channel dev2 type 'sbt_tape';
    sql "alter tablespace tbs_1 offline immediate" ;
    set newname for datafile 'disk7/oracle/tbs11.f'
    to 'disk9/oracle/tbs11.f' ;
    restore (tablespace tbs_1) ;
    switch datafile all ;
    recover tablespace tbs_1 ;
    sql "alter tablespace tbs_1 online" ;
    release channel dev1;
    release channel dev2;
    - point-in-time recovery
    TBS_1 테이블스페이스는 두 개의 데이타 화일 소유. TEMP1은 백업이 없으나 user
    data는 없는 temporary segemnt만 가지고 있음.
    NLS_LANG=american
    NLS_DATE_FORMAT='Mon DD YYYY HH24:MI:SS'
    SVRMGR> shutdown abort;
    SVRMGR> startup nomount;
    run { 
    # recover database until 3pm after restoring tbs_1 to a new location
    allocate channel dev1 type disk;
    allocate channel dev2 type 'sbt_tape';
    set until time 'Nov 15 1996 15:00:00'
    set newname for datafile '/vobs/oracle/dbs/tbs_11.f'
    to '?/dbs/temp1.f' ;
    set newname for datafile '?/dbs/tbs_12.f'
    to '?/dbs/temp2.f' ;
    restore controlfile to '/vobs/oracle/dbs/cf1.f' ;
    replicate controlfile from '/vobs/oracle/dbs/cf1.f';
    sql "alter database mount" ;
    restore database skip tablespace temp1;
    switch datafile all;
    recover database skip tablespace temp1;
    sql "alter database open resetlogs";
    sql "drop tablespace temp1";
    sql "create tablespace temp1 datafile '/vobs/oracle/dbs/temp1.f' size 10M";
    release channel dev1;
    release channel dev2;
    - 전체 데이타베이스를 복구하려 할때
    current redologfile이 존재할때 다음과 같은 작업으로 전체 데이타베이스를 복구할
    수 있다.
    replace script restore_recover_db_cf {
    execute script restore_cf;
    sql 'alter database mount';
    execute script restore_db;
    execute script recover_db;
    sql 'alter database open resetlogs';
    replace script alloc_1_disk {
    allocate channel d1 type disk;
    setlimit channel d1 kbytes 2097150 maxopenfiles 32 readrate 200;
    replace script rel_1_disk {
    release channel d1;
    replace script restore_cf {
    execute script alloc_1_disk;
    restore
    controlfile to '/private/db_files/twih/dbf/ctrl_twih_1.ctl';
    replicate
    controlfile from '/private/db_files/twih/dbf/ctrl_twih_1.ctl';
    execute script rel_1_disk;
    replace script restore_db {
    execute script alloc_1_disk;
    restore
    (database);
    execute script rel_1_disk;
    replace script recover_db {
    execute script alloc_1_disk;
    recover
    database;
    execute script rel_1_disk;
    Reference Documents
    <Note:104796.1>

    Hi Alok,
    why there is a need for standby here? you mean to say standby db?
    what i exactly need is , whether i will be making use of archivelogs which are all archived during that backup period (in mount stage) after some days, if i face any problem with the PRODUCTION Database..

  • Making data in tables online and offline - Backup and Recovery

    Hi All,
    I'm working on a project where the functionality is similar to 'Backup and Recovery' for database tables.
    Lets say we have a set of 6 tables T1, T2.... T6. They do have relationship between them. The tables in questions are simple standard tables, which are not table partitioned.
    - I want remove the records from live tables based on user entered date ranges and store it in some offline medium.
    - I might want make the data online again from the offline medium; Application should be able use that data without any modifications.
    - Different offline mediums can be
    a) Flat file
    b) Different table space
    c) Any other secondary medium (like XML, tape..Etc,)
    The total number of records will run in millions.
    The proposed solution should consider,
    1. Performance - Java solutions not feasible. Anything in SQL, PL/SQL or runs in DB itself(tools) are OK.
    2. Reliability - Should be highly reliable, Data corruption simply unacceptable.
    3. Security - Users should not be able to make out of the file.
    Few options include:
    1. Use partition
    2. Use SQL*Loader
    3. Export and import of tables.
    My main targets:
    1. Reduce space.
    2. Increase performance for queries.
    Please pass on your suggestions, any help is highly appreciated!
    Thanks In Advance!

    Few points to note:
    1. I agree partition would be right solution, but as I mentioned in my earlier statement, 'The tables in questions are simple standard tables, which are not table partitioned.'. The tables right now are not partitioned and I believe we cannot add/modify partitions, if the table were not created with the partition option. One work around is to build a partitioned table and copying all the properties(indexes,rows,constraints) from the existing non-partitioned table. But I suspect this is highly riskier and we can't afford to it.
    2. I need to support Oracle database versions starting from 8.0.6.
    3. Flat file is mandatory, others are optional. I can restrict our discussion just for a file.
    4. Considering the above points, the only option I could think of is I can move the records from the table to flat file and remove from tables. When required rollback the file data to the table and application would be able to use it. For export/import few options are: SQL*loader, exp/imp utilities, PL/SQL file UTL packages
    Thanks In Advance

Maybe you are looking for

  • Video With Incorrect Aspect Ratio

    I am currently using EyeTv and exporting the video to itunes using the apple tv preset since I want to use itunes as my video library manager. When I watch it in itunes it appears that it is trying to fit a 16:9 aspect ratio onto the 4:3 monitor, but

  • How to find the maximum no of users logged in Database

    Hi All, How to find the maximum number of users logged in database at particular time? I can find currently logged users or umber of sessions running on Database but I wanted to find at what time maximum number of users or sessions connected to the D

  • Audigy and ddts-

    After i opened the box today and hooked up the ddts to my promedia 5. ultras....i was very happy. I am running my ps2 into it with a toslink, and it sounds great. I have a audigy regular (mp3 or gamer), and the only setup I can get to work with it is

  • To install xi 3.0

    hi experts, i am planning to install xi 3.0 , so that j2sdk 1.4.217_ will work on that? or which version i have to use , give me some appropriate suggestions thank you

  • Lookup from Lookups

    Hi all, I've several reference data tables and one of them is composed from several IDs from the others. To get data from this table i've to make a Lookup to the other tables and with the values from this lookups make a final lookup to this last tabl