Oracle 10g on the backup of database offline of Windows Server - a few questions

I want to make an offline Oracle backup every night. Please tell me what you think of my plan.

First, run this batch file.
Set oracle_sid = PLDG
C:\oracle\product\10.2.0\bin\sqlplusw.exe/NoLog @c:\oracle\product\oradata\pldg\shutdb.sql
C:\oracle\product\10.2.0\bin\oradim-arret-SID srvc - shuttype PLDG
net stop OracleORADB10GTNSListenerPLDG

It is the shutdb.sql script that calls the batch above.
set echo on
coil C:\oracle\product\oradata\pldg\shutdb.log
connect /@pledgemaker as sysdba
immediate stop
spool off
output

.. .that must close the database.

Now I copy the files as the following queries three pulls up to another server.
SQL > select name from sys.v_$ datafile;

NAME
-----------------------------------------------------
C:\ORACLE\PRODUCT\ORADATA\PLDG\SYSTEM01. DBF
C:\ORACLE\PRODUCT\ORADATA\PLDG\UNDOTBS01. DBF
C:\ORACLE\PRODUCT\ORADATA\PLDG\SYSAUX01. DBF
C:\ORACLE\PRODUCT\ORADATA\PLDG\DRSYS01. DBF
C:\ORACLE\PRODUCT\ORADATA\PLDG\ODM01. DBF
C:\ORACLE\PRODUCT\ORADATA\PLDG\PLEDGEMAKER_DATA01. DBF
C:\ORACLE\PRODUCT\ORADATA\PLDG\PLEDGEMAKER_INDX01. DBF
C:\ORACLE\PRODUCT\ORADATA\PLDG\TOOLS01. DBF
C:\ORACLE\PRODUCT\ORADATA\PLDG\USERS01. DBF
C:\ORACLE\PRODUCT\ORADATA\PLDG\XDB01. DBF
C:\ORACLE\PRODUCT\ORADATA\PLDG\MAILING01. DBF
C:\ORACLE\PRODUCT\ORADATA\PLDG\BO516_REP01. DBF
C:\ORACLE\PRODUCT\ORADATA\PLDG\PLEDGEMAKER_DATA02. DBF
C:\ORACLE\PRODUCT\ORADATA\PLDG\PLEDGEMAKER_DATA03. DBF
C:\ORACLE\PRODUCT\ORADATA\PLDG\PLEDGEMAKER_INDX02. DBF
C:\ORACLE\PRODUCT\ORADATA\PLDG\PLEDGEMAKER_INDX03. DBF

SQL > select Member of sys.v_$ logfile;

MEMBERS
-------------------------------------------
C:\ORACLE\PRODUCT\ORADATA\PLDG\REDO01A. JOURNAL
C:\ORACLE\PRODUCT\ORADATA\PLDG\REDO01B. JOURNAL
C:\ORACLE\PRODUCT\ORADATA\PLDG\REDO02A. JOURNAL
C:\ORACLE\PRODUCT\ORADATA\PLDG\REDO02B. JOURNAL
C:\ORACLE\PRODUCT\ORADATA\PLDG\REDO03A. JOURNAL
C:\ORACLE\PRODUCT\ORADATA\PLDG\REDO03B. JOURNAL

SQL > select name from sys.v_$ controlfile;

NAME
---------------------------------------------
C:\ORACLE\PRODUCT\ORADATA\PLDG\CONTROL01. CTL
C:\ORACLE\PRODUCT\ORADATA\PLDG\CONTROL02. CTL
C:\ORACLE\PRODUCT\ORADATA\PLDG\CONTROL03. CTL


After copying the above files, I want to start the database up.  I first run this batch file
Set oracle_sid = PLDG
net start OracleORADB10GTNSListenerPLDG
C:\oracle\product\10.2.0\bin\oradim-demarrage-SID PLDG - starttype srvc, inst


