Re-build Database from .DBF Files

I have the set of .dbf files which Veritas backed up daily in my production environment. Can any body tell me the steps how I can rebuild my database from these .dbf files.
i) ACCT.BAK
ii)ISACCTB_01.DBF
iii)RBS1ACCT.DBF
iii)RBS2ACCT.DBF
iv)SYSTEM1.DBF
v)TEMPACCT.DBF
vi) TSACCT_01.DBF
suppose the db name is ACCT.
I'm gettign the following error while restoring.
ORA-01589: must use RESETLOGS or NORESETLOGS option for database open

It's seem like you have one backupfile and rest of all are data files.the next thing you mention here that you are unable to open the database.It seems to me that you perform incomptele recovery, which forcing you to open the database in noresetlogs.the workaround of this is..
sql > alter database open resetlogs ;
You can also restore ctlfile from your backupset if it is available and then perform recovery if all the datafiles are intact in their place.
hare krishna
Alok

Similar Messages

  • Building Database from .dbf files

    Hello All,
    I had to reinstall oracle software. But I have all the data\control\log files from previous installation.
    So my question is, Can I rebuild my database from those files? If so, how?
    All the installation directories are same as before. I don't know if this helps but just wanted to provide as much info as possible.
    Thanks,
    Satish

    All your tablespace, user, grants, etc. information is stored within the system datafile, so if you install the Oracle server, then manually recreate the directory structure from your previous database (for example on NT, you'd create d:\oracle\oradata\your_sid\*.dbf
    d:\oracle\admin\your_sid\pfile | bdump | etc...) then put the datafiles in the location where the control files says they should be, and your pfile points to the correct control files then it will be OK.
    Your pfile will contain the location(s) of your control files. When you nomount the database, the instance will start and the pfile will find the location/locate the control file (this is why you recreate the control file in nomount mode); then when you mount the database, the control files are actually opened and read so the instance can locate the datafiles, identify the tablespaces, etc (this is why you have to put the control files in the location(s) specified in the pfile and datafiles, etc. back in the location specified in the control file). Then opening the database just basically validates everything and opens for use. As long as you don't specify SIZE or REUSE for the datafiles in the control file, and comment out everything after the CHARACTER SET listed in the control file and you still have the datafiles that contain data, you won't need anything like an import. You may need media recovery of some sort or experiment with incomplete recovery (if files are available) and open with resetlogs; but normally if you have an OracleService and you have a pfile, control files, and datafiles, everything will be there (user info and all is stored in the system datafile).
    Hope this helps answer some of your questions. Anyway - you can try it and if it fails, you can always start over as long as you have a backup copy of your datafiles and controlfiles and pfile.
    Gridahsir

  • How to create database from .sql file

    how to create database from .sql file..?? i put the sintax query in a sql file.. and i want to call it in java code..
    ho to do it..??

    why do you want to do this from java?
    i just don't see the point.
    find your dba and have him/her run it for you

  • Load into database from a file

    hi,
    i need to know is there any other means other than sql loader ,i import data into the oracle8i database from a file i.e)if i need to load into a server from a client machine
    which does not have oracle 8i client version how could i
    do it.kindly help out. thanks in advance.

    UTL_FILE
    With the UTL_FILE package, your PL/SQL programs can read and write operating system text files. UTL_FILE provides a restricted version of operating system stream file I/O.
    UTL_FILE I/O capabilities are similar to standard operating system stream file I/O (OPEN, GET, PUT, CLOSE) capabilities, but with some limitations. For example, you call the FOPEN function to return a file handle, which you use in subsequent calls to GET_LINE or PUT to perform stream I/O to a file. When file I/O is done, you call FCLOSE to complete any output and free resources associated with the file.
    http://download-west.oracle.com/docs/cd/B10501_01/appdev.920/a96612/u_file.htm#ARPLS069
    Joel P�rez

  • Create the database from Binary files

    Hi
    Can anyone assist is possoble to build a database with binary files.
    I lost all the database files in the standby server, im not having installation files. Can I build the database by copying the binary files from different sever? if possible please provide me the steps.
    Database Version : 8.1.7.4.0
    OS Version : Sun OS 5.8
    Venkat
    Edited by: R VENKAT on Nov 4, 2008 4:15 PM

    Hi Venkat,
    I think this isn't the best forum to answer your question but I'll try.
    You've lost your DATABASE FILES (means DBF files, control files (CTL), redo logs)? Correct?
    Or did you loose also the Oracle Home where the software has been installed?
    If you've lost your Oracle installation than you might do the following:
    1) Install 8.1.7.0 software on your standby server
    2) Install patch set 8.1.7 4 into this home
    3) Metalink-Note:70233.1 will describe the full process of creating an 8i standby database from your PROD.
    If you use RMAN than please have a look into Metalink-Note:203980.1 and Note:118409.1 - it'll describe also the init.ora parameters necessary for a standby
    You'll find a description of an ideal init.ora for the standby in ML Note:139809.1 and specific for Data Guard 8i here: ML-Note:132991.1
    Kind regards
    Mike

  • Create SQL tables from dbf files

    I have hundreds of dbf files that I need to import into SQL Server.  I have created a foreach loop container and have a data task within the loop that will import the data.  However, it will only work if the tables are already in SQL Server. 
    These tables may differ depending on versions so I cannot use the Wizard.  I know I can do the CREATE TABLE using variables, but how can I get the schema from the dbf file in order to dynamically fill in the columns for the CREATE TABLE statement? 

    Thanks Arthur.  Does anyone have an example?  Considering the wizard can extract the column names, there has to be a way to set this up.  I am new to SSIS and have not been able to figure out a way to grab at least the column names
    via a script.
    The wizard may extract the names. Then dump somewhere. Then create a script say in Excel off the column names, but you also need the lengths, datatypes. What is this dbf file? Is it dBase database? Can you open a file in a text editor?
    We know nothing at this point still.
    Arthur My Blog

  • How to recover database using dbf file

    Hi all,
    My oracle database gets crash. But i have all the dbf file . But there is no controlfile,redo log file and pfile . So i have to create a database that will contain these existing dbf file.
    Can anyone tell what are the steps i have to follow ?
    Regards

    Does the datafiles comes from a cold backup or was database closed when disk crashed ?
    Well, what's your OS ?
    You need to write a new init.ora file, create the dba service if your under windows, and recreate the database with the command line, that will create controlfile and redolog.
    Nicolas.
    Argh, this is a Re: Lost database, and you already get answer into the other. Spending time here.
    Message was edited by:
    N. Gasparotto

  • Xnet database from txt file

    I have a CAN database in a .txt format.  I used access and excel to map it to a .xml file.  When I try to add it to the NI-XNET Database Editor in the Manage NI-XNET databases and add alias  it give me the error: x BFF63081.  How can I take a .txt file database and convert it to a NI-XNET database?

    I think the common formats that XNET support are CANdb and FIBEX files (amongst others...e.g. for Flexray). I think FIBEX is the name. A CANdb file is essentially just a text file so maybe you can parse out the messages fairly easily that way. FIBEX files are the file format that LabVIEW creates when you edit/create an XNET database from their user interface.
    If you don't want to use either of those formats, then you need to parse the text file in LabVIEW and use it to manually create the XNET signals/database. You can create a :memory: database, populate it with a cluster and then populate that with signals using data from your text file.
    In the LabVIEW examples under Hardware Input and Output >> CAN >> NI-XNET >> Databases are some examples of manipulating an XNET database so that should point you in the right direction of which VIs you need to use.
    Certified LabVIEW Architect, Certified TestStand Developer
    NI Days (and A&DF): 2010, 2011, 2013, 2014
    NI Week: 2012, 2014
    Knowledgeable in all things Giant Tetris and WebSockets

  • Populate the database from a file

    Hi guys,
    I have to populate an Oracle database using a java standalone application. The application gets the data from a file and copies them into the database. I don't know how to structure the entire thing and in which layer (view or model) i have to implement this functionality.
    thank's a lot,
    christian

    either you configure FOP to use a SAX Parser that supports Cp1251 or you encode your XML data to UTF-8.
    we flawlessly generate Greek PDF documents out of data selected from Oracle 8.1 by using UTF-8.

  • SQL Server 2012 restoring database from backup file

    Hi All,
    1. I was restoring the database from PROD box to DEV box with the deferent name.
    For Ex: Both PROD and DEV boxes are having "A" database. Now I am refreshing database"A" from PROD bot to DEV box with name "B". Now while restoring in SQL server 2012 I used GUI and took database name as "A" by default.
    by mistake I executed the request. before completing I notice that "A" database in DEV Box went to restoring mode.
    Now, in middle I stopped the query but still I am seeing database "A" is in restoring state.
    Please guide me is there any way to bring database online with current data?
    2. Why sql server 2012 takes tail log backup of the existing database while restoring database with different name?

    Hi,
    check this link for the same issue and solutions:
    http://stackoverflow.com/questions/520967/sql-server-database-stuck-in-restoring-state
      Ronen Ariely
     [Personal Site]    [Blog]    [Facebook]

  • Updating Database From csv File in Web Dynpro Java

    Hi Gurus,
    I'd like to write an WDJ where the (super-)user can upload a csv file and delta-update the content of this file witch an external database.
    Could you please give some me hints & examples.
    Thanks in advance,
    Farid
    ps. answers will be rewarded with points, of cource.

    Hi Farid:
    From your question it seems like you want to write a WDJ application which writes a CSV file after connecting to a database and everytime you do so, updates the file with the new record from the DB.
    For this, I wouldnt think to write an application in WebDynpro since its an over kill, unless you want to host this appln in a portal environment and want it accessible for  a set of people.
    Ideally you could use the JDK api to open a connection to the database and then then file api to write to files. You would need to use an identifier somewhere to know the last record read and written to the file.
    Incase you put in the type of db you want to connect to, i could be of more help
    Thanks,
    LioneL

  • Import Database from dmp file

    Dear,
    I have export a database in Oracle 10g release 1 then can’t import the database successfully in oracle 9i release 1 because some errors are generated. Please help me how can I import the dump file into oracle 9i database without warnings.

    Use this work around
    Invoke export (exp) from 9i oracle home to export 10g database then import it in 9i database.
    Virag

  • Designing relational database from flat file

    hi all,
    I have little background in the filed of databases. As my work task I have to design a realtional databse from a flat file with 60 fields. would you please guide me how to or, the documents that i can refer to develop a good and efficient design.? I would appreciate your help and would love to work and read and learn to any level to get it right.have a good day

    user501335 wrote:
    Thank you very much Gerwin and Edstvens for your replies. I guess I must have elaborated a little more.
    Gerwin, I have gone throught the link you have sent me, and it was good to know that I am already aware of till this level.. Thank you for the help, can you please suggest little more so that i can go a little advance. we would be developing it for sql server2008.
    edstevens, So kind of you to send me a good suggestion.I will keep in mind while working on it.Would you please like to suggest me something more?
    No.
    If people would just get Third Normal Form burned into their brains, a lot of other problems would go away.
    wish you both a good day

  • SEEKING: Simple searchable content or database from XLS file

    I have a client I am creating a site for on BC (eMarketing Plan) who has a simple xls/asp driven database. They do not wish to upgrade to eCommerce - too much of a price jump for the WebApp feature.
    Basically, it would be a searchable list with roughly three categories. I thought of a custom search, but it would be a bugger to create a page for each entry.
    Is there a simple solution that could be used within the eMarketing plan to do what I am in need of? Something that might bring in the xls information and have it be searchable with a result?

    First thing to remember is that if you host the CSV file anyone could potentially download the entire thing so you'll have to make sure there are no privacy issues with that.
    You'll need something like this Papa Parse - Powerful CSV Parser for JavaScript it will load the CSV into something that is *more easily* searchable with JavaScript. Keeping costs down I would assume your search would be a "from start to finish" type as you could have mulitple records, and sorting will start to get expensive so you might want to order the CSV initally by date or name or something like that.
    There are with liquid other ways to do this with BC and JSON but I think the above solution might be easier to implement if you just want an export -> upload type of system.
    Info on sorting: Sorting algorithm - Wikipedia, the free encyclopedia

  • Attaching a database from downloads file

    HI ,
    I am trying to attach the adventure works db, into ssms, and have not been able to , i have searched the forum, the close answer i saw, was to put the path into a double column but it does not work,
    because as soon as i click enter, it autmatically append some path to the begining of the path i typr, thereby shifting the double column into the path, and i still get this error
      C:\Users\Public\Downloads\AdventureWorksDataFiles.zip" Cannot access the specified path or file on the server. Verify that you have the necessary security privileges and that the path or

    Quite interesting ! 
    Are you following the exact steps that is mentioned at the link AdventureWorksDatabase ? 
    Will you please try to attach with TSQL provided on the link, may be something like - 
    CREATE DATABASE AdventureWorks ON (FILENAME = '<<YourMdfFile>>'), (FILENAME = '<<YourLdfFile>>') FOR ATTACH;

