Backup Oracle Database whilst online

Guys looking for some help, I have an Oracle database that must run 24hours a day but I need to be able to back this database up daily, from what I understand I have to make the database run in archive log mode to be able to perform a hot backup.
I have found out that currently my database is in noarchive log mode
Can someone help me with the commands to put the database is achivelog mode
Then can you help me with the command to backup the database using RMAN I have read some documentation do I need to just issue the backup database command or do I need to backup the archive logs files as well ?

Do you want to teach me lesson ? I'm working with Oracle database since 1988, and I'm using RMAN since version 8.0 (15 years ago, or so).
And please read the link I posted above.
1) ... At lease two redo logs destination is recommended so that one redolog destination is keep working while other is filled up or vice versa.
And you think I don't know that ? And that's not multiplexing.
2) Catalog database is optional but it is recommended.
It's absolutely not needed, and I consider it just and overhead (another database to manage and to synchronize).
3) You need to setup archivelog retention policy so that it cleans up from LOG destination after certain period of time.
You use DELETE INPUT option in your script, but it looks like you don't know what it means.
Please follow oracle documentation for best practice .
Again, are you teaching me lesson ? Oracle documentation is my bible.
Backup is very important for a DBA so you need to set up precisely so that you can recover the database during disaster
Backup is very important for a DBA ? What a news !! About disaster recovery, at your #1 you said "redo logs are very important to restore database" : or we mean something different for "disaster recovery", or you are totally wrong.