Then run this script.
set echo on
coil C:\oracle\product\oradata\pldg\startdb.log
connect /@pledgemaker as sysdba
startup
spool off
output


-Is this comprehensive plan?
-File names three queries above collect never change in the future? Or are they the same?
-There are other files in the directory C:\ORACLE\PRODUCT\ORADATA\PLDG\, as TEMP01. DBF. I guess I ain't need to backup these files. Is this correct?



Thanks a lot for your help!

Edited by: DataHandle June 13, 2012 15:49

Your plan is overperforming tasks, there is no need stop Windows Service database and the listening Service. You can take your backup without it.

1) there are other files in the directory C:\ORACLE\PRODUCT\ORADATA\PLDG\, as TEMP01. DBF. I guess I ain't need to backup these files. Is this correct?

(2) Yes, if a new file is added to your database, it will be automatically displayed by your queries.

(3) Yes, you are right, there is no need to back up Temp files.

Rgds,

Ahmer

Tags: Database

Similar Questions

  • Are there possible ways to check the use of database applications on windows 8?

    Original title: use of data

    Are there possible ways to check the use of database applications on windows 8?

    SB

    If by data use you mean internet is used by desktop applications, you must install a 3rd party like net limiter tool.

  • How to set up a personalized message for the prevention of the installation of the software via group policy in windows server 2012

    Hello

    I would like to know how to set up a personalized message for the prevention of the installation of the software via group policy in windows server 2012 R2.

    I released some software in my field to a distribution point and I of installation for few of them software restriction policies. But I don't want the default next message below:

    "The system administrator has set policies to prevent this installation." This installation is forbidden by system policy. Contact your system administrator. »

    Instead, I would like to set up a custom message. Please tell us how can I do same by using Group Policy, if not available, what are the alternatives that I can use.

    This issue is beyond the scope of this site (for consumers) and to be sure, you get the best (and fastest) reply, we have to ask either on Technet (for IT Pro) or MSDN (for developers)
    *
  • How to restore the network icons and properties on Windows server 2008

    Original title: network properties

    What is the best way to restore the network icons and properties on Windows server 2008.  The properties of network share folder is empty and the internet icon is missing as well.

    Hi Mitch,

    I suggest that you post the application on Microsoft TechNet forum because we have experts working on these issues. You can check the link to post the same query on TechNet:

    http://social.technet.Microsoft.com/forums/WindowsServer/en-us/home

    Please do not hesitate to contact us if you have other questions related to Windows.

  • Client Windows 7 Professional DNS fails to resolve the name - when connectin to a Windows Server 2003

    A professional Windows 7 workstation is unable to resolve the name when connecting to a Windows Server 2003 server.

    I ran the Portqry tool and discovered a problem with the Port 53 and open this Port in the Windows Firewall on the client and Windows Server 2003.  However, it may not always resolve the name and I can't get the Windows 7 workstation to join the domain.

    Our DNS server is at the ISP, but enabled DNS on Windows Server 2003.  I can ping the IP address of the server from the Windows 7 client

    nslookup is solved using the FULL domain name.

    Any ideas on other settings, I need change and port that I need to open to allow?

    Thank you.

    To help with this problem, please go to the TechNet Windows Server forums .  They can help you better than we can in the Windows Vista forum. Boulder computer Maven
    Most Microsoft Valuable Professional

  • 10g R2 64-bit Oracle Database for MS Windows server 2003

    We are modernizing our 10.2.03 32 bit Oracle Enterprise DB on 32 bit MS windows Server 2003 to 10.2.0.3 Oracle DB 64 bit MS windows server 2003 Enterprise 64-bit
    I got this Metalink ID
    DOC - ID: 403522.1 how to migrate Oracle 10.2 10.2 64-bit Microsoft Windows 32-bit

    I've searched for 10g R2 64-bit Oracle databases versions on MS windows server 2003 but din't gent everything

    I'm not sure whether this database works for 64-bit MS windows server 2003

    http://www.Oracle.com/technology/software/products/database/Oracle10g/htdocs/10201winx64soft.html

    Please let me know where I can download 64-bit 10g Oracle Enterprise DB for 64-bit MS windows server R2 2003

    Have posted in
    "' English' community network technology" section downloads have not seen that the answers
    thought to post itre

    Thanks in advance

    If you are running the x 64 version of Windows 2003 and not the Itanium version, you'll find 10.2.0.1 here:
    http://www.Oracle.com/technology/software/products/database/Oracle10g/htdocs/10201winx64soft.html

    You can then the patch to 10.2.0.3 by downloading the patch from Metalink.

    Charles Hooper
    IT Manager/Oracle DBA
    K & M-making Machine, Inc.

  • Difference between the backup of database to copy and backup of database

    Hi all

    Kindly differentiate between backup database copy and backup of database.

    Thanks in advance.

    Hello

    With image backups, you have the option of two things:

    1. use these as rman backup and ask to restore them to the desired location (the same that we do in restoration of backupsets).

    2. tell the database to use these files.  This is possible by ' switch database copy. This is useful when the recovery will take a long time.  This allows you to move the users directly to the backup that you restore to the original location.  In other words, your database remains open with the users who access the copy.

    in both cases, you would:

    1 restore a controlfile

    2. the backup catalog

    RMAN > catalogue start with noprompt "/ backup location, in this case copy data files."

    3A. If you want to restore the database, so you might as same as usual:

    run

    {

    Set up until...

    newname Set...

    restore the database...

    recover the database...

    }

    ALTER database open resetlogs;

    3B. If you want to "switch" to the backup, you must run:

    switch database to copy;

    recover the database up to the...

    ALTER database open resetlogs;

    NOTE: before open resetlogs, remember that your online log file location is valid for the server on which you are restoring.  See:

    Select Member from v$ logfile;

    Thank you

    Renu

  • Create Tables with the project of database offline via command line

    Y at - it a there command-line tool that will allow me to deploy database objects that I defined in a project database offline in a target database? Something along the lines of ojdeploy. I want to be able to automate the creation /refresh of my db via the script items if the developers do not have to perform this task by opening jdev.

    Thank you
    Tony

    No, there is no (I answered on one of the other threads duplicate the OTN software is so fond of the creation to the present day)

  • Oracle Database 11g - with Windows Server 2008 R2

    Hi all respected gurus!

    Recently I downloaded the Oracle 11 g - R2 database.

    Will it work with Windows Server 2008 R2?

    Please guid of the GEM.

    Thanks in advance.

    Mohammed Uzair
    Oracle applications developer
    Oracle APEX developer
    Pakistan
    + 92 (333) 7058754

    Yes, it does not work.

    What are the results when you do?

  • Could not open the backup file Money99 after reinstalling Windows 8

    My Sony VAIO came with Windows 8, and I used Money99 on it without problem.  When I upgraded to Windows 8.1 and later Windows 10, I was able to restore the backup file I had saved on a USB key, and I continued using the program.  Today, I re-set my VAIO to factory settings because after 6 months with 10 Windows, I couldn't tolerate frequent them freezes and purple/blue screens of death.  I have re-installed Money99 through CD and it seems to work fine.  However, whenever I try to restore my backup file, it tells me it either cannot find the file or it is a read-only file.  I confirmed the file is located on the USB and it has not defined on read-only, hidden or archive.  He said: I have, the system and the administrator can all open it.  When I did a search on this subject, I couldn't find answers especially to Money99.  Others had the same problem with the more recent of the money, and some versions proposed to copy the backup file to the hard drive before you restore it.  I tried, but I get the same message.  I don't think that the USB is corrupted or damaged, especially after reading that others have had this same problem.  Does anyone have the solution? It would be much appreciated!

    Hello

    This is the best Forum of Money. Please post your query on the Microsoft Money forum for expert assistance.

    https://social.Microsoft.com/forums/en-us/home?Forum=money

    Hope this information helps. Please let us know if you need any other help with Windows in the future. We will be happy to help you.

  • How to restore the backup files of XP to Windows 8?

    I have all my XP data backed up using the backup/restore in XP.

    How to restore for Windows 8.

     
     
    (Microsoft: you told me to back up my XP data before the upgrade.) Fact!   You not me is not to use your own installation of backup.  Let programmers design the code yet?)
     

    There is a downloadable utility for windows 7 that will read and extract archives of backup of xp. I don't know if it will work in Win8, but even if it isn't, it may be easier to find a Win7 machine...

    Here is the tool and the info from Microsoft:

    http://Windows.Microsoft.com/en-us/Windows/restore-backup-created-previous-version-Windows#1TC=Windows-7

  • RMAN database under Linux Windows Server

    Dear colleagues! I need help.

    I have server Oracle 10.2.0.1 running Linux CentOS. I just set up rman for backup of this database to the local linux partition. Now I want set rman, then it starts from Windows 2003 (I already install the Oracle 10.2.0.1 for Wondows 32-bit client) backup of the database to the local Windows folder server. Could please answer, it is possible at all?
    When I try to manually perform the rman of Windows I got this error:

    channel t1: from room 1 to April 29, 10
    output channel: t1
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03009: failure of the backup command on channel t1 at 2010-04-29 03:07:32
    ORA-19504: cannot create the file '/u02/app/oracle/product/10.2.0/db_1/dbs/c:123 '.
    bak '.
    ORA-27038: created file already exists
    Additional information: 1

    1. you can run the backup of windows server 2003 that take your linux server RMAN backup. But this backup can only stored on your linux server.

    2. you cannot store the server linux to windows server backup set.

    Concerning
    Asif Kabir

    -brand your useful post as correct/useful.

  • The file size of data in Windows Server 2003 R2 x 64

    Hello

    I have an Oracle Database 10 g Release 10.2.0.4.0 - Production (single instance) on Windows Server 2003 Enterprise x 64 Edition, 64-bit of the IBM BladeCenter HS22.

    And I would like to know what is the maximum size that a database can reach in an environment like this?

    The real database, have 10 data files and each data file a giga bytes.

    Can someone help me!

    The maximum file size is determined by the block size. For a tablespace petit_fichier (which is almost certainly what you have), it is 4 M blocks, so if you use 8 K blocks (that you are almost certainly) the maximum size is 32 G. A bigfile tablespace can be blocks of 4 G.

  • database pervasive for Windows server 2008

    I am using Windows Server 2008 R2, I have a problem with the SQL database process eating my physical memory.  Is there a way to limit the amount of resources that he can shoot.  Also of databases SQL and Pervasive work well together or they can cause problems between them?

    Hello

    Your Windows XP issue is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the IT Pro TechNet public. Please post your question in the Forum Windows Server, you can follow the link to your question:

    http://social.technet.Microsoft.com/forums/en-us/winservermanager/threads/

  • [INS-32148] - the failure of executing the script "Install IM" on the nodes - RAC 12 c on Windows Server 2012

    I get this question during the Oracle 12 c Installer (Windows Server 2012) Network Infrastructure:

    [INS 32148] The execution of the script "Install IM" on the nodes failed: [node2]

    --------------------------------------------------------------------------------------------------

    Action - review the log to the file "C:\Program Files\Oracle\Inventory\logs\installActions2016-02-16_02-19-24AM.log" and 'C:\App\12.1.0\grid\cfgtoollogs\crsconfig\rootcrs_ < nodename > _ < timestamp > .log' for more details if an error occurs.  More details

    Execution of the IM installation script is successful on the nodes: the GI run script install [nodeX1] is has failed on the nodes: [nodeX2] - PRCZ-2014 Exception details: cannot run the "C:\App\12.1.0\grid\crs\config\gridconfig.bat" command on the nodes 'nodeX2 '.

    The execution status of the node failed: nodeX2

    Errors

    : Using the configuration settings file: C:\App\12.1.0\grid\crs\install\crsconfig_params|2016/02/18 05:08:54 CLSRSC-4000: Oracle Trace File Analyzer (TFA) collector is not supported on this platform. | [0 m: 2016/02/18 05:08:59 CLSRSC-363: prerequisite user during installation ignorered |] [0 m | 5:09:04 > Started | 5:09:04 > arguments 2 | 5:09:04 > C:\App\12.1.0\grid\bin\crssetup.exe | 5:09:04 > installFence | 5:09:04 > WARNING: failed to remove imagePath, continues.] The operation completed successfully. | | 5:09:04 > return 0 x 02016/02/18 05:10:42 CLSRSC-507: the root script cannot continue on this nodeX2 node because node operations have not completed the nodeX1 node or there was an error in obtaining the status of the operations of the first node. | [0 m |] D. in C:\App\12.1.0\grid\crs\install/crsutils.pm line 3691.

    Standard output

    : Using the configuration settings file: C:\App\12.1.0\grid\crs\install\crsconfig_params2016/02/18 05:08:54 CLSRSC-4000: Oracle Trace File Analyzer (TFA) collector is not supported on this platform. [0 m 18/02/2016 05:08:59 CLSRSC-363: prerequisite ignorered user during installation [0 m 05:09:04 > started at 05:09:04 > arguments 2 05:09:04 > C:\App\12.1.0\grid\bin\crssetup.exe 05:09:04 > installFence 05:09:04 > WARNING: delete imagePath, continuous failed.]] The operation completed successfully. 05:09:04 > return 0 x 02016/02/18 05:10:42 CLSRSC-507: the root script cannot continue on this nodeX2 node because node operations have not completed the nodeX1 node or there was an error in obtaining the status of the operations of the first node.  [0 m died at C:\App\12.1.0\grid\crs\install/crsutils.pm line 3691.

    --------------------------------------------------------------------------------------------------

    Anyone know?

    Thank you very much in advance

    Hello

    Why do you have the disks with different names and of different sizes?

    Node1:

    C:\Users\Administrator\Desktop\grid\asmtool>asmtool-Liste

    ORCLDISK1 \Device\Harddisk1\Partition1 51197 M

    ORCLDISKDATA0 \Device\Harddisk2\Partition1 M 30717

    ORCLDISK3 \Device\Harddisk3\Partition1 M 30717

    Node2:

    C:\Users\Administrator\Desktop\grid>asmtool-Liste

    ORCLDISK1 \Device\Harddisk1\Partition1 51197 M

    ORCLDISK2 \Device\Harddisk2\Partition1 M 51197

    ORCLDISK3 \Device\Harddisk3\Partition1 M 51197

    People should be equal disks are shared, aren't they?

    Kind regards

    Marco

Maybe you are looking for

  • SP M10 and port Replicator

    Hello! Have a M10 SP and the Port Replicator port and before that changed the screen resolution that it self. In the port replicator = 1200 * xxxx, outside port replicator = 1600 * xxxx. Now he pass not bu it self. What should I do to make it work ag

  • VIXIA M40 or R52 or R62 for shooting yourself written in the style of Vi Hart?

    I want to write in pencil on a sheet of paper lined loose leaf (e.g., school work) with a general fresh camcorder filming write me.  I want to make it crystal clear and readable, what I write. VI Hart post similar videos on YouTube, even though it us

  • Team Viewer

    everyone knows a company/site as above and who claim to represent Microsoft known as Tec support.

  • Customization of icons on Windows 7

    Hey, all! Here's my question. If there any way how to change folder icon (Windows 7) if there is no tab in customize?I want to be able to customize the icon of a folder. When I right click on the folder and select Properties, there is no customize (a

  • empty the recycling bin

    I accidentally emptied my recycling bin after that I put a lot of music files in it. is it possible to bring back these files?