Backup online / offline for Oracle 11 g on windows

Hello

I want some scripts to backup online / offline for Oracle 11 g on windows without the use of backup tools.
Also looking for something that we could use to put the database down, backup the data offline files, and then rise again. Scripts need to verify that the database is down cleanly,
been backed up successfully and was replaced and opened successfully.
If any of these steps fails, an alert notification should be displayed.

Thank you
Josiane

If that's what you are looking for, then please mark the post as answered and good response.

Thank you very much

Tags: Database

Similar Questions

  • Client Oracle for Oracle database 10g and Windows 2003 operating system...

    Hi all
    I need an Oracle Client for Oracle database 10g and Windows 2003 operating system.
    I searched www.oracle.com it there as much of products so basically that I got confused.
    Could you guide me please?

    Hello

    Here is the link: download (Oracle Database 10g Release 2 (10.2.0.1.0) customer - 10201_client_win32.zip (475,090,051 bytes) (cksum - 946434250)).

    Oracle Database 10g Release 2 (10.2.0.1.0)
    http://www.Oracle.com/technology/software/products/database/Oracle10g/htdocs/10201winsoft.html

    Kind regards
    Hussein

  • Create a second instance for Oracle 11 g on Windows Server 2008

    Hi gurus.

    I'm happy to be called a noob to this but could someone please help me. I would like to install\create a second instance of Oracle database on a Windows Server and I was wondering how to do this. Just use DBCA? And are there pitfalls that I should be looking out?

    I did once on an OEL5 install and I had to change environmental variables, but I think that the process is much easier on a machine under Windows environment.

    Help, please.

    Thank you

    800166 wrote:
    Thanks for the reply.

    If I create all the installation first and then create the second instance using dbca and what do you mean when you say properly configured net sql

    TNSNAMES. ORA must contain at least one entry for each instance

  • Where the SQL Scripts running after the installation of the ODAC for Oracle Client?

    I just installed ODAC for Oracle Client on a windows server that runs a database of sql server, allowing developers to connect to a web application to an Oracle/Unix database. The installation States to run SQL scripts, located in the $ORACLE_HOME\ASP.NET\SQL directory after installation. I don't know where to run them? On the ORACLE DB on the Unix server? If someone could let me know, I'd appreciate it. Thank you.

    You must run on the Oracle database server, but they are necessary only if you use Oracle for ASP.NET providers.

    If you just install the software, so you can use OLEDB with SQL Server linked server, for example, you don't need them. What do you need to run although if this is the case is the oramtsadmin.sql script that creates the objects used by the Oracle MTS Recovery Service (if you do not have these objects created on the database) that SQL Server uses a distributed transaction for Oracle connections I think.

    It will be useful,
    Greg

  • Confusion in the Docs of Oracle for oracle 11G Release 2

    According to the Oracle Docs Library for Oracle 11 g Release 2 (11.2), in http://docs.oracle.com/cd/E11882_01/server.112/e25494/tspaces005.htm#ADMIN11375, "* when you specify NORMAL in offline mode, the database takes a control point for all data storage files, since need them offline." I tested it in my Studio to Test as shown below:--
    < > > > > > >

    SQL > select checkpoint_change # database v$.

    CHECKPOINT_CHANGE #.
    ------------------
    12915076

    SQL > ALTER TABLESPACE TEST_1 normal offline;

    SQL > select checkpoint_change # database v$.

    CHECKPOINT_CHANGE #.
    ------------------
    12915076
    SQL > alter tablespace TEST_1 online;

    Tablespace altered.


    SQL > select State from dba_tablespaces where nom_tablespace = 'TEST_1 ';

    STATUS
    ---------
    ONLINE

    SQL > select checkpoint_change # database v$.

    CHECKPOINT_CHANGE #.
    ------------------
    12915076


    In short, I took the 'TEST_1' tablespace offline normal mode and back again online, but the number unchanged checkpoint remains that violates the Oracle documentation. Posted below in my versions of Oracle database installed: -.

    SQL > select * from v version $;

    BANNER
    --------------------------------------------------------------------------------
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - Production
    PL/SQL Release 11.2.0.2.0 - Production
    CORE Production 11.2.0.2.0
    AMT for Linux: Version 11.2.0.2.0 - Production
    NLSRTL Version 11.2.0.2.0 - Production


    Any comments / entries from anyone here is going to be great!

    Published by: 918868 on July 27, 2012 03:22

    When a data file/tablespace is offline, begin to put in backup mode, only playback mode.

    Aman...

  • Is it possible to install oracle fail-safe-kind-of (active-passive) SAN replication for oracle?

    Dear Experts,

    Is it possible to configure replication of SAN (active-passive) integrated security for oracle for oracle?

    To get the RTO < 60 seconds

    • If the primary host fails, the remote site should have the option to start the oracle database.
    • Sites are geographically remote.

    SAN storage replication, can it be used in my scenario?

    • I have no option to implement oracle Data Guard as its very expensive.

    Is that what someone achieved something similar with SAN storage replication?

    • I have oracle SE.
    • It is obvious that the all-flash backup can be quick.

    What should be the strategy to have DR site get a few seconds, if the primary site failed for some reason any

    • Daily incremental backup with RMAN. And archive backup runs for every 1 minutes
    • To have the site of DR upward and running within 60 seconds, it still requires too much time to restore the database on remote site and have archive APPLIED setpoint
    • What could be the solution with san replication? RTO is 60 seconds

    Thanks and greetings

    SAN storage replication, can it be used in my scenario?

    I have no option to implement oracle Data Guard as its very expensive.

    --> If you want to use the data that it is free of CHARGE, additional license is not required for normal data guard

    --> additional license is only for the ADG

    Is that what someone achieved something similar with SAN storage replication?

    I have oracle SE.

    It is obvious that the all-flash backup can be quick.

    --> Here, I understand that if oraclle EA is going to be expensive

    --> Again, you can use manual standby

    --> What you are looking for SAN replication, you will need to check with the storage vendor

    --> If your intention is to check with oracle storage, then this may be the correct discussion room

    What should be the strategy to have DR site get a few seconds, if the primary site failed for some reason any

    Daily incremental backup with RMAN. And archive backup runs for every 1 minutes

    To have the site of DR upward and running within 60 seconds, it still requires too much time to restore the database on remote site and have archive APPLIED setpoint

    What could be the solution with san replication? RTO is 60 seconds

    --> If your intention is to check with oracle storage, then this may be the correct discussion room

    Check in this

    https://community.Oracle.com/community/Server_%26_storage_systems/storage

  • restore point warranty Vs catdwgrd.sql downgrade for oracle 12 c


    I understand that we have two ways to downgrade (assuming that the compatible parameter is not modified) when upgraded us a 11.2.0.3 database for oracle 12 c.

    I am curious about the benefits of catdwgrd.sql compared to the guarantees of restore point downgrade. I think that the guaranteed restore point seems very simple

    compared to catdwgrd.sql. I also think that oracle brings exactly the database in the same State when we use catdwgrd.sql, while

    guaranteed restore point brings back us to the State.

    Thank you

    Delphine

    Method you choose depends on your circumstances. This blog can help

    https://blogs.Oracle.com/upgrade/entry/is_there_a_fallback_strategy

    A third option is to restore the database backups

    HTH
    Srini

  • Model reusable SQL Oracle to create a DDL/DML Scripts for Oracle database

    Hello


    I have an obligation to set up a model of Oracle SQL to create the Scripts DDL/DML reusable for Oracle databases.
    Only the Oracle DBA will run scripts permissions is not a problem.

    The workflow for any DOF is as follows:-

    (1) new table

    a. check whether the table exists in the views system/admin.
    b. If the table exists then give message "Table exists".
    c. If the table does not exist then run DDL code

    (2) add the column

    a. check if the column exists for a given table of the system/admin views
    b. If the column exists in the specified table.
    B1. backup table.
    B2. ALTER table alter column
    B3. check data or execute convert dml sauvegardΘ to the new change script.
    c. If the column does not exist
    C1. backup table
    C2. ALTER table add column
    C3. Run dml to populate the column with the default value.

    The DML scripts are to populate the base tables with the data required for business operations.

    (3) addition of new line

    a. check if the line exists by comparing the old values of each column with the new values to be added for the new record.
    b. If there is, to give message line is
    c. If not exists, add the new record.

    (4) update existing record (we createtime columns in these tables as well as changes can be tracked)

    a. check if the row exists using the primary key.
    b. If there is.
    B1. off the record by using the "active" column of the table
    B2. Add new record with the necessary changes.
    c. If does not exist, add the new record with the necessary changes.

    Could you please help with some ideas that can get this done with precision?
    I tried several ways, but I am not able to set up something that meets all the requirements.

    Thank you

    If it helps at all. Sometimes we have a requirement for a DDL statement to be rerunable and her only error if something completely unexpected happens.

    It's a little monstrous, but basically, we wrap all DDL in a dynamic statement and capture errors that would indicate that the DDL script has already been run:

    Here's a bit of a model:

    declare
       w_ddl varchar2(32767);
    begin
       begin
          --
          dbms_output.put_line('Creating table TABLE_NAME');
          --
          w_ddl := 'CREATE TABLE MY_SCHEMA.TABLE_NAME
                    ( COLUMN_1     DATE          NOT NULL
                     ,COLUMN_2  VARCHAR2(10)  NOT NULL
                     ,COLUMN_3  DATE
                    )';
           --
          execute immediate w_ddl;
          --
          dbms_output.put_line('Successfully created table TABLE_NAME');
          --
       exception
          when others then
             if sqlcode = -955 then
                dbms_output.put_line('Table Already exists.');
             else
                dbms_output.put_line('creation of table TABLE_NAME failed:');
                dbms_output.put_line(sqlerrm);
                raise;
             end if;
       end;
    
      begin
          --
          dbms_output.put_line('Creating unique primary key constraint for TABLE_NAME');
          --
          w_ddl := 'ALTER TABLE MY_SCHEMA.TABLE_NAME ADD (
                   CONSTRAINT TABLE_NAME
                   PRIMARY KEY
                   (TABLE_NAME_ID) USING INDEX)';
           --
          execute immediate w_ddl;
          --
          dbms_output.put_line('Successfully created primary key on TABLE_NAME_ID');
          --
       exception
          when others then
             if sqlcode = -02264 then
                dbms_output.put_line('constraint already exists.');
             else
                dbms_output.put_line('creation of primary key failed:');
                dbms_output.put_line(sqlerrm);
                raise;
             end if;
       END;   
    
    <>
    

    It works well with our scripts to autmoated and help us when we iterate through development and back in if needed test environments.

    In this way, we can add the DDL statements to the deployment script and run the script again without error to set the database to the State required without having to run the newly created statement only.

    Sometimes this approach translates into a creation followed a statement alter table statement to add a column, but the end result of the script is always the same, and the deployment script can be controlled at source between iterations of development that is without having to restore the ddl changes to test the modified DDL script.

    hope that gives you some ideas.

  • create a database for Oracle FailSafe

    Hello
    I should create a database and in the next step, install oraclefailsafe to use another server to pass if the first crash. Then I created the SERVER1 database (with all the files on a shared file system).

    Now how can we establish the 'same' database on SERVER2?

    Thank you.

    I'm reading: Oracle® Fail Safe
    Concepts and Administration Guide
    Version 3.3.3 for Windows
    Reference No.. B12070-01
    December

    But do not see the answer to my question.
    Thank you.

    Please tell me if my question is clear?

    First, Oracle FailSafe is "low availability environment. The number of problems associated with the Services of Cluster MS FailSafe (including errors of the operator or configuration problems) far exceeds number of problems with Oracle running on a single node. Yes, your manager will be able to show the listeners that they perform configuration high availability. But in my experience, this does not work in real life (perhaps because we were not allowed to run Oracle and FailSafe as LocalService, but we had to use domain accounts - this added much more complexity). In any case, my personal experience with this security was bad.

    Back to your question... You do not create a database on SERVER2. You only need to install all the necessary software - software for Oracle database and integrated security software (if placed on a shared drive). All services on the server SERVER2 are created automatically when you add your database to the cluster. When your OracleService on SERVER1 crashes (for example - a complete crash of SERVER1 does cause no heartbeat data to write on a quorum disk) then FailSafe will mount disks shared to SERVER2 and start OracleService on SERVER2 (this is why OracleService should be set to manual - must not be started by Windows when the system starts) (, but only when you are prompted by the integrated security service). It's the same database - data online redo logs and control files. So, there is no second database on SERVER2. From the application point of view, a crash of Server1 "is seen" as a very fast server reboot. All connections are interrupted, the database gets bounced.

  • take offline for 8 hours standby

    Hi all

    I currently have a dataguard gr 10, 2 with FSFO database running. Our secondary data center is moved, so I need to take the day before offline for about six hours and then he back on the line.

    My question is what the best approach is to disable the FSFO and stop the day before to receive the archivelogs. so when my server is back online catch up the archivelogs?

    Hello

    Simply disable the FSFO first. (and stop the observer also uses OEM, you can do it while disabling, with dgmgrl, you must stop an observer first and then disable the FSFO)
    Disable the standby applying newspapers on the side of the watch.
    Disable the log on the primary shipping.

    Once your work on the side watching over you, just put it all again and when Eve using logs and is up to date, turn back the FSFO.

    Loïc

  • Old Macbook Pro is offline for a year

    I have my old Macbook Pro that has been offline for about a year. Because he got a new and because I was sent, and then I thought I lost my charger. I found my charger and got it running, but all the keys Apple are outdated and I can connect to the app store to update.

    It sets obtained. I had to update the date and time. I unchecked all date and time automatically and then re-checked. Which it then automatically updated.

  • How can I disable Chat in v8.0? Or, at least, say that I'm offline for some bimbo wanting to talk to me whenever I start FF?

    How can I disable Messenger Chat in v8.0? Or, at least, say that I'm offline for some bimbo wanting to talk to me whenever I have started with Yahoo mail?

    Sorry, I somehow wrong posted this under the mail filters first.

    Yahoo Messenger is a feature of the new version of Yahoo Mail. Connect to your Yahoo Mail account and go to the Messenger options to turn off it.

  • Online price for my old silver update has stopped working yesterday. Microsoft has finally pull the plug?

    Online price for my old silver update has stopped working yesterday. Microsoft has finally pull the plug?

    The solution was found in the forum by MithB3

    http://support.Microsoft.com/kb/873204/en

  • I'll be able to restore the backup taken before improving the operating system of Windows Vista Edition home premium for Windows-8

    I'll be able to restore the backup taken before improving the operating system of Windows Vista Edition home premium for Windows-8

    Hi GOURGOPALGHOSH,

    Welcome to the Microsoft community. Yes, you will be able to restore the backup before the upgrade to Windows 8. Follow these steps:

    (a) press the Windows key + W.

    (b) type of recovering files of Windows 7 , and then press enter.

    (c) restore files.

    I hope this helps. Let us know if you need more assistance.

  • Microsoft activation error activation server is not available to Microsoft's Activation Server is currently offline for regular maintenance or upgrade, or she may have technical difficulties now activating the Microsoft Reader

    Original title: Reader Activation - down for Mainentance... for weeks?

    When I try to activate my Microsoft Reader on Windows Mobile 6.5 (on a Samsung Omnia ii) or Windows 7 Home 32 bit, I got the message: Activation activation error Server Microsoft is not available to Microsoft's Activation Server is currently offline for regular maintenance or upgrade, or she may have technical difficulties now. Please try to activate later. At first I waited patiently the mainenance remaining or the technical problem to be solved... but I now have the message every time I tried to turn on the last two weeks. The server is really low? How the world do we get support on MS Reader? There has been a lot of complaints about the support for this product. Normally, I was able to get my camera Windows Mobile works, but lately nothing works. The Windows Mobile device appears somewhat spoil the activitation and demanded each month reactivation couple... but now I can not get anything to activate and it seems to be a server problem, not a PC or device issue. If someone has never penetrated the MS ranks to find someone who really knows what happens, please advise kindly. Thank you Joel at Bellevue

    Interestingly, I tried to activate MS Reader on my HD2 tonight in preperation to give to my girlfriend (I'm getting a feeling tomorrow, she has several seldomly but I hope she'll get into the Kindle as the HD2 duel boots into Android).

    My laptop is running W7 Pro with IE9, I'm a domain administrator.

    Race through the activation that I generated an error 500 on the server each time.

    With IE9 "Run As" administrator, it works.

    I hope this helps.

Maybe you are looking for

  • Satellite A80 - 49 error during the installation of recovery code

    Hello I have a Toshiba Satellite A80. The computer crashed. I inserted the Windows recovery disc and error #49 with writing problem appeared. I wonder what wrong with my laptop. What is a hard drive problem?Can someone help me? Thank you.

  • V7-482PG-9617 10 Windows crashes on sleep

    Hello... I tried to search the forums and do not see an answer to this. My apologies if someone has answered this question and thank you if you could point me in the right place. I had an upgrade my V7-482PG-9617 to Windows 10. Whenever I install, au

  • accidental formatting of factory installed recovery partition

    I accidentally formatted partition recovery plant installed in my pc hp Pavilion dv6 laptop and it has cleaned all information computor partiton d. There is another section of the laptop that has this information, which can be moved to the d partitio

  • Cropping the image

    Hi I want to crop a part of the Image, so that I have used following code: int x = 20; int y = 50; int [] rgbdata = new int [(0+width-x+height-y) * (image.getWidth ())]; image.getARGB (rgbdata, 0, image.getWidth (), x, y, width, height); cropedImage

  • How can I reinstall the Creative Cloud 2014 (Photoshop)?

    How can I reinstall the Creative Cloud 2014?