Oracle Database Point intime recovery with File System backup.

Hi.. Experts...
We have shutdown the database and have take a file system backup on
09.10.2010 @ 10 AM.
We started the database and all the  archive logs generated after that are already
available in archive directory till now.
We discovered there were some  deletions took place. Yesterday evening at 4 PM.
Requirement.
We want to recover the database till  yesterday 3.30 PM.
Can any one send steps to recover with above backup and available archive logs till 3.30 PM Yesterday.
Regards

Experts.....Nick Loy, Varadharajan M, Mark & Volker.............Thanks U Very Much.
TAIL END MESSAGE OF RECOVERY COMMAND
ORA-00279: change 11331655931 generated at 10/10/2010 11:30:56 needed for
thread 1
ORA-00289: suggestion : /oracle/D10/oraarch/D10arch1_123487_607825009.dbf
ORA-00280: change 11331655931 for thread 1 is in sequence #123487
ORA-00278: log file '/oracle/D10/oraarch/D10arch1_123486_607825009.dbf' no
longer needed for this recovery
Log applied.
Media recovery complete.
SQL>
SQL>
SQL> ALTER DATABASE OPEN RESETLOGS;
Database altered.
SQL>
SYSTEM RECOVERED TO DEMAND & RELEASED
T H A N K S    --   T O    --   E V E R Y O N E .
RGDS

