Taking Physical backup

Hi,
I am using oracle 10g database. using oracle 10g database and .net technology i build an application.my application is working well and huge amount of data is stored in my database.now i am facing the the problem that how to take physical backup of the database in which already two years of data is stored.before i never take any physical backup of this database, i am just taking logical backup of it.
Please Help me ..
Thanks in Advance.

There are three ways of backing up an Oracle database.
1. User-managed backups: These are the traditional "hots" and "colds". In a "hot" backup, you place the tablespaces into backup mode and then copy the data files using cp on *nix operating systems or cntl-c/cntl-v on windows systems.  Once the data files are copied, you take the tablespaces out of backup mode.  In a "cold" backup, you take the database down completely and then copy the files.  When the datafiles are copied, you can bring the database back online.
2. RMAN backups: This is Oracle's recommended backup strategy. The benefit of this type of backup is that RMAN is kernelized or part of the database itself. This means that you no longer need to worry about placing tablespaces into backup mode or bringing down the database. Backing up a database is as easy as the following:
RMAN target /
backup database;
3. The final way you can back up a database is using some type of storage backup such as tape backups of the entire filesystem or mirroring the array offsite.

Similar Messages

  • Why not physical backup be able to restore logical tables ?

    DBA's are used to the perspective of physical & logical backups for a long time .
    I wonder why should it not be able to do a logical restore a single table from a physical backup ? It will be great to have this possibility.
    Is this is design constraint that can be changed by Oracle ?
    -Shekar

    This is not a design constraint.
    The physical backup is of all the physical components of a database which are interpreted by the server software to create the logical representation.
    A physical backup is meant to be restored completely whereas a logical backup can be restored as of requirement.
    It is not desirable to be able to restore a single table from physical backup as table is a logical representation of data. Till such time that the physical data is not interpreted by Server software it is just bytes on the disk.
    So, if we want to restore a table from physical backup we will need a running instance to interpret the data and this will be more time consuming than having it extracted from a logical set.
    If our system has not gone down and we want to restore the table just to a previous state, then (Oracle 10g) we can do it easily without taking the help of physical backups, through flashbacks.
    These are my views, perhaps others can join in and we can discuss this out.

  • How to schedule SQL Agent job for XMLA script file of SSAS database instead of taking a backup.

    I want to script XMLA file instead of backup of database and also want to schedule a job for the process in SQL Agent. 
    Is there any pros and cons when I script the XMLA file of the SSAS db instead of taking a backup ? 
    Amir

    Hi Amir,
       You can take the Create SSAS database XMLA script and run the job to create the cube. The script contains the Metadata definition of the Database and it does not contain the actual data. 
    Pros: Since you are only creating an empty cube the script will run faster 
    Cons: You still need to process the created cube to use it for reports.
    Fastest option is to take the backup of the cube and restore wherever necessary.
    And you can also use TFS source control to deploy the cube and process it later.
    Regards,
    Venkata
    Venkata Koppula

  • DB13 Error while taking the backup in Tape

    Dear SAP Guru,
    While we are  taking  the backup in tape through DB13\Brtools  command the errors are generate. Please help.
    SAP :EC6.0
    DB: Oracle 10G
    Platform:Windows NT
    BR0134I Unattended mode with 'force' active - no operator confirmation allowed                                   
    BR0207I Volume in device: /dev/nmt0 will be initialized with name: SCRATCH                                   
    BR0280I BRBACKUP time stamp: 2010-12-28 10.58.28                                   
    BR0226I Rewinding tape volume in device /dev/mt0 ...                                   
    BR0278E Command output of 'mt -f /dev/mt0 rewind                          mt -f /dev/mt0 rewind           mt -f /dev/mt0 rewind':
    mt: unable to initialize ASPI manager                                   
    mt: using NT tape support                                   
    The service has not been started.                                   
    BR0280I BRBACKUP time stamp: 2010-12-28 10.58.28                                   
    BR0279E Return code from 'mt -f /dev/mt0 rewind                     mt -f /dev/mt0 rewind           mt -f /dev/mt0 rewind': 0     
    BR0213E Winding tape volume in device /dev/nmt0 failed                                   
    BR0219E Initialization of volume SCRATCH in device /dev/nmt0 failed                                   
    BR0206I End of backup volume initialization                                   
    BR0280I BRBACKUP time stamp: 2010-12-28 10.58.28                                   
    BR0054I BRBACKUP terminated with errors          
    Note: we take the backup\restore sucessfully from windows NTBACUP.

    Hi,
    The service has not been started.
    Try to insert a new tape and then check. Are you able to label the tape?
    Regards,
    SBK

  • I am getting below error while taking RMAN backup.

    Friends,
    I am getting below error while taking RMAN backup.
    The issue is related with a lock while trying to backup the controlfile.
    The lock is more likely caused by the autobackup controlfile process started just before RMAN process was also trying the backup controlfile as shown in the following alert.log excerpt.
    Starting Control File and SPFILE Autobackup at 2009-04-07 09:24:58
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of Control File and SPFILE Autobackup command on ORA_DISK_1 channel at 04/07/2009 09:25:03
    ORA-00230: operation disallowed: snapshot control file enqueue unavailable
    Is there anyway to solve this issue?Thanks in advance.

    Hi,
    SQL> SELECT s.sid, username AS "User", program, module, action, logon_time "Logon", l.*
    FROM v$session s, v$enqueue_lock l
    WHERE l.sid = s.sid and l.type = 'CF' AND l.id1 = 0 and l.id2 = 2; 2 3
    no rows selected
    Oracle version : 10.2.0.3
    I am getting this error once in a month not everyday.
    Starting Control File and SPFILE Autobackup at 2009-04-07 09:24:58
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of Control File and SPFILE Autobackup command on ORA_DISK_1 channel at 04/07/2009 09:25:03
    ORA-00230: operation disallowed: snapshot control file enqueue unavailable
    Please suggest me based on this..Thanks in advance..

  • Error while taking the backup to disk.

    Hi all,
    I am facing one  problem while taking the backup to disk. After copying few files to disk it got terminated and hereunder the log ,
    BR0001I *****_____________________________________________
    BR0201I Compressing /oracle/OPD/sapdata2/sr3_6/sr3.data6
    BR0203I to /backup2/archlog/bdwuyjxg/sr3.data6.Z ...
    <b>BR0278E Command output of 'LANG=C compress -c /oracle/OPD/sapdata2/sr3_6/sr3.data6 > /backup2/archlog/bdwuyjxg/sr3.data6.Z':
    compress: I/O error</b>
    BR0280I BRBACKUP time stamp: 2007-12-15 13.41.00
    BR0279E Return code from 'LANG=C compress -c /oracle/OPD/sapdata2/sr3_6/sr3.data6 > /backup2/archlog/bdwuyjxg/sr3.data6.Z': 1
    BR0224E Compressing /oracle/OPD/sapdata2/sr3_6/sr3.data6 to /backup2/archlog/bdwuyjxg/sr3.data6.Z failed due to previous errors
    BR0280I BRBACKUP time stamp: 2007-12-15 13.41.02
    BR0304I Starting and opening database instance OPD ...
    BR0280I BRBACKUP time stamp: 2007-12-15 13.41.16
    BR0305I Start and open of database instance OPD successful
    BR0115I Compression rate for all files 6.0097:1
    Please confirm me whether the problem is with hardware or data corruption and need your precious suggestions on the same.
    Thanks and Regards,

    <b>compress: I/O error</b>
    This looks like hardware error.
    is there enough free space on  /backup2/archlog/bdwuyjxg/?
    do you get the same error if you try manualy?

  • Edited table data not found after physical backup

    hi,
    i have recoverd to another location physical backups of oracle files. i have all data but data in one table patient can not be viewed. however, if i execute count(*) query it retruns total number of rows. can any one help me.
    i am using 11g database and i am executing this query from sql*plus
    " select * from patients;". messegae received "no data found".
    thanks
    susan

    user3293897 wrote:
    hi,
    i have recoverd to another location physical backups of oracle files. How you've performed the recovery?
    i have all data but data in one table patient can not be viewed. however, if i execute count(*) query it retruns total number of rows. can any one help me.
    i am using 11g database and i am executing this query from sql*plus
    " select * from patients;". messegae received "no data found".
    You mean that the table has data in the first database, and you lose the data while copying and recovering the db?

  • Which job is taking log Backup of specific database using command?

    In my SQL Server there are around 200 jobs of different databases for backup.
    Which job is taking log Backup of specific database using command?
    Kindly help.
    Thanks

    Hi,
    Its generally a bad design to create different jobs for different databases expecially backup and restore if you create you give specific names to the jobs otherwise it would be difficult for you to track. below query will give you littlt help but if you
    are running a proc to backup log files and that proc is situated in master database it wont help. If you are running SSIS package it wont help
    The column database name will help you in locating the DB name for which job is running
    use msdbgoselect sj.name,
    sj.description,
    jst.database_name,
    sj.date_created,
    sj.date_modified,
    jst.step_name,
    jst.command
    from
    dbo.sysjobs sj
    join
    dbo.sysjobsteps jst
    on
    sj.job_id=jst.job_id
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it.
    My TechNet Wiki Articles

  • Lost datafile while taking hot backup

    Hi,
    While we are taking Hot Backup,
    one of datafile is accedentally deleted by user ...
    So could you pls suggest me how can we troubleshoot??
    DBversion: 10.2.0.4
    OS Version: Linux
    Thanks,
    Srini ...
    Edited by: Srini on Apr 11, 2012 1:12 PM
    Edited by: Srini on Apr 11, 2012 1:13 PM

    Some unix can fix the directory entry if you do it before the last process closes the file and you have the appropriate tools and expertise. Google for your OS. Here's one that just happened to be the first that came up for me: http://linuxshellaccount.blogspot.com/2008/08/recovering-deleted-files-by-inode.html
    If you can't do that (and it surely isn't something to depend on if it even works), you need to restore the previous one that you do have, all intervening archived logs, and recover. You probably want to export anything that might be in that file if you can, before you do anything else. As soon as Oracle closes it, it will be gone.

  • IPhone physical backup on different PC

    I usually back my iPhone up to my Macbook Pro.  That laptop is currently in another state ATM and it might be a couple months before I get to it.  I have my windows gaming rig that I want to do 3 things with.
    1 - make a physical backup of everything on my 4s
    2 - use that backup to transfer everything onto an upgrade (a new 5c)
    3 - factory restore my 4s
    Can I do this and then when I get my laptop back continue to use it as my main? Thanks!

    Hi bobsbarricades,
    Thanks for visiting Apple Support Communities.
    You can manually create a backup on your pc without syncing. See this article for the steps:
    iOS: How to back up and restore your content
    http://support.apple.com/kb/HT1766
    iTunes can create backups of your iOS device when you:
    Sync with iTunes (disabled if you have iCloud backup turned on)
    Right-click (or Control-click) the iOS device in iTunes under Devices and choose Back Up
    Use these steps to manually back up your iOS device using iTunes:
    Connect your iOS device to a computer with the latest version of iTunes installed.
    Click the File menu and select Devices > Back up.
    To verify that the backup finished successfully, open iTunes Preferences and select the Devices tab. The name of the device will appear along with the date and time the backup was created.
    All the best,
    Jeremy

  • Physical backup - minimal requirements

    Hi everyone,
    Is it possible to restore an Oracle instance with only theses files:
    - The SYSTEM tablespace's datafiles.
    - The SYSAUX tablespace's datafiles.
    - The CONTROL files.
    - The PARAMETER file.
    And the data being in many dumpfiles (generated with exp.exe or expdp.exe)?
    Regards.
    Carl

    plhtyuk wrote:
    Thank's a lot eveyone,
    I've just seens this in the doc that confirm what you all said:
    "*Recovering a Database in NOARCHIVELOG Mode*
    If a media failure damages datafiles in a NOARCHIVELOG database, then the only option for recovery is usually to restore a consistent whole database backup. If you are using logical backups created by an Oracle export utility to supplement regular physical backups, then you can also attempt to restore the database by importing an exported backup of the database into a re-created database or a database restored from an old backup."
    Regards.
    CarlYes. Please remember that a backup is a physical copy of the data files. An export is a logical copy of the and data and the ddl needed to recreate the data. In essence, the .dmp created by exp is just a bunch of CREATE and INSERT statements, albeit in a binary file. Of course you can't issue these statements (even within the context of imp) if the database itself is not up and running.

  • Approximate time for Taking Oracle Backup

    Can you guys tell me how can I guess
    1.what time should be taken for a Oracle database's full export backup ?
    2.what time for a full online Physical backup ?
    3.what time for a full offline Physical backup ?
    We can see the size of the associated datafiles of the database from dba_datafiles. We have only that clue and the database is residing on an AIX box.
    Any good idea will be appretiated.
    Also please give me the idea on which factors the time for backup depends. And how it can be done in good speed.

    Might be that sac-Pune's timing information is wrong. But he could understand my question and tried to answer with a case study. Ok I really tried to get the answer from a person who has good hands on experience. And who has handled oracle backups on different hardwares and also different OS.
    I know that the backup timing depends on the size . Suppose we take a case study
    Environment parameters:
    1. Database size: 100 gb
    2. Hardware/OS : IBM AIX
    3. Memory : 4 GB
    4. Number of CPU: 4
    5. Oracle version 9.2.0.7
    1.what time should be taken for a Oracle database's full export backup ?
    2.what time for a full online Physical backup ?
    3.what time for a full offline Physical backup ?
    Can any one give me the approximate timing for those ? 30mins plus minus will be accepted.
    Can we deduce any formula on backup timing as 3 environment parameters are numeric.
    Is there any proportionate relation in timing of Export backup and Online physical backup?
    or
    Is there any proportionate relation in timing of Online physical backup and Offline physical backup?
    or
    Is there any proportionate relation in timing of Old Online physical backup and RMAN method physical backup?
    I know that oracle backup timing depends on many factors. But again it is a bookish answer. In my original post I wanted to know 'which factors'?
    I also requested to give me some thumb rules how backup can be fast.
    I recently joined a new organisation where the database size are huge. But I would have to create some emergency 'Change Requests' on Oracle backups. Discussing with Old DBAs and prior testing in test environments with same volume of data as in production is not possible at this point of time.
    Looking for good contribution from the members

  • Physical backups in EM db control

    1. When I set in EM db control full physical backup
    and after that incremental backup, will incremental
    backup use last full backup automatically provided
    that in full backup I check the option to use the full backup
    as the base of incremental backup strategy?
    When I am using 'Oracle suggested backup strategy' which uses image
    copies instead of backup set can not newly set incremental
    backups use it as its base instead of newly created full backup?
    2.When there is recovery window for say 7 days set and
    every day are created incremental backups after full backup and
    full backup is just taken, next days from that I need previous
    backup for the case that I want go back in scope of recovery window
    before newly created full backup. So I need always at minimum two full
    backups, am I right?

    Hi All,
    What about monitor locks on the database.
    I see default blocking session monitoring, but was looking for something that monitored the length of time locks are held.
    Haven't seen anything, and wondering if we'll need a user defined metric for catching this.
    Thanks,
    Tony

  • Taking Pump Backup

    hi...
    am normally using Toad to take database backup....
    Can any one help me how to take backup using Pump backup or RMAN backup.....
    Actually while exporting users from oracle 9i and importing it into 10g....i found some Force view are missed on that 10g database....
    what wil be the problem dude....]
    Thanks in Advance....

    [email protected] wrote:
    hi...
    am normally using Toad to take database backup....
    Can any one help me how to take backup using Pump backup or RMAN backup.....
    Actually while exporting users from oracle 9i and importing it into 10g....i found some Force view are missed on that 10g database....
    what wil be the problem dude....]you can take logical backup using datapump but you want to move the data from oracle 9i to oracle 10g ,you can use exp/imp utility or transport tablespace methos because datapump couldnot support Oracle 9i.
    you can take physical backups either consistent or inconsistent backup using RMAN(Recommanded).

  • Need the rman backup sequence in taking the backup

    Hi,
    I just need the sequence in taking the backup of full database through rman.
    Current method
    1. Datafiles
    2. Archivelog files
    3. Control file.
    But I am noticing missing of some archive log when i am doing the recovery files. So, i just want to change my nightly backup to the below procedure
    1. datafiles
    2. control files
    3. archivelog files.
    Correct me, the suitable procedure for scheduling.
    Thanks,
    Ramesh G
    Edited by: user13095767 on Sep 7, 2012 9:02 PM

    Let me explain my question once again..
    I didn't get my requirements..
    Recently, faced a scenario while recovery my database...
    I am having nightly scheduled backup in the below manner...
    1. database backup.
    2. archive log files backup
    3. control file backup.
    My archive log files backup completed by 22:10. and my control file backup completed by 22:29. In between there was an archive generated at around 22:15.
    i want to restore and recover the database with this backup. Followed the below scenario
    1. restored the controlfile
    2. restore database
    3. recover database
    Finally, it is asking for the archive generated at 22:15 and at 22:49.
    So, by this i came to know that my database backed up with missing of archives. if i go with the below scenario of taking the backup
    1. datafiles
    2. control files
    3. archive log files
    Thinking that the archive log files backup pieces infomation will not be available in the controlfile..
    Which one will be the best option in scheduling our backups.
    Taking controlfile backup before archivelog or taking archivelog backup and then the controlfile.
    Thanks,
    Ramesh G

