Moving 9.2.0.6 database files and redologs using dd command.

Hi at all,
I need to know if someone have take a cold copy of database (datafile and redologs) using dd unix command.
The trouble is related to the value to assign to "bs" during dd.
For datafile I know it has to do the same of block_size of tablespace. I'm not sure about the value to assign to "bs" for redologs.
Any suggestions are appreciated.
thank you in advance
Adriano
Ps. I'm moving the raw partitions of database files and redologs from HP-UX RISC 11.11 on SYMM8830 to HP-IA64 using lvm on HP XP24000 with veritas.
Edited by: adriano.ba on Oct 17, 2008 12:23 PM

Why copy the redo logs ? You would be shutting down the database before you run the "dd" to copy out datafiles. With a proper shutdown, if you copy datafiles after the shutdown, you don't need the redo logs.
Recreate redo logs at the target location.
You'd have to "simulate" an incomplete Recovery using "RECOVER DATABASE USING BACKUP CONTROLFILE UNTIL CANCEL " followed by "ALTER DATABASE OPEN RESETLOGS" so that Oracle allows you to do the RESETLOGS.
Or Recreate the ControlFile with a RESETLOGS in the CREATE CONTROLFILE.

Similar Messages

  • Today My c: drive crashed...i had all my oracle database files and others in other resp drives.How to start by DB again as my services are destroyed.?!

    Today My c: drive crashed...i had all my oracle database files and others in other resp drives.How to start by DB again as my services are destroyed.?!
    or how to create a service for the database i had previously ??
    any help
    Aravind.

    AravindanJ wrote:
    Today My c: drive crashed...i had all my oracle database files and others in other resp drives.How to start by DB again as my services are destroyed.?!
    or how to create a service for the database i had previously ??
    any help
    Aravind.
    Where did Oracle software reside before  the failure & now?
    How do I ask a question on the forums?
    https://forums.oracle.com/message/9362002#9362002

  • How to remove Database Files and Backup from ASM

    Hi All,
    Oracle Database 11.2.0.3
    OEL 5.7
    We have a host for restore purposes.
    We execute monthly or quarterly restore operations to verify that I am able to restore a subset of the data in the given amount of time or to other purposes.
    I have a automated script to Clone the Database, but to Clone Database we need remove the old database from ASM before start this operation. I want remove only Database files and keep the configuration (such as oratab/network/ocr and so on).
    Question: There is a easy way to remove these files without connect on ASM or by using DBCA?
    Appreciate any helps.

    user12028775 wrote:
    Hi All,
    Oracle Database 11.2.0.3
    OEL 5.7
    We have a host for restore purposes.
    We execute monthly or quarterly restore operations to verify that I am able to restore a subset of the data in the given amount of time or to other purposes.
    I have a automated script to Clone the Database, but to Clone Database we need remove the old database from ASM before start this operation. I want remove only Database files and keep the configuration (such as oratab/network/ocr and so on).
    Question: There is a easy way to remove these files without connect on ASM or by using DBCA?
    Yes... there is a easy way. Use command DROP DATABASE.
    Use the DROP DATABASE command to delete the target database and, if RMAN is connected to a recovery catalog, unregister it. RMAN removes all datafiles, online redo logs, and control files belonging to the target database. By default, RMAN prompts for confirmation.
    Put this command on your script before clone your database:
    RMAN> CONNECT TARGET SYS@test1
    RMAN> STARTUP FORCE MOUNT
    RMAN> SQL 'ALTER SYSTEM ENABLE RESTRICTED SESSION';
    RMAN> DROP DATABASE INCLUDING BACKUPS NOPROMPT;Regards,
    Levi Pereira

  • With Adobe Premier Elements 13 can I add my own audio tracks by pulling music from my files and by using my UBS microphone?

    With Adobe Premier Elements 13 can I add my own audio tracks by pulling music from my files and by using my USB microphone?

    larryh
    Please remind us on what computer operating system your Premiere Elements 13 is running
    Using your own music.....
    Yes, with important but.....
    Details
    If your music is from iTunes, more than likely you will get some sort of error message from the program when you try to import the iTunes music into Premiere Elements (most versions including 13). In that case, please convert the iTunes music to the wav version in iTunes using the following iTunes instructions.
    iTunes: How to convert a song to a different file format - Apple Support
    If you are getting program error message using Premiere Elements 13 Add Media/Files and Folder with other than iTunes music, please give the source and properties of that music.
    Using USB Microphone....Not recommended by Adobe....See Adobe ReMe
    Details
    As for Premiere Elements narration clips using the its Narration Tool
    1. Adobe documentation indicates the USB microphone do not work in Premiere Elements and suggest the use of microphones that connect to the computer via computer jack.
    But, there are some scattered cases where the user has found a USB microphone that has worked for him or her.
    2. Be sure to check Edit Menu/Preferences/Audio Hardware ASIO settings to assure that Input and Output are enabled.
    3. There have been reports (Premiere Elements several versions) where addition of narration using the Narration Tool results in loss of pre-existing
    sound on numbered audio track clips and soundtrack.
    ATR Premiere Elements Troubleshooting: PE12: Audio Losses After Narration Addition
    4. In my particular Premiere Elements 13 on Windows 8.1 64 bit, I have found that I need to set the Mic Sensitivity all the way to the left to avoid
    serious audio distortion.
    I have tried to give you an overview to avoid surprises if you have not used the features that you pointed to in your thread question. Please let me know if you need further information.
    Thank you.
    ATR

  • Disconnected Analytics Sybase Specified database file already in use Error

    Hi:
    what do i have to configure on the OBI Disconnected Client, because any time i try to create an a request in answers iin my disconnected application i get the following error
    Sybase][ODBC Driver][Adaptive Server Anywhere]Specified database file already in use. (HY000)
    Do i have to create an ODBC connection? Which db do i have to point?
    Thank in advanced
    Cheers

    Please see response in your ORA-27086: unable to lock file - already in use, Help

  • Convert .fmb and .rdf files to .txt using unix commands

    I want to know how to convert .fmb and .rdf files to .txt using unix commands
    Example ACCT_ACCOUNTS_ADMIN.fmb ---> ACCT_ACCOUNTS_ADMIN.txt
    agent_balances.rdf ---> agent_balances.txt
    NOTE: i don't want to use form builder or report builder.
    is there anyone who can help me
    Regards
    Harsh

    Thanks it helped and Just to add little bit on it
    for i in `ls *.fmb`
    do
    f60gen module=$i userid=$unpw forms_doc=yes batch=yes
    done
    Might help someone too.
    Thanks

  • Too many files and space used after Migration Assistant

    After running migration assistant to transfer my 2006 MacBook Pro (core duo) to my new 2010 MacBook Pro (i7), I noticed the amount of space used went from 87 gb to 144 gb. The number of files went from 816,834 to 981,311. Was this to be expected? That many new files and space used?
    One thing that happened on the first run was about an hour and half into the transfer it thinks it had lost the connection between the systems and would not restart. I had to quit the migration on the old system and reboot(power off and on) the new one. The re-run finished ok. It did think that the users on the old system were already on the new so I had it replace them. There were a few folders that indicated they were from the old mac and I deleted them.
    Also there were a lot of Disk Permission errors when I ran a Verify Disk Permissions which cleared up when I ran Repair Disk Permissions.
    Any thoughts/ideas on the disk space issue?
    running 10.6.3

    Solved.
    On the restart of the Migration Assistant, it duplicated my user directories and put them in a deleted users directory in /Users.
    I deleted that directory to free up the disk space.

  • I have an iPod video. My computer crashed, I have reinstalled iTunes, luckily I had back up of music so that's ok. I have photos on my iPod that I would like to transfer back to the computer as I lost them!! But it is a database file and I cannot open it.

    My computer crashed and I lost my photos, but had a backup of my music. How can I open the database file to transfer the pics back to my computer? Help please.

    You won't be able to, just by navigating out the iPod's photos folder in iTunes. You'll likely need the help of some sort of third party software to get the job done for you.  One thing you'll want to keep in mind about these photos is that they are no longer in their full resolution, but instead are scaled down thumbnail versions that were optimized for viewing on your iPod's Video smaller 2.5" LCD display.
    Here is one such product.
    http://www.macroplant.com/phonetopc/
    Google for more.
    B-rock

  • How to export data to .csv and send that file to folder using sql commands?

    Really hoping someone can provide some code sample or point me in the right direction (with examples using sql).
    I am using oracle 11g with plsql developer. My requirement is that the data retrieval should be automatic. That means when query a data in oracle table , the data should be convert into .csv file and then it should send that to some specific folder.
    Example: Assume that student_sub1 table have all students subject1 data.when i write a query like select * from student_sub1 where student=1, the student1 data should convert into .csv file and then the .csv file should go to student1 folder.
    Hence I am requesting you to suggest me how write a sql code to convert the data into .csv file and to create a folder to send that file using oracle.
    Your inputs helps me alot.
    Thanks in advance!!!!
    Waiting for your replies.... Cheers

    981145 wrote:
    Really hoping someone can provide some code sample or point me in the right direction (with examples using sql).
    I am using oracle 11g with plsql developer. My requirement is that the data retrieval should be automatic. That means when query a data in oracle table , the data should be convert into .csv file and then it should send that to some specific folder.
    Example: Assume that student_sub1 table have all students subject1 data.when i write a query like select * from student_sub1 where student=1, the student1 data should convert into .csv file and then the .csv file should go to student1 folder.
    Hence I am requesting you to suggest me how write a sql code to convert the data into .csv file and to create a folder to send that file using oracle.
    Your inputs helps me alot.
    Thanks in advance!!!!
    Waiting for your replies.... CheersSET COLSEP ,
    spool student1.csv
    select * from student_sub1 where student=1;
    spool off
    How do I ask a question on the forums?
    SQL and PL/SQL FAQ
    Handle:     981145
    Status Level:     Newbie
    Registered:     Jan 10, 2013
    Total Posts:     25
    Total Questions:     10 (8 unresolved)
    I extend my condolences to you since you rarely get answers to your questions here.

  • How to upload and download files and images using ibm db2?

    For my project i need to upload tutorials in pdf files and doc files to db2 and need to display them in jsp page.and also i need to insert images into db2.Please help me if u kno any of these.
    Thanks in advance.

    UsthadThegreat wrote:
    For my project i need to upload tutorials in pdf files and doc files to db2 and need to display them in jsp page.and also i need to insert images into db2.Please help me if u kno any of these.
    Thanks in advance.You know one of the most key elements of getting help in programming is to post sections of code, or preferably, working examples and then ask specific questions on things you would like to improve, don't understand, or just doesn't work.
    Without some displayed effort on your part, you are going to be fairly hard pressed to get any type of help.

  • Desktop like view of files and folders using Swing

    I have an application for upload/download of files from a server. The application is developed using swing and it works perfectly. Currently, the files and folders are displayed in a table view(using jtable) in which the file/ folder will be displayed with icon and extension in each row.
    I need to display these files and folders in a desktop like view. How can I implement this?
    Anees

    Any sample demos or links? Thats why people give you links to the Swing tutorial. The hope is that you will actually look at the Table of Contents and read the tutorial before you post a question.
    Or you could even read the JList API to find a link to the tutorial.

  • Database Updation and Insertion using Modify Statement

    Hi All,
    I am using Modify statment for data insertion and updation
    MODIFY zmpit_ven_bgg_rg FROM TABLE t_ven_bgg .
    But I am getting error
    The type of the database table and work area (or internal table) "T_VEN_BGG" are not compatible.
    I have defined my internal table of below type :
    TYPES : BEGIN OF ty_ven_bgg,
            mandt             TYPE mandt,
            lifnr                 TYPE lfa1-lifnr,
            bgg                 TYPE zmpit_ven_bgg_rg-matkl,
            ind                  TYPE zmpit_ven_bgg_rg-active_ind,
            created_by      TYPE zmpit_ven_bgg_rg-created_by,
            created_on      TYPE zmpit_ven_bgg_rg-created_on,
            last_changed_by TYPE zmpit_ven_bgg_rg-last_changed_by,
            last_changed_on TYPE zmpit_ven_bgg_rg-last_changed_on,
            remarks              TYPE zmpit_ven_bgg_rg-remarks,
            ind1(1)                TYPE c,
                 END OF ty_ven_bgg.
    Here, ind1 is not field  of the table.
    I have added a new field Remarks in the table and thus i included it in the Internal table also.
    Above Modify statement was working fine without Remarks field. I am not able to understand the error
    as work area is also of type ty_ven_bgg.
    Please suggest some solution.
    Regards,
    Nibha

    Hi,
    Though you have creaated one more internal tsble without the indc field, but you can do it using the same intrenal table by simply using
    1. MOVE-CORRESPONDING <internal table> to <ztable>.
    2.MODIFY <ztable>.
    will solve your problem
    Secondly declare the internal table using DATA after structure has been declared using TYPES.
    This is better approach to follow.
    Pooja

  • Parsing large xml file and display using swing

    Hi all,
    I want to read a large xml file and display graphically in swing as a tree structure.
    I implemented it and works fine for files of 5MB size after increasing the jvm heap size (-Xmx). If the file size is larger than 5MB it throws out of memory error. I'm creating a custom datastructure from the xml and I'm using sax parsing.
    After displaying the datastructure, the user could do some operation on this, like search etc.
    Can any of you suggest a method, to support larger files ? What I'm looking for is create the datastructure in file system, rather than in memory.
    Any other tips for memory management would be greatly appreciated
    Thanks in Advance.
    Nisha

    Use a memory-mapped file?
    http://javaalmanac.com/egs/java.nio/CreateMemMap.html

  • How feed many record in table component and not use append command again

    hi master
    How I feed Multiple records in table component and not use append and save command again and again
    Same as oracle grid
    I give many record and save one time
    Please give me idea how I add Multiple record and save one time not use append and save command again and again
    Thank�s
    aamir

    Hi!
    appendRow() method just add temporal row. For add them to DB commitChanges() method should be used. So you can use appendRow() method several times, fill every new row and only then use commitChanges() method. In this case all new rows will be added to DB per one time.
    Thanks,
    Roman.

  • Create a Access Database file and Dsn dynamically

    hi,
    in my program i have to dynamically create an Acess database (*.mdb) file. i would like to know if it is possible to do so and also if yes then also how to dynamically create a dsn to that dbase.

    hi,
    in my program i have to dynamically create an Acess
    s database (*.mdb) file. It might be possible via OLE/ADO. But that means JNI if you are using standard java.
    A common way around this is to deliver a 'blank' database with the application and just copy it whenever a new database is needed.
    i would like to know if it is
    possible to do so and also if yes then also how to
    dynamically create a dsn to that dbase.Creating a DSN again requires JNI or special tools to manipulate the registry.
    A common way around that is to use a DSN-less connection, so you don't have to create one. If you search this forum you will find examples of the connection string for that.

Maybe you are looking for

  • Text_io

    Hello World, In My application I need to write flat text files as from a PL/SQL script procedure. The application is third tier architecture, with a SGBDR server, a application server, and a Web server. The PL/SQL script procedure is running on the a

  • Issue in Installing Oracle EPM 11.1.1

    Hi all, I have an issue with my installation of EPM 11.1.1. My essbase products failed to register with the shared services Please Help!!!!

  • How to call XStep Editor from se38

      Hi Experts, I have requirement to call Xstep Editor, for Production order in ECC 5. I tried many classes to call Xstep Editor, but didn't get sucess. I used cl_cocr_cmx_xstep_editor CL_IM_COCR_CMX_BI_XSTEPS System didn't call Editor. Please help me

  • Using FCE4 for use in Commerce

    Are there any legal restrictions with FCE4 to produce DVDs that would be sold for my business? We have created some films with FCE and plan on selling these but wanted to make sure there were no issues with FCE. I thought I read something at some poi

  • Pavilion dv6721la muerta

    Hola tuve ayer un prblema con un portatil y no se que hacer, busco un posible solucion; Estube probando un Hp Pavilion dv6721 y su camara no servia, destape el portatil desconecte su camara, lo prendi y funciono correctamete, para descartar que los c