Similar Messages

  • How to work with file system in linux within a JSF app?

    I use this line in my backing bean to log some events:
    FileHandler fhxml = new FileHandler("../webapps/MyWebApp/Log/MyWebAppLog.xml", append);
    fhxml.setFormatter(new XMLFormatter());That works fine in windows but when I deploy it in my Tomcat 6 in linux It doesn't work. How can I work with file system in linux?

    You should never use relative paths to access the filesystem. The path would be relative to the current working directory which is not per se the same in all environments. To convert a relative web path to an absolute file system path, you need ServletContext#getRealPath(). Use this absolute file system path in the java.io stuff. In a JSF application on top of Servlet API you can get the underlying ServletContext by ExternalContext#getContext().
    Alternatively, if the file is located in one of the default paths of the classpath or if its path is added to the classpath, you can also just use ExternalContext#getResource() or even #getResourceAsStream() using just the file name.

  • How to recover DB2 using offline file system backup.

    Gurus,
    I had a problem with my BI PRD's database. 1 of my BI consultant accidently deleted some important 2010's data. We've try recover online database backup of BWP into BWQ and retrieve the missing data. However the backup retention period was expired and we dont have any available online backup now.
    Only hope is my offline file system backup which backup the whole file system of BWP ONLY.
    My question:-
    Can i restore the file system (offline backup) into BWQ and rebuild my DB2 in BWQ. Please enlighten me.
    Thanks,
    Devan.

    Hi
    You can do it .The file system backup image can be mirroed into production system and by making using of "db2inidb" utility you can restore the whole database.
    http://publib.boulder.ibm.com/infocenter/db2luw/v8/index.jsp?topic=/com.ibm.db2.udb.doc/core/r0004473.htm
    Thanks
    Romansh

  • OS File System Backup

    Hi,
    Apps: 12.1.3
    DB-11gR1
    OS - RHEL 5.6
    How i can take OS file system backup manually?-
    which is the best mothod?
    I know, we can use tar?
    could anyone tell me which is the best method..
    Thanks
    KSV.DBA

    In addition to the link mentioned above, do you have to rely on free solutions, or do you have a budget for a solution?
    You can perform a complete OS level backup of your Oracle database when it is shutdown, or put the database into online backup mode, but need to review the Oracle documentation for limitations. The tools of choice for Oracle is RMAN, which does not require extra logging or backup mode.
    You can use tar or rsync if you prefer to backup data to a shared storage through NFS or use tar to stream the data to an attached tape drive. There is plenty of information and tutorials on how to perform incremental backups on the web, and here tar incremental backup

  • Is possible control tape library slot 1 - 10 for file system backup

    hi ..
    i am new to osb , i just install and setup osb , i have a question as below , hope expert can help me
    env: testing
    rhel 5.5
    tape library with 20 slot
    file system backup
    1. is possible osb only use slot 1 - 10 for file system backup ? amanda can control slot x - slot y for the configuration .
    2. how do i label the tape for slot 1 - slot 10 by obtool ? how to control osb auto load the tape for next backup ? where to check the log say that next tape is tape-02 ?
    thanks ..

    hi dcooksey
    how do i use list for a tape drive...for example, if you want tape drive A to only use slots 1-10 from obtool or webtool ?
    becoz i new to backup solution & osb ( i always use ghost or acronis to clone the image ) , my thinking as below , pls correct me if i am wrong
    slot 1 - 10 for daily backup
    slot 11-16 for full system backup
    slot 17 - 20 reserve ( this tape only use for full system backup before perform any application upgrade patches , )
    daily backup mon - fri ( 2 week ) ( no backup on saturday and sunday ) , server application offline
    full system backup friday ( 1 , 14 on calendar ) every 2 week perform full system backup after daily backup completed
    for upgrade application ,
    perform full system backup after daily backup , then release the server to application team to perform upgrading .
    so how to set my media family for the above setting ? the slot configuration is control by media family ?
    hope you can help ...

  • How to Create a OLAP Cube in DEV using SSAS from Raw file system backup from Production?

    How to Create a OLAP Cube in DEV using SSAS from Raw file system backup from Production? I dont have a .abf file available. Two paritions in production are missing data. We were able to get back file system backup which contains the files for these two paritions.
    How do I create a cube in Dev using this file system backup.
    we are on SQL Server 2008R2.
    Thanks,

    How to Create a OLAP Cube in DEV using SSAS from Raw file system backup from Production? I dont have a .abf file available. Two paritions in production are missing data. We were able to get back file system backup which contains the files for these two paritions.
    How do I create a cube in Dev using this file system backup.
    we are on SQL Server 2008R2.
    Thanks,

  • File System backup and restore command

    Hi All,
    I require File System Backup and Restore command in AIX to Trivoli Storage Manager.Please send me the commands.
    Thanks in Advance
    Regards,
    Soumya

    Please check this out
    Restore
    http://www.ahinc.com/aix/backup.htm
    restore -xvf/dev/rmt0 Restores all the files located on the tape device that were backed up using the backup command.
    Backup
    http://publib.boulder.ibm.com/infocenter/systems/index.jsp?topic=/com.ibm.aix.cmds/doc/aixcmds1/backup.htm
    Hope this will help you.
    Regards
    dEE

  • FILE SYSTEM BACKUP IS HANGING ON OSB

    Hi all
    i am having a test setup for OSB ( using windows 2003 ent 32 bit , administrative server + mediaserver ) , i am using HP c1537a scsi Tape drive ( driver details Microsoft 10/1/2012 version 5.2.3790.0 ) , and while firing the file system backup the job is getting hanged on the webtool,
    i am attaching the logs
    WEB TOOL LOG
    admin/5.1     
    Type     backup osb-server
    Level     full
    Family     FS-BKP-MF
    Encryption     off
    Scheduled time     04/19.11:29
    Introduction time     2012/04/19.16:59
    Earliest exec time     04/19.11:29
    Last update time     2012/04/19.17:23
    Expire time     never
    State     running since 2012/04/19.17:23
    Priority     100
    Privileged op     yes
    Run on host     osb-server
    Requires     host osb-server and family FS-BKP-MF and any device
    Attempts     2
    Log     
         2012/04/19.16:59:49 Job created.
         2012/04/19.16:59:49 Dispatching job to run on administrative server.
         2012/04/19.17:04:03 Drive or volume on which mount attempted is unusable.
    ob> lsdev
    drive tc-tape in service
    ob> pingd tc-tape
    Info: drive tc-tape accessible.
    ob>
    ob> lsdev -lg
    tc-tape:
    Device type: tape
    Model: [none]
    Serial number: [none]
    In service: yes
    Automount: yes
    Error rate: 8
    Query frequency: 1024KB (1048576 bytes) (from driver)
    Debug mode: no
    Blocking factor: (default)
    Max blocking factor: (default)
    UUID: 26934f4f-fe7b-49ce-a3ed-034a7c9ad046
    Attachment 1:
    Host: osb-server
    Raw device: //./obt0
    Connection type: SCSI
    Inquiry data:
    Vendor: HP
    Product: C1537A
    Firmware: L111
    Tape state: online, write protected
    Hardware compression: on
    Last read was: compressed
    Hardware encryption: not available
    Maximum block size: 61440
    Remaining tape: 3615300 (uncompressed) blocks (3.70GB)
    ob>
    please guide me resolve this issue ..
    Regards
    ASA
    Edited by: 927832 on Apr 19, 2012 5:10 AM

    Hi Rich
    Thanks for your reply.
    since i am using a stand alone Tape drive, we will not able to take the inventory , isn't it ?
    i hope that my media family parameters are correct only .please find the media family details below.
    media family name :- test-media-family
    volume id used :- unique to this media family
    volume expiration :- 3 years
    appendable :- yes
    rotation policy & volume duplication policy are ;- none
    ====================================
    While i am mounting the Tape to the drive is gives the following error
    ob> mountdev -w test-tape
    Error: can't mount volume in test-tape - timed out waiting for bot
    ob>
    Edited by: 927832 on Apr 20, 2012 3:04 AM

  • Need help with File system creation fro Oracle DB installation

    Hello,
    I am new to Solaris/Unix system landscape. I have a Sun enterprise 450 with 18GB hard drive. It has Solaris 9 on it and no other software at this time. I am planning on adding 2 more hard drives 18gb and 36gb to accommodate Oracle DB.
    Recently I went through the Solaris Intermediate Sys admin training, knows the basic stuff but not fully confident to carry out the task on my own.
    I would appreciate some one can help me with the sequence of steps that I need perform to
    1. recognize the new hard drives in the system,
    2. format,
    3. partition. What is the normal strategy for partitioning? My current thinking is to have 36+18gb drives as data drives. This is where I am little bit lost. Can I make a entire 36GB drive as 1 slice for data, I am not quite sure how this is done in the real life, need your help.
    4. creating the file system to store the database files.
    Any help would be appreciated.

    Hello,
    Here is the rough idea for HA from my experience.
    The important thing is that the binaries required to run SAP
    are to be accessible before and after switchover.
    In terms of this file system doesn't matter.
    But SAP may recommend certain filesystem on linux
    please refer to SAP installation guide.
    I always use reiserfs or ext3fs.
    For soft link I recommend you to refer SAP installation guide.
    In your configuration the files related to SCS and DB is the key.
    Again those files are to be accessible both from hostA and from hostB.
    Easiest way is to use share these files like NFS or other shared file system
    so that both nodes can access to these files.
    And let the clustering software do mount and unmount those directory.
    DB binaries, data and log are to be placed in shared storage subsystem.
    (ex. /oracle/*)
    SAP binaries, profiles and so on to be placed in shared storage as well.
    (ex. /sapmnt/*)
    You may want to place the binaries into local disk to make sure the binaries
    are always accessible on OS level, even in the connection to storage subsystem
    losts.
    In this case you have to sync the binaries on both nodes manually.
    Easiest way is just put on shared storage and mount them!
    Furthermore you can use sapcpe function to sync necessary binaries
    from /sapmnt to /usr/sap/<SID>.
    For your last question /sapmnt should be located in storage subsystem
    and not let the storage down!

  • Export 500gb database size to a 100gb file system space in oracle 10g

    Hi All,
    Please let me the know the procedure to export 500gb database to a 100gb file system space. Please let me know the procedure.

    user533548 wrote:
    Hi Linda,
    The database version is 10g and OS is linux. Can we use filesize parameter for the export. Please advice on this.FILESIZE will limit the size of a file in case you specify multiple dumpfiles. You could also could specify multiple dump directory (in different FS) when given multiple dumpfiles.
    For instance :
    dumpfile=dump_dir1:file1,dump_dir2:file2,dump_dir3:file3...Nicolas.

  • DNFS with ASM over dNFS with file system - advantages and disadvantages.

    Hello Experts,
    We are creating a 2-node RAC. There will be 3-4 DBs whose instances will be across these nodes.
    For storage we have 2 options - dNFS with ASM and dNFS without ASM.
    The advantages of ASM are well known --
    1. Easier administration for DBA, as using this 'layer', we know the storage very well.
    2. automatic re-balancing and dynamic reconfiguration.
    3. Stripping and mirroring (though we are not using this option in our env, external redundancy is provided at storage level).
    4. Less (or no) dependency on storage admin for DB file related tasks.
    5. Oracle also recommends to use ASM rather than file system storage.
    Advantages of DNFS(Direct Network File System) ---
    1. Oracle bypasses the OS layer, directly connects to storage.
    2. Better performance as user's data need not to be loaded in OS's kernel.
    3. It load balances across multiple network interfaces in a similar fashion to how ASM operates in SAN environments.
    Now if we combine these 2 options , how will be that configuration in terms of administration/manageability/performance/downtime in future in case of migration.
    I have collected some points.
    In favor of 'NOT' HAVING ASM--
    1. ASM is an extra layer on top of storage so if using dNFS ,this layer should be removed as there are no performance benefits.
    2. store the data in file system rather than ASM.
    3. Stripping will be provided  at storage level (not very much sure about this).
    4. External redundancy is being used at storage level so its better to remove ASM.
    points for 'HAVING' ASM with dNFS --
    1. If we remove ASM then DBA has no or very less control over storage. He can't even see how much is the free space left as physical level.
    2. Stripping option is there to gain performance benefits
    3. Multiplexing has benefits over mirroring when it comes to recovery.
    (e.g, suppose a database is created with only 1 controlfile as external mirroring is in place at storage level , and another database is created with 2 copies (multiplexed within Oracle level), and an rm command was issued to remove that file then definitely there will be a time difference between restoring the file back.)
    4. Now familiar and comfortable with ASM.
    I have checked MOS also but could not come to any conclusion, Oracle says --
    "Please also note that ASM is not required for using Direct NFS and NAS. ASM can be used if customers feel that ASM functionality is a value-add in their environment. " ------How to configure ASM on top of dNFS disks in 11gR2 (Doc ID 1570073.1)
    Kindly advise which one I should go with. I would love to go with ASM but If this turned out to be a wrong design in future, I want to make sure it is corrected in the first place itself.
    Regards,
    Hemant

    I agree, having ASM on NFS is going to give little benefit whilst adding complexity.  NAS will carrying out mirroring and stripping through hardware where as ASM using software.
    I would recommend DNFS only if NFS performance isn't acceptable as DNFS introduce an additional layer with potential bugs!  When I first used DNFS in 11gR1, I came across lots of bugs and worked with Oracle Support to have them all resolved.  I recommend having read of this metalink note:
    Required Diagnostic for Direct NFS Issues and Recommended Patches for 11.1.0.7 Version (Doc ID 840059.1)
    Most of the fixes have been rolled into 11gR2 and I'm not sure what the state of play is on 12c.
    Hope this helps
    ZedDBA

  • Installing Oracle Database 11gR2 on Linux with Unbreakable Ente. Kernel

    Hello,
    I have Oracle Linux 5.5 with Oracle's Unbreakable Enterprise Kernel.
    what do I need to have/prepare to install Oracle database 11gR2 on it?
    the hardware part and the partitions are done!
    1-
    Do I need to install/run Oracle Validated Configuration RPM? even if I have Oracle's Unbreakable Enterprise Kernel?
    if yes does in means the Oracle's Unbreakable Enterprise Kernel does not prepare/configure the system to host database?
    2-
    With any of the above
    do I still need create or edit the /etc/sysctl.conf file, and add or edit lines similar to the following:
    fs.aio-max-nr = 1048576
    fs.file-max = 6815744
    kernel.shmall = 2097152
    kernel.shmmax = 536870912
    kernel.shmmni = 4096
    kernel.sem = 250 32000 100 128
    net.ipv4.ip_local_port_range = 9000 65500
    net.core.rmem_default = 262144
    net.core.rmem_max = 4194304
    net.core.wmem_default = 262144
    net.core.wmem_max = 1048586
    I saw allot of docs out there, but none answered these questions!
    so please do not post docs or links to a general sites!
    Thank you for the help

    Dude wrote:
    The intention of Oracle UEK is quite obviously Oracle specific, so I think it is legitimate to ask why not to include the Oracle specific kernel configuration file. The UEK is a drop-in replacement for the existing kernel. Why would we include the oracle-validated configuration options into the kernel package when we already have a perfectly good oracle-validated RPM that can be used with both kernels? Also, the UEK may be Oracle specific, but it's not database specific. Keep in mind that Oracle has thousands and thousands of products. :) I run the UEK on lots and lots of servers, many of which don't run database and many of which have completely different /etc/sysctl.conf configurations.
    The list of available packages and add-on's at http://public-yum.oracle.com/repo/OracleLinux/OL5/5/base/x86_64/ is growing. So perhaps it's just a matter of continued development.
    Not sure what the point of this statement is: there are no plans to incorporate the oracle-validated configuration into the kernel, as it already exists in oracle-validated.

  • Oracle DB and File system backup configuration

    Hi,
    As I understand from the help documents and guides, brbackup, brarchive and brrestore are the tools which are used for backing up and restoring the oracle database and the file system. We have TSM (Trivoli Storage manager) in our infrastructure for managing the backup centrally. Before configuring the backup with TSM, I want to test the backup/restore configuration locally i.e. storing the backup to local file system and then restoring from there. Our backup strategy is to have full online backup on the weekends and incremental backup on the weekdays. Given this, following are the things, I want to test.
    1. Full online backup (to local file system)
    2. Incremental online backup (to local file system)
    3. Restore (from local file system)
    I found help documents to be very generic and couldn't get any specific information for the comprehensive configuration to achieve this. Can someone help with end to end configuration?
    We are using SAP Portal 7.0 (NW2004s) with Oracle 10g database hosted on AIX server.
    Helpful answers will be rewarded
    Regards,
    Chandra

    Thanks for your feedback. I am almost clear about this issue now, except one point need to be confirmed: do you mean that on linux or unix, if required, we can set "direct to disk" from OS level, but for windows, it's default "direct to disk", we do not need to set it manually.
    And I have a further question: If a database is stored on a SAN disk, say, a volume from disk array, the disk array could take snapshot for a disk on block level, we need to implement online backup of database. The steps are: alter tablespace begin backup, alter system suspend, take a snapshot of the volume which store all database files, including datafiles, redo logs, archived redo logs, controll file, service parameter file, network parameter files, password file. Do you think this backup is integrity or not. please note, we do not flush the fs cache before all these steps. Let's assume the SAN cache could be flushed automatically. Can I think it's integrity because the redo writes are synchronous.

  • 10G Database install on Linux 64bit File system Vs. Automatic Storage

    Hi,
    I'm installing Oracle 10G on a Dell 2950 server with an Intel 64 bit processor. The operating system is Red Hat Linux 4. It has a hardware RAID.
    I've downloaded the Install Guide but I have a question about installing.
    I'm confused about the File system vs. Automatic Storage management option. I will be installing on the local system, I will not be using a NAS or SAN.
    Under Database Storage Options, the guide says that "Oracle recommends that the file system you choose be separate from the file systems used by the operating system or the Oracle software.".
    1. Do I need to do that since I'm already using hardware RAID??
    2. Which way is recommended / what do most people do: File system or Automatic Storage managment??
    3. For Automatic Storage Management I read that I'd have to create an ASM Disk group that can consist of "a multiple disk device such as a RAID storage array or logical volume. However, in most cases disk groups consist of one or more individual physical disks". Do I need to reconfigure my partitions ??
    I just need some input on what I should do since this is my first time installing Oracle on Linux.
    Thank you.

    Besides documentation there's a step-by-step guide :
    http://www.oracle.com/technology/pub/articles/smiley_10gdb_install.html#asm
    Many questions should be answered here.
    Werner

  • Oracle Express Edition And Windows Encrypted File System (EFS)

    Hello,
    I want to use oracle express edition with windows encrypted file system. I tried some possibilities like encrypting xe folder. But connection can not be established when efs is used. Is there a compatibility problem between oracle xe and windows efs? On Oracle's page, it is declared that oracle database is compatible with Windows EFS.
    Thank you for help.

    Pl identify which version of Win 7 - 32-bit or 64-bit ? Home version or something else ?
    The 11g XE install is only available for 32-bit version of Win 7 Professional or higher - http://docs.oracle.com/cd/E17781_01/install.112/e18803/toc.htm#BABHICJH. If you are installing on 64-bit version or Home version of Windows, then you are on your own. What is the reason for enabling EFS on this database ?
    HTH
    Srini

Maybe you are looking for

  • Windows 7 Clean Install on T500 with Vista

    So my thinkpad t500 was infected (the entire recover area was also infected). It came with Vista and I just got the recovery media CDs for Vista. But I don't want to install Vista. I have a legitimate copy of Windows 7 that I purchased and completely

  • Missing lines/bars in a chart

    Hi, just another little problem. Let's assume that i have a column chart, and a series of simples values:  3, 5, 7, 2, 9, 2, 1. Now, let's assume that my vertical axis have a minimum value of 0 and a maximum of 6: i mean, it shows the Y values from 0

  • Final Cut Capturing & multiple firewire feeds

    Hi, Camera --> firewire to dv repeter (link here - this is supposed to multiply the feeds --> then one firewire from dv repeter is going to the live mixer and another firewire feed is going to a mac which live captures everything from the camera. Pro

  • Abap ...alv question

    Hi, I got the error message, when I want to set ALV grid format ... how and where I can check this lenght... The call to the function module "REUSE_ALV_LIST_DISPLAY" is incorrect: In the function module interface, you can specify only fields of a spe

  • PB creation datafile greater than 2Gb

    Why is it not possible to create a file greather than 2Gb on oracle 7.3.4.0 and solaris 2.7??? I have created the same architecture on SCO openserver 5 and HPUX and it 's working???? Could you help me please???