Maybe you are looking for

  • Problem running XSQLSERVLET on JAVA WEB SERVER

    THE BELOW LISTED SIMPLE XSQL QUERY WHEN RUN ON JAVA WEB SERVER 2 (WITH CLASSPATH/MAPPING SETTING AS IN INSTALLATION MANUAL) GIVES FOLLOWING ERROR: 1. XML document must have a top level element. <?xml version="1.0" encoding="UTF-8"?> <xsql:query xmlns

  • I cannot locate my "sent" mail since I changed to Exchange program in my apple email?

    In my Apple mail I recently converted to Outlook 365 Exchange program. I have two email programs, Apple and Yahoo. Since I converted to this email program, when I send an Apple email, I cannot find the "sent" emails anywhere? I can pull up the Yahoo

  • HT2494 external harddrive not recognized

    I'm running OS 10.6.8 with a maxtor one touch 4 ext harddrive via USB. I have MacDrive 7 on my PC & I use this to transfer files back & forth from PC to Mac. This morning, I unhooked the drive from the Mac and forgot to drag it to the trash can on th

  • Script to update all TOCs in all open (or book) documents?

    Does anyone know of a script that will update all table of contents in all open documents (or even better: all documents in open ID book)? Any help much appreciated!

  • Enhanced podcast not publishing - runs perfectly in iWeb

    All of a sudden my enhanced podcasts (audio tracks with photos) won't publish properly to my site. They appear correctly and run properly in iWeb, but when published only have audio. I have tried publishing from different locations thinking it could