Maybe you are looking for

  • Huge File Size Difference

    I cut a 110MB .mov file that was 7 minutes long down to 4 minutes but when I went to export the finisihed 4 minute movie as a .mov file it was over 1GB. Any ideas how I keep it the same size, if not smaller? I'm new to Final Cut by the way. Thanks

  • Bulk Fetch From an Oracle Sequence

    I am trying to get a range of sequence values from an Oracle sequence. I am using the option as show below using query SELECT SEQUENCE_NAME.NEXTVAL FROM SYS.DUAL CONNECT BY LEVEL <= 10. The above SQL gets 10 sequence value. I just wanted to to check,

  • Illustrator CS6

    I installed adobe CS6 on a clean Windows 7 64 system. Every time I launch Illustrator (64 or 32) I get error "Error loading plugins. Drop Shadow.ai." I have no idea how to fix this. Can anybody please provide some suggestions? Thanks! -billb

  • WLC - radius down, possible to have auth none as secondary?

    Lets say i have a 5508 wlc and have configured a wlan with web-auth and radius authentication The one and only configured radius server goes offline. In the event this should happen, is it possible to allow clients to connect anyway? auth none as sec

  • Component Parameters in Properties

    Hey gang, I've got some components with lots of properties. When I bring them into CS5, it alphabetizes the parameters in the Component Parameters window. I can't figure out a way to prevent this from happening. I've even gone to Component Definition