Similar Messages

  • Have any GUI tools to backup oracle database(s) ?

    Hi,
    I want to know is any oracle's tool or third party tools to backuping oracle database?
    Thank you!
    Francis SZE

    Devotee wrote:
    Hi,
    I want to know is any oracle's tool or third party tools to backuping oracle database?
    Thank you!
    Francis SZE
    Use RMAN through enterprise manager
    Cheers

  • How to backup Oracle Database Single Instance using RMAN

    Folks,
    Hello. I am using Oracle Database Server 11gR1 with Operating System Oracle Linux 5.10.
    I understand how to backup database instance in SQL Server with Windows. But don't really understand how to backup database instance in Oracle with Linux.
    I have done Cold backup and Hot backup for the database instance HRCS90 but both get the same error message.
    Cold backup is below:
    SQL> startup
    ORACLE instance started.
    Total System Global Area  538677248 bytes
    Fixed Size                  2146024 bytes
    Variable Size             528482584 bytes
    Database Buffers            4194304 bytes
    Redo Buffers                3854336 bytes
    Database mounted.
    Database opened.
    SQL> shutdown immediate
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    RMAN> backup database;
    Starting backup at 25-NOV-13
    using target database control file instead of recovery catalog
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of backup command at 11/25/2013 14:26:52
    RMAN-06171: not connected to target database
    RMAN> backup HRCS90
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00558: error encountered while parsing input commands
    RMAN-01009: syntax error: found "identifier": expecting one of: "archivelog, auxiliary, as, backup, backupset, blocks, channel, check, copy, copies, controlfilecopy, cumulative, current, database, datafile, datafilecopy, device, diskratio, db_recovery_file_dest, db_file_name_convert, duration, filesperset, for, format, from, full, force, file, incremental, keep, (, maxsetsize, nochecksum, noexclude, nokeep, not, proxy, pool, reuse, recovery, section, skip, spfile, skip readonly, setsize, tablespace, tag, to, validate"
    RMAN-01008: the bad identifier was: HRCS90
    RMAN-01007: at line 1 column 8 file: standard input
    RMAN> backup database HRCS90
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00558: error encountered while parsing input commands
    RMAN-01009: syntax error: found "identifier": expecting one of: "archivelog, auxiliary, backup, backupset, channel, copy, controlfilecopy, current, database, datafile, datafilecopy, delete, diskratio, db_recovery_file_dest, filesperset, format, from, force, file, include, keep, (, maxsetsize, noexclude, nokeep, not, pool, plus, reuse, recovery, section, ;, skip, spfile, skip readonly, setsize, tablespace, tag, to"
    RMAN-01008: the bad identifier was: HRCS90
    RMAN-01007: at line 1 column 17 file: standard input
    While the database instance HRCS90 is startup, I do hot backup using the same commands and get the same error message with above cold backup.
    My question is:
    Can any folk tell me the specific steps (command by command) to backup a single database instance in Oracle using RMAN ?
    Thanks.

    Folks,
    Hello. Thanks a lot for replying. My database instance named HRCS90 is going to be backed up. My backup directory is /backup_Database_Instance_HRCS90.
    If database in open state, we must back up in archive log. If database in mount state but not open, we can back up in noarchive log.
    I have tried to back up HRCS90 in archive and noarchive log when database in mount state but not open as below:
    SQL>startup mount;
    SQL>exit
    [user@linux bin]$./rman
    RMAN>connect target;
    RMAN> CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/backup_Database_Instance_HRCS90/full_%u_%s_%p';
    new RMAN configuration parameters:
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT   '/backup_Database_Instance_HRCS90/full_%u_%s_%p';
    new RMAN configuration parameters are successfully stored
    released channel: ORA_DISK_1
    RMAN> CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 360 DAYS;
    new RMAN configuration parameters:
    CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 360 DAYS;
    new RMAN configuration parameters are successfully stored
    RMAN> backup as backupset database plus archivelog;
    Starting backup at 01-DEC-13
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=44 device type=DISK
    specification does not match any archived log in the recovery catalog
    backup cancelled because all files were skipped
    Finished backup at 01-DEC-13
    Starting backup at 01-DEC-13
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting full datafile backup set
    channel ORA_DISK_1: specifying datafile(s) in backup set
    input datafile file number=00001 name=/u01/oradata/HRCS90/system01.dbf
    input datafile file number=00090 name=/u01/oradata/HRCS90/psimage.dbf
    input datafile file number=00060 name=/u01/oradata/HRCS90/gpapp.dbf
    input datafile file number=00119 name=/u01/oradata/HRCS90/tlwork.dbf
    input datafile file number=00102 name=/u01/oradata/HRCS90/pttlrg.dbf
    input datafile file number=00054 name=/u01/oradata/HRCS90/faapp.dbf
    input datafile file number=00110 name=/u01/oradata/HRCS90/saapp.dbf
    input datafile file number=00101 name=/u01/oradata/HRCS90/pttbl.dbf
    input datafile file number=00002 name=/u01/oradata/HRCS90/sysaux01.dbf
    input datafile file number=00106 name=/u01/oradata/HRCS90/py0lrg.dbf
    input datafile file number=00004 name=/u01/oradata/HRCS90/psdefault.dbf
    input datafile file number=00117 name=/u01/oradata/HRCS90/tlapp.dbf
    input datafile file number=00007 name=/u01/oradata/HRCS90/adapp.dbf
    input datafile file number=00082 name=/u01/oradata/HRCS90/paapp.dbf
    input datafile file number=00074 name=/u01/oradata/HRCS90/hrsapp.dbf
    input datafile file number=00092 name=/u01/oradata/HRCS90/ptamsg.dbf
    input datafile file number=00056 name=/u01/oradata/HRCS90/fgapp.dbf
    input datafile file number=00114 name=/u01/oradata/HRCS90/stapp.dbf
    input datafile file number=00005 name=/u01/oradata/HRCS90/aaapp.dbf
    input datafile file number=00118 name=/u01/oradata/HRCS90/tllarge.dbf
    input datafile file number=00009 name=/u01/oradata/HRCS90/avapp.dbf
    input datafile file number=00065 name=/u01/oradata/HRCS90/hrapp2.dbf
    input datafile file number=00078 name=/u01/oradata/HRCS90/hrwork.dbf
    input datafile file number=00116 name=/u01/oradata/HRCS90/stwork.dbf
    input datafile file number=00077 name=/u01/oradata/HRCS90/hrswork.dbf
    input datafile file number=00115 name=/u01/oradata/HRCS90/stlarge.dbf
    input datafile file number=00049 name=/u01/oradata/HRCS90/epapp.dbf
    input datafile file number=00098 name=/u01/oradata/HRCS90/ptprc.dbf
    input datafile file number=00037 name=/u01/oradata/HRCS90/eoewapp.dbf
    input datafile file number=00032 name=/u01/oradata/HRCS90/eoecapp.dbf
    input datafile file number=00086 name=/u01/oradata/HRCS90/piapp.dbf
    input datafile file number=00099 name=/u01/oradata/HRCS90/ptprjwk.dbf
    input datafile file number=00019 name=/u01/oradata/HRCS90/cularge.dbf
    input datafile file number=00035 name=/u01/oradata/HRCS90/eoeiapp.dbf
    input datafile file number=00045 name=/u01/oradata/HRCS90/eoppapp.dbf
    input datafile file number=00076 name=/u01/oradata/HRCS90/hrslarge.dbf
    input datafile file number=00044 name=/u01/oradata/HRCS90/eoltapp.dbf
    input datafile file number=00094 name=/u01/oradata/HRCS90/ptappe.dbf
    input datafile file number=00050 name=/u01/oradata/HRCS90/eplarge.dbf
    input datafile file number=00084 name=/u01/oradata/HRCS90/pcapp.dbf
    input datafile file number=00111 name=/u01/oradata/HRCS90/sacapp.dbf
    input datafile file number=00100 name=/u01/oradata/HRCS90/ptrpts.dbf
    input datafile file number=00023 name=/u01/oradata/HRCS90/eobfapp.dbf
    input datafile file number=00096 name=/u01/oradata/HRCS90/ptcmstar.dbf
    input datafile file number=00108 name=/u01/oradata/HRCS90/pylarge.dbf
    input datafile file number=00016 name=/u01/oradata/HRCS90/cularg1.dbf
    input datafile file number=00018 name=/u01/oradata/HRCS90/cularg3.dbf
    input datafile file number=00025 name=/u01/oradata/HRCS90/eocmapp.dbf
    input datafile file number=00027 name=/u01/oradata/HRCS90/eocmwrk.dbf
    input datafile file number=00029 name=/u01/oradata/HRCS90/eoculrg.dbf
    input datafile file number=00033 name=/u01/oradata/HRCS90/eoeclrg.dbf
    input datafile file number=00036 name=/u01/oradata/HRCS90/eoeilrg.dbf
    input datafile file number=00039 name=/u01/oradata/HRCS90/eoewwrk.dbf
    input datafile file number=00041 name=/u01/oradata/HRCS90/eoiulrg.dbf
    input datafile file number=00046 name=/u01/oradata/HRCS90/eopplrg.dbf
    input datafile file number=00048 name=/u01/oradata/HRCS90/eotplrg.dbf
    input datafile file number=00053 name=/u01/oradata/HRCS90/erwork.dbf
    input datafile file number=00061 name=/u01/oradata/HRCS90/gpdeapp.dbf
    input datafile file number=00072 name=/u01/oradata/HRCS90/hrlarg1.dbf
    input datafile file number=00079 name=/u01/oradata/HRCS90/htapp.dbf
    input datafile file number=00087 name=/u01/oradata/HRCS90/pilarge.dbf
    input datafile file number=00120 name=/u01/oradata/HRCS90/waapp.dbf
    channel ORA_DISK_1: starting piece 1 at 01-DEC-13
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of backup plus archivelog command at 12/01/2013 17:52:45
    ORA-19504: failed to create file "/backup_Database_Instance_HRCS90/full_0boqei2c_11_1"
    ORA-27040: file create error, unable to create file
    Linux-x86_64 Error: 13: Permission denied
    RMAN>
    RMAN>
    RMAN>
    RMAN>
    RMAN> backup as backupset database;
    Starting backup at 01-DEC-13
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting full datafile backup set
    channel ORA_DISK_1: specifying datafile(s) in backup set
    input datafile file number=00001 name=/u01/oradata/HRCS90/system01.dbf
    input datafile file number=00090 name=/u01/oradata/HRCS90/psimage.dbf
    input datafile file number=00060 name=/u01/oradata/HRCS90/gpapp.dbf
    input datafile file number=00119 name=/u01/oradata/HRCS90/tlwork.dbf
    input datafile file number=00102 name=/u01/oradata/HRCS90/pttlrg.dbf
    input datafile file number=00054 name=/u01/oradata/HRCS90/faapp.dbf
    input datafile file number=00110 name=/u01/oradata/HRCS90/saapp.dbf
    input datafile file number=00101 name=/u01/oradata/HRCS90/pttbl.dbf
    input datafile file number=00002 name=/u01/oradata/HRCS90/sysaux01.dbf
    input datafile file number=00106 name=/u01/oradata/HRCS90/py0lrg.dbf
    input datafile file number=00004 name=/u01/oradata/HRCS90/psdefault.dbf
    input datafile file number=00117 name=/u01/oradata/HRCS90/tlapp.dbf
    input datafile file number=00007 name=/u01/oradata/HRCS90/adapp.dbf
    input datafile file number=00082 name=/u01/oradata/HRCS90/paapp.dbf
    input datafile file number=00074 name=/u01/oradata/HRCS90/hrsapp.dbf
    input datafile file number=00092 name=/u01/oradata/HRCS90/ptamsg.dbf
    input datafile file number=00056 name=/u01/oradata/HRCS90/fgapp.dbf
    input datafile file number=00114 name=/u01/oradata/HRCS90/stapp.dbf
    input datafile file number=00005 name=/u01/oradata/HRCS90/aaapp.dbf
    input datafile file number=00118 name=/u01/oradata/HRCS90/tllarge.dbf
    input datafile file number=00009 name=/u01/oradata/HRCS90/avapp.dbf
    input datafile file number=00065 name=/u01/oradata/HRCS90/hrapp2.dbf
    input datafile file number=00078 name=/u01/oradata/HRCS90/hrwork.dbf
    input datafile file number=00116 name=/u01/oradata/HRCS90/stwork.dbf
    input datafile file number=00077 name=/u01/oradata/HRCS90/hrswork.dbf
    input datafile file number=00115 name=/u01/oradata/HRCS90/stlarge.dbf
    input datafile file number=00049 name=/u01/oradata/HRCS90/epapp.dbf
    input datafile file number=00098 name=/u01/oradata/HRCS90/ptprc.dbf
    input datafile file number=00037 name=/u01/oradata/HRCS90/eoewapp.dbf
    input datafile file number=00032 name=/u01/oradata/HRCS90/eoecapp.dbf
    input datafile file number=00086 name=/u01/oradata/HRCS90/piapp.dbf
    input datafile file number=00099 name=/u01/oradata/HRCS90/ptprjwk.dbf
    input datafile file number=00019 name=/u01/oradata/HRCS90/cularge.dbf
    input datafile file number=00035 name=/u01/oradata/HRCS90/eoeiapp.dbf
    input datafile file number=00045 name=/u01/oradata/HRCS90/eoppapp.dbf
    input datafile file number=00076 name=/u01/oradata/HRCS90/hrslarge.dbf
    input datafile file number=00044 name=/u01/oradata/HRCS90/eoltapp.dbf
    input datafile file number=00094 name=/u01/oradata/HRCS90/ptappe.dbf
    input datafile file number=00050 name=/u01/oradata/HRCS90/eplarge.dbf
    input datafile file number=00084 name=/u01/oradata/HRCS90/pcapp.dbf
    input datafile file number=00111 name=/u01/oradata/HRCS90/sacapp.dbf
    input datafile file number=00100 name=/u01/oradata/HRCS90/ptrpts.dbf
    input datafile file number=00023 name=/u01/oradata/HRCS90/eobfapp.dbf
    input datafile file number=00096 name=/u01/oradata/HRCS90/ptcmstar.dbf
    input datafile file number=00108 name=/u01/oradata/HRCS90/pylarge.dbf
    input datafile file number=00016 name=/u01/oradata/HRCS90/cularg1.dbf
    input datafile file number=00018 name=/u01/oradata/HRCS90/cularg3.dbf
    input datafile file number=00025 name=/u01/oradata/HRCS90/eocmapp.dbf
    input datafile file number=00027 name=/u01/oradata/HRCS90/eocmwrk.dbf
    input datafile file number=00029 name=/u01/oradata/HRCS90/eoculrg.dbf
    input datafile file number=00033 name=/u01/oradata/HRCS90/eoeclrg.dbf
    input datafile file number=00036 name=/u01/oradata/HRCS90/eoeilrg.dbf
    input datafile file number=00039 name=/u01/oradata/HRCS90/eoewwrk.dbf
    input datafile file number=00041 name=/u01/oradata/HRCS90/eoiulrg.dbf
    input datafile file number=00046 name=/u01/oradata/HRCS90/eopplrg.dbf
    input datafile file number=00048 name=/u01/oradata/HRCS90/eotplrg.dbf
    input datafile file number=00053 name=/u01/oradata/HRCS90/erwork.dbf
    input datafile file number=00061 name=/u01/oradata/HRCS90/gpdeapp.dbf
    input datafile file number=00072 name=/u01/oradata/HRCS90/hrlarg1.dbf
    input datafile file number=00079 name=/u01/oradata/HRCS90/htapp.dbf
    input datafile file number=00087 name=/u01/oradata/HRCS90/pilarge.dbf
    input datafile file number=00120 name=/u01/oradata/HRCS90/waapp.dbf
    channel ORA_DISK_1: starting piece 1 at 01-DEC-13
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 12/01/2013 17:56:51
    ORA-19504: failed to create file "/backup_Database_Instance_HRCS90/full_0coqeia5_12_1"
    ORA-27040: file create error, unable to create file
    Linux-x86_64 Error: 13: Permission denied
    As we see the above last 2 commands, either archive or noarchive, I get the same error:
    Archive: ORA-19504: "failed to create file /backup_Database_Instance_HRCS90/full_0boqei2c_11_1"
    Noarchive: ORA-19504: "failed to create file /backup_Database_Instance_HRCS90/full_0coqeia5_12_1" 
    My question is:
    What is the file "full_0boqei2c_11_1" or "full_0coqeia5_12_1" ?  How to solve the above error ?
    Thanks.

  • ShadowProtect to backup Oracle Databases

    Hi to all
    I would like to hear from anyone if you are using ShadowProtect to backup your Oracle databases.
    What are your experiences and the pros and cons in using ShadowProtect as the one and only backup/recovery tools for Oracle databases?
    Can the potential of ShadowProtect replaces the commonly use Oracle backup/recovery tools?
    The reason why I raise this question is because my boss has the idea that ShadowProtect is THE best backup/recovery tools. Personally I don't think so, because there can be cases where we only need to recover the database and not the whole OS. Thus need to hear more from you guys.
    Thanks.
    Edited by: moslee on Mar 22, 2013 2:24 AM

    Hey Moslee,
    You should definitely be testing your Oracle database recovery plan quarterly. If you're not even testing it annually that would be what really scares me the most. Testing should show you what you can and cannot get out of your backup and recovery software. Everything else being equal, please please please test your backup and recovery plan and do it often.
    As for ShadowProtect, one of the nice things about this backup solution is that it's an image-based backup which means that it will quiesce the Oracle database and transactions to get a good snapshot of your database. Then (because it's an image-based solution) you can recover the Oracle DB, OS, installed applications, running services, data, and etc to that specific recovery point. Another nice thing is that ShadowProtect can quickly virtualize a backup image as a VM using Oracle's VirtualBox, MS Hyper-V, VMware, Citrix ZenServer and/or RedHat's KVM. Over all ShadowProtect's a pretty powerful and easy to use Windows backup tool.
    Oh, and ShadowProtect's integrated with Oracle's VirtualBox technology (it's called ShadowProtect VirtualBoot) which makes it SUPER easy to spin up a backup image as a VM and verify (read "TEST" in capital letters) whether you've got a solid backup of your Oracle DB. I'd hate to find out the day after the excrement/fan fiasco that my backups were unusable. Please test! (I'm cringing in my chair here.) Then let us know whether you agree with your boss.
    Cheers!

  • Backup Oracle Database On 24x7 System

    Dear Kamran
    First sorry my English.
    I am a beginner of oracle 10g and have a problem please help (Consult) me. If you are accept it
    My problem is a :
    Two oracle server with RAC (Clustering) and one external oracle server (BACKUP ORACLE SERVER) on the this network without RAC (Clustering) on the RHEL 4.7
    How to synchronize third oracle server’s database with RAC oracle servers. Becouse of if RAC Oracle servers down or technical corruption change corrupted server.
    Or other flexible solution tell me (how to do it)

    you can make the third oracle server as a physical standby database to RAC setup. for more information, read oracle doc "Dataguard basics and administration" from http://tahiti.oracle.com
    as other option, you can schedule a refresh job from RAC setup to third database server.

  • Alert mail configuration for backup / Oracle database

    Hello All,
    I am trying to configure alert mail for successful backup in the system and i have did with most of the configurations. The steps are as follows:
    Configured mail in 000 client and also assigned mail id for a user
    Configured the method CCMS_OnAlert_Email_V2 (set the parameters and its auto reaction method)
    Configured the nodes CCMS Monitor templates -> Database -> Oracle -> Backup / restore -> backup status -> last brbackup run and last successful complete backup with the method CCMS_OnAlert_Email_V2 as mentioned in the SAP note 176492
    And after these configurations we receive the mail successfuly. However there are few issues which i would like to get corrected / clarified. Whenever a backup is started i am receiving a mail stating that brbackup has been started and whenever a backup fails i am receving mail stating brbackup is failed with some return code. But i am not receiving any mail after successful completion of backup. Am i missing any configuraions here? Is this the standard one and other configurations required for mail on successful backup? Please suggest
    Regards,
    Anandh

    When should a message trigger an alert?
    1.Always (at every message): The Alert Monitor triggers a alert with the corresponding message value for every message.
    2.Message value (color) has changed: The Alert Monitor only triggers an alert if the alert color of a reported message changes. For example, an alert is triggered if a red message follows a yellow message.
    3.The message sent has changed: The Alert Monitor only triggers an alert if the color or severity of a message changes or if a new message is sent.
    4.Never: The Alert Monitor does not trigger any alerts.
    As your requirement, I would suggest it to be set to "Always"
    Please let us know how it works.
    Regards
    Puneeth

  • Backup  oracle database - pre post steps

    I want to do cold backup of 10g database. Do I need to shutdown Oracle Application server and listeners before doing cold backup and start them again after backup done.

    for taking cold backup then its better to shutdown the apps server as well
    database.I would recommend to you whenver you are going to take cold
    backup for db then its better for you to take apps cold backup too if
    the cold backup goes after you applied any patch ,within E-Biz tech the
    patch activity affect apps files too.
    Khurram

  • How to backup oracle database in C# application

    Hi,
    Could anyone please tell me about a full script that will backup my Oracle XE "Express" database. I have user schema and it has tables with data and I want to backup them. I hope someone tell me how. I want to do it inside a button so it can be easy for me to just press on button and it will continue its job. Thank you very much for your help.
    Any method is appreciated from you. So I just need the way that I can do it. In Oracle forms I used to use exp but in C# I don't how.

    ok
    Even this is ODBC forum, you could check for $ORACLE_HOME/bin/Backup.bat ... analize that script. You could call it from c# with Process Class, and process.startinfo.
    Regards
    Florin

  • OS crush without backup Oracle Database (DB 9i)

    Dear All Experts,
    My Oracle DB is installed on Window Enterprise 2003R2, all installation files of DB keep in another partition (driver D:) beside OS partition (C:).
    Now, My OS crushes, I want to reinstall a new OS and recover all DB files back. is it possible?
    Please kindly give advice for this.
    Thanks and regards,
    Heng

    Yes, you should be able to recover your database.
    You need to reinstall the Oracle 9i software to the same patch level as it was earlier. When doing the install, choose to not create the database -- because you already have one. After the installation (and applying patches), use ORADIM to create the OracleService.
    You need to restore the database parameter file (initSID.ora or spfileSID.ora) from a backup. The entry for control_files would reference the existing control files. Thereafter, Oracle would read the list of datafiles from the controlfiles.
    Hemant K Chitale

  • How to backup an oracle database?

    I am running a oracle server on a windows box.
    using the oracle 92 management console and developer tools.
    Can someone instruct me on how to create a "job" that will backup my oracle databases on a daily basis?
    I am more used to MS-SQL and have no clue how to do it in Oracle.
    Thanks

    Hi,
    this is my weekly script to backup oracle database.
    i run it from cron so you can schedule it in win but you must do same change there
    #!/bin/bash
    . /etc/profile.d/oracle.sh
    TMPDIR=/opt/app/oracle/tmp
    $ORACLE_HOME/bin/rman target / nocatalog log=$TMPDIR/backup_full_`date +'%Y%m%d_%H%M'`.log >/dev/null 2>&1 <<EOF
    set echo on;
    show all;
    crosscheck archivelog all;
    crosscheck backup ;
    delete noprompt expired backup device type disk;
    backup device type disk database tag='FULL_BACKUP';
    backup device type disk archivelog all not backed up;
    delete noprompt obsolete device type disk;
    exit;
    EOF
    exit

  • Any Simplifiede Script to Backup Oracle XE Database

    I need a script to backup XE Database
    i.e that script should put all the resultant backup filse at a specified location
    Similarly Restore script which should restore from those files.

    Devotee wrote:
    Hi,
    I want to know is any oracle's tool or third party tools to backuping oracle database?
    Thank you!
    Francis SZE
    Use RMAN through enterprise manager
    Cheers

  • How to configure backup parallel in SAP with oracle database?

    Dear SAP,
    We need your suggestion on oracle database backup parallel using brbackup, our SAP system run on:
    OS: UNIX - SUN Solaris SPARC 10
    SAP: ECC 6.0 SR3
    Database: Oracle 10.2.0.4
    Our production database are growing rapidly, estimate growing is 2GB/days. Right now we backup our Production using one tape that estimated time to online backup is 4-5hours.
    In there future, if we stayed this configuration. It will take long time to backup and restore it's not applicable. That's why we are planning to add more tapes during backup (4 tape parallel).
    I read from help.sap, that we can configure this on $ORACLE_HOME/dbs/init<SID>.sap. in parameter:
    compress = harware
    backup_dev_type = tape
    tape_address = (tape1, tape2, tape3, tape4)
    tape_address_rew = (tape1, tape2, tape3, tape4)
    http://help.sap.com/saphelp_nw04/helpdata/en/88/a2a041a5d4af4db168992639d65d3b/frameset.htm
    My question,
    If we want to backup parallel using 4 tapes, is this configuration that we need to do (init<SID>.sap) from sap side (DB13)?
    Thanks and Best Regards,
    Widi

    Dear Mark,
    Thanks for your help. actually I have one more question:
    How do I restore my backup form this 4 tapes, if I'm using parallel backup?
    Will the command same like I restore form 1 tape:
    example:
    brrestore u2013b beczqlnk.ant u2013m full
    brrestore u2013a 5371-5372=/oracle/<SID>/oraarch/
    Below are the paramter that I will configure:
    - tape_address = /dev/rmt/0cbn
    - compress = hardware
    - backup_dev_type = tape
    - exec_parallel = 4
    - tape_size = 1600000
    - tape_address = (dev/rmt/0mn, /dev/rmt/1mn, ..)
    - tape_address_rew = (dev/rmt/0m, /dev/rmt/1m, ..)
    Appreciate you help and suggestion on this.
    Dear Venkat,
    thanks for your suggestion

  • How to restore an Oracle XE Database without online logs and SPFILE?

    Hi there,
    My laptop was crashed last week and I was able to get only current datafiles without two online logs files and SPFILEXE.ORA from my old hard drive. I've installed with the same version of Oracle Database 10g Express Edition Release 10.2.0.1.0* software on Windows XP Pro.
    I have DATAFILEs from my old db instance XE which have my thesis data.
    *'C:\ORACLEXE\ORADATA\XE\SYSTEM.DBF',*
    *'C:\ORACLEXE\ORADATA\XE\UNDO.DBF',*
    *'C:\ORACLEXE\ORADATA\XE\SYSAUX.DBF',*
    *'C:\ORACLEXE\ORADATA\XE\USERS.DBF',*
    *'C:\ORACLEXE\ORADATA\XE\TEMP.DBF',*
    *'C:\ORACLEXE\ORADATA\XE\USERS.DBF'*
    Even though I am not 100% percent sure about If I've set the NOARCHIVELOG mode previously but neither I have the redo log files are backed up i.e. two redo log files are in C:\oraclexe\app\oracle\flash_recovery_area\XE\ONLINELOG nor have SPFILE<<SID>>.ORA. Thus, this is not really typical "+Cold backup+" when you stop the database and zip up all those 9 files (in NOARCHIVELOG mode).
    I've tried the RMAN utility but it seems it requires redo log files too.
    I wonder if I can restore somehow by copying all 6 datafiles to the same folder 'C:\ORACLEXE\ORADATA\XE\' or not. If so, how can I do so?
    Will appreciate any advice.
    Thanks in advance,

    Recovering an SPfile is trivial if you have the alert log, locate the last startup- there will be a section with all the non-default parameters. Copy/paste those items to create a pfile, use it for a startup mount, check the catalog views to see if recovery is needed. Without the online redo logs it will probably need an incomplete recovery.
    So in the old alertlog, [drive:]\oraclexe\app\oracle\admin\xe\bdump\alert_xe.log, grab the lines after "System parameters with non-default values:" its maybe 15 or 20 items for an "out of the box" XE install, save those to a file someplace like [drive:]\oraclexe\app\oracle\admin\xe\init\initXE.ora, fire up sqlplus and connect as sysdba, startup with the pfile ...
    $ sqlplus /nolog
    > connect /as sysdba;
    startup mount pfile='[drive:]\oraclexe\app\oracle\admin\xe\init\initXE.ora';
    If the database makes it to mount mode, check the recovery view ...
    select * from v$recover_file;
    If that view is clean, open 'er up should be good to go ... and create a new spfile:
    alter database open;
    create spfile from pfile='[drive:]\oraclexe\app\oracle\admin\xe\init\initXE.ora';
    If the instance was in archivelog mode and the archive destination wasn't specified it uses flash_recovery_area for storing archivelog files, check if there are any files in the flash_recovery_area/XE/ARCHIVELOG/[yyyy-mm-dd] (?) directories. Or when connected as sysdba a command will tell you if archivelog mode is enabled:
    archive log list;

  • What commands used for taking backup of oracle database using BR*Tools

    Can somebody please help me urgently to know what are the commands used for taking backup of oracle database using BR TOOLS.Also specifythe commands in detail which can be used for taking backups of oracle database ,Online Redo log files in databse using BRBACK tool,Archiving of offline, redo log files using BRARCHIVE, and Restoring a Database using BRRESTORE tool Commands(Plese specify the commands with their Syntax used).Also specify the commands with their Syntax which are used for taking backup of oracle database(online,Offline redo log files) into Tapedrives using BRTOOLS commands.
    Thanking You for helping (in advance).

    Dear Ashish,
    BRBACKUP / BRARCHIVE calls the operating system command to copy the files.
    Simple approach to get the commands is as follows.
    1. Set the BR_TRACE (as given in the SAP note 29321) and run the command for which you need to know the OS / SQL commands.
    2. This will generate the log file with the trace information. This trace has the information of the commands used by the job you have run.
    Hope this helps.
    Regards,
    Madhukar

  • Hot Backup for oracle database?

    Dear all,
    I want to change Cold Backup to Hot Backup. Does anyone how to do Hot Backup and has some simple document I can follow? If the database is running in ARCHIVELOG mode, is the size grow very fast or other effect will overcome?
    Please advice,
    Amy

    I want to change Cold Backup to Hot Backup. Does
    anyone how to do Hot Backup and has some simple
    document I can follow?online/hot backup don’t need to shutdown the database we can put the database in backup mode and then start taking backup even though users database activity read/write data going on. This strategy useful if ours database goes for 24x7.
    For online/hot backup the database should be in archive mode.
    I hope you know how to turn on archive.Before turning on check the archive on or not.
    SQL> archive log list
    Database log mode              Archive Mode
    Automatic archival             Enabled
    Archive destination            USE_DB_RECOVERY_FILE_DEST
    Oldest online log sequence     1
    Next log sequence to archive   2
    Current log sequence           2
    SQL> you may also check it by connecting to database as sys
    SQL> select log_mode from v$database;
    LOG_MODE
    ARCHIVELOG
    SQL> if yours database is not in archive mode then first enable archive,please before turning on the archive take cold backup.
    SQL>shutdown immediate
    SQL>startup mount
    SQL>alter database archivelog
    SQL>alter database open;
    SQL> archive log list
    Now you are able to take hot/online backup ,its upto you you use user managed backup and recovery or use RMAN oracle own shipped free tool for backup and recovery ,however my recommendation would goes for RMAN.
    http://download-uk.oracle.com/docs/cd/A97630_01/server.920/a96572/toc.htm
    http://www.oracle.com/technology/deploy/availability/htdocs/rman_overview.htm
    ARCHIVELOG mode, is the size grow very fast or other
    effect will overcome?However, the growing size pace either fast or slow everyday can be impractical it alls depends on activity of yours database operation.You will have to observe it yourself by turning on archive log its vary database to database activity.
    Khurram

Maybe you are looking for

  • How to turn off back ground music in iMovie?

    How can I turn off back ground music when working in a project with iMovie? Once I eliminate a selection the next piece of music is automatically selected from iTunes, which I want to avoid.

  • How to create empty BSP page and execute it

    Hi, Please give me the steps for creating an empty bsp page and executing it using transaction SE80. I have created a package and a BSP application. I need to get a url for this page that points to a document/image. I need help with this urgently and

  • After Effects CS4 and OMF / AAF

    My project's sound editor who I recently brought on board asked me for an OMF or AAF file from my film (that I'm editing together using After Effects CS4).  I exported the OMF file for a clip that was about 15 seconds and the file was > 1GB! My quest

  • Udev list disks

    Hello DBA's / UNIX Admins , Can you help me find out the command in udev to list the disks that are created for asm . Say for eg: if i have used asmlib to create the disks then i would use "/etc/init.d/oracleasm listdisks " to list the disks . And al

  • Repetitive information in db fields

    I've been using AW6 db for several years. On my forms I insert some of the same information in certian fields, like a name of a business, name, address and/or account nr. I would like to save some time by being able to put the 1st two letters or numb