Bkp_restore.sh

we are running OAS 10.1.2 and need to backup Middle Tier which is on separate Server.
What is essentional to Backup (whole DB or only Conf files)

See the backup and recovery chapters in the Oracle Application Server Administrator's Guide for some recommendations:
http://download-west.oracle.com/docs/cd/B14099_19/core.1012/b13995/br_intro.htm#i1011346

Similar Messages

  • Bkp_restore.pl -m configure (Help Needed)

    I have been working on Backup and recovery tool. And I m not able to configure the it. The steps are as follows..
    1)I have installed FORMS AND REPORTS SERVICES 10G 90401
    2)From rep_ca (32bit) utilities cd copy backup_restore.tar and unzip in D:\fr_services
    3) Make directories
    mkdir C:\backups\log_files
    mkdir C:\backups\db_files
    mkdir C:\backups\config_files
    4) edit config.inp
    5)D:\fr_services\backup_restore\bkp_restore.pl -m configure --it is not updating config.inp files  it just gives usage tips and examples
    Usage Tips :
    Usage Examples :
    So how to execute this command and update the config.inp file ?
    how to configure backup and recover tool.?
    And where I go wrong.
    I will b greateful 2 all of u
    rana

    Hi Rana,
    if you are working on a Windows environment you should put perl in front of the command... so: perl bkp_restore.pl -m configure
    (make sure your path environment variable is set to the directory in which perl.exe is located)
    Kind Regards

  • Error during Backup/Recovery settings configuration

    Hi all,
    Using the Oracle Enterprise Manager 10g Application Server control,
    i am configuring backup/recovery settings for my infrastructure tier in a 10g Rel 2 application server environment. however after specifying the various locations for Log Files, Configuration files, Metadata repository database backup etc i get the following error after clicking the 'Ok' button.
    An Internal Error has occurred while performing the operation.
    Performing configuration ...
    oracle_sid: cinfra
    The command /oracle/appn/oracle/infra/perl/bin/perl /oracle/appn/oracle/infra/backup_restore/bkp_restore.pl -m configure -h /oracle/appn/oracle/infra -f > /infrahome/backups/log_files/2009-12-06_17-13-38_output.log failed with return code 255
    i am at a loss as to why i am having this error and how to fix it.
    I examined the log file and saw an error snippet saying
    *"Unable to get dbid from the database. Please ensure that ORACLE_HOME and ORACLE_SID are set to the same values used when starting up the database and that the database is open.... Failure: Configure failed"*
    Also examined another file generated at the same time as the output log file and in there i saw the following
    *"ld,so.1: oracle: fatal: relocation error: file /oracle/appn/oracle/product/10.2.0/cm2t/lib/libjox10.so: symbol kgestKguard_: referenced symbol not found*
    *ERROR:*
    *ORA-12547: TNS: lost contact*
    *SP2-0751: Unable to connect to oracle. exiting SQL*Plus"*
    Apart from the infrastructure database, i have another database with SID 'cm2t' on the same machine and i am suspecting that OEM Application server control is referencing the wrong file while it's doing it's work. How do i tell it to look in the right place if indeed that is the cause of my problem?
    In my config.inp file all the right parameter values are in place.
    Thanks.
    Steve.

    Hi AMN,
    Thanks for your reply. I managed to solve it by taking the following steps.
    I use the runstartupconsole.sh script to start up my infrastructure tier. At startup it was using an LD_LIBRARY_PATH pointing to that used by an existing Oracle database instance on the same machine.
    I set ORACLE_HOME, ORACLE_SID, LD_LIBRARY_PATH etc correctly before running the runstartupconsole.sh script and after that i was able to setup my backup/recovery settings properly.
    I hope this will be useful to others.
    Steve.

  • OAS 10.1.2.0.2 BI + Forms + Reports + Infrastructure DB - consist backup

    Hello!
    i Have created two scripts :
    Backup_middle.sh
    rm -rf /oracle/backup/middle/*
    su - oracle -c "export ORACLE_HOME=/oracle/middle && /oracle/middle/backup_restore/bkp_restore.sh -vm configure > /skrypt/backup-middle.log && /oracle/middle/backup_restore/bkp_restore.sh -vm node_backup -o prepare >> /skrypt/backup-middle.log"
    export ORACLE_HOME=/oracle/middle
    /oracle/middle/backup_restore/bkp_restore.sh -vm node_backup -o image_backup -P /oracle/backup/middle >> /skrypt/backup-middle.log
    chown -R oracle:oinstall /oracle/backup/middle >> /skrypt/backup-middle.log
    Backup_infra.sh
    rm -rf /oracle/backup/infra/*
    su - oracle -c "export ORACLE_HOME=/oracle/infra && /oracle/infra/backup_restore/bkp_restore.sh -vm configure > /skrypt/backup-infra.log && /oracle/infra/backup_restore/bkp_restore.sh -vm node_backup -o prepare >> /skrypt/backup-infra.log"
    export ORACLE_HOME=/oracle/infra
    export ORACLE_SID=orcl
    /oracle/infra/backup_restore/bkp_restore.sh -vm node_backup -o image_backup -P /oracle/backup/infra >> /skrypt/backup-infra.log
    chown -R oracle:oinstall /oracle/backup/infra >> /skrypt/backup-infra.log
    If i run frist script backup_middle.sh and wait for finished then i run sceond script backup_infra.sh wait for finished is my cold backup will be consist?
    Regards - Marcin

    Hi,
    Why you do not use cp -pR command to take an cold back-up of your midtier & infra?.
    Regards,
    Hamdy

  • Backng up failed with return code 255 ...Help!!!

    Hi,
    I am in a process of backing up Oracle application server 10g through "Configure Backup/Recovery Settings" feature of the app server, when I provide the directories for:
    1. Log File Location     
    2. Configuration Files Backup Location     
    3. Metadata Repository Database Backup Location
    4. Metadata Repository Database SID
    and click on OK it provides me the following error:
    "The command <ORACLE_HOME>/perl/5.6.1/bin/MSWin32-x86/perl.exe <ORACLE_HOME>\backup_restore/bkp_restore.pl -m configure -h <ORACLE_HOME> -f > <ORACLE_HOME>\backup_restore\logs/2008-12-06_13-36-02_output.log failed with return code 255"
    And the log file says -"Unable to get dbid from the database."
    Please Help..!!!
    Thanks

    This turns out to be a non-issue. I re-installed JDK 1.6,
    thinking this might have been the problem, but as it turns out,
    this Windows machine was a VM, and there haven't been any issues
    with other VM's, only this one, leading me to conclude the problem
    was the VM. We've since migrated off this machine and recycled
    it.

  • Restoring SOA suite on a new host fails.

    SOA Suite is 10.1.3.1, and upgrade to 10.1.3.3.1.
    this suite run on windows 2003.
    I do the restore according to admin guide chapter 18.3.3
    but when run the 3rd step
    bkp_restore.bat -m node_restore -o inst_register
    it prompts:
    Service Oracle-OracleSOAServerProcessManager in a state that can't be recreated.
    Please remove it manually first.
    I have checked, there is no Oracle-OracleSOAServerProcessManager service on the new host.
    any suggestion?

    Do this.
    Stop services in A, make a copy of all Oracle Home, etc/oratab, /var/opt/oracle and so on
    and coppy them to the B.
    Then in B, restore the copy and make a chmod -R 750 for the complete ORACLE_HOME, then run the root.sh
    After that, just make a little change in the host file, and put as an alias the name of A in B.
    Then run the script $OH/chgip/scripts/chgiphost.sh -mid
    and for the source use a and target use b for name and ip.
    Check the log and if it's ok, just remove the name of A in the host file as alias.
    Hope this helps.
    Regards.

  • Restoring on a new host fails.

    it is SOA Suite 10.1.3.1, and upgrade to 10.1.3.3.1.
    this suite run on windows 2003.
    I do the restoring action according to admin guide chapter 18.3.3
    but when run the 3rd step:
    bkp_restore.bat -m node_restore -o inst_register
    it prompts:
    Service Oracle-OracleSOAServerProcessManager in a state that can't be recreated.
    Please remove it manually first.
    I have checked, there is no Oracle-OracleSOAServerProcessManager service on the new host.
    what does this means, and how to resolve? any suggestion?

    Do this.
    Stop services in A, make a copy of all Oracle Home, etc/oratab, /var/opt/oracle and so on
    and coppy them to the B.
    Then in B, restore the copy and make a chmod -R 750 for the complete ORACLE_HOME, then run the root.sh
    After that, just make a little change in the host file, and put as an alias the name of A in B.
    Then run the script $OH/chgip/scripts/chgiphost.sh -mid
    and for the source use a and target use b for name and ip.
    Check the log and if it's ok, just remove the name of A in the host file as alias.
    Hope this helps.
    Regards.

  • Application server Disaster Backup

    Hello all,
    Is there any way to do a complete backup of all application server and put on tape for disaster like something like rman for database?
    I know cloning for app server, but if I want do weekly disaster backup, is it reasonable to run pre-clone, clone and put on tape every week?
    Thanks in advance,
    Arvin

    Yes, you can tar and zip the files for the application server files to tape.
    Also, Oracle 10g Application Server provides a backup and restore utilty in the format of a shell script called
    bkp_restore.sh on Linux/UNIX platform and bkp_restore.bat on Windows.
    Here is a good tutorial on how to backup and restore Oracle 10gAS:
    http://www.oracle.com/technology/products/ias/hi_av/backup_recovery.htm
    Details on backup and recovery with 10gAS:
    http://download-west.oracle.com/docs/cd/B15904_01/core.1012/b13995/br_tool.htm
    Also, to backup and recover the 10g Application Server infrastructure database you can use RMAN since it is an Oracle database.
    Cheers,
    Ben Prusinski, Oracle ACE, Oracle Certified Professional (OCP)

  • Mailbox backup on mail server

    Hi,
    can anybody tell me how a server based backup of individual mailboxes (done by an administrator) and the related restore is supposed to be done? Server is 10.7.4 with no third party software.
    BTW: if an Open Directory user account gets deleted accidently and a new account with the same name and UID, but a different OD identifier (which seems to be used by dovecot) is created: how do I transfer the mail between them (meaning there dovecot IMAP stores)?
    Kind Regards
    COWegner

    Hi Sultan,
    1. Create a directory for storing the backup files
    2. Modify the parameter "config_backup_path" in the config.inp.
    3. Then run the following command:
        bkp_restore.sh -m configure
    Regards,
    Prakash.

  • AS Guard switchover failed.

    OS : hpux B11.11
    Oracle AS infrastructure 10.1.2.0.0
    ASG toolkit 10.1.2.0.2
    Situation: Infrastructure installed on both production and standby machines, the ASG relation can be built. Then I use the following command to try the switchover:
    ==============================================
    $ asgctl.sh
    Application Server Guard: Release 10.1.2.0.2
    (c) Copyright 2004, 2005 Oracle Corporation. All rights reserved.
    ASGCTL> connect asg production ias_admin/password
    Successfully connected to localhost:7890
    ASGCTL> set primary database sys/password@infradb
    ASGCTL> switchover topology to [standby]
    ==============================================
    The AS config and the database can be Synchronized. Then
    the opmn services start on standby machince, error existed.
    ==============================================
    customs2:7890 (home /as_db/app/oracle/product/10.1.0/infradev)
    Starting each instance in the topology
    Starting component OID
    Starting component dcm-daemon
    Configuring the backup script
    Executing restore_config -F DCM-resyncforce option in bkp_restore.pl script
    customs2: -->ASG_IAS-15701: Failed to restore configuration with the DCM-resyncforce option for instance "infradev.customs2.is.customs.hksarg"
    customs2: -->ASG_IAS-15690: Error running the restore script
    customs2: -->ASG_DUF-4040: Error executing the external program or script. The error code is "255"
    customs2: -->ASG_SYSTEM-100: Problem running command (Returned 1)
    customs2: -->ASG_SYSTEM-100: /as_db/app/oracle/product/10.1.0/infradev/dcm/bin/dcmctl resyncinstance -script -force
    customs2: -->ASG_SYSTEM-100: Unable to resync the instance using dcmctl !!!
    customs2: -->ASG_SYSTEM-100: Failure: restore_config failed
    customs2: -->ASG_SYSTEM-100: See /as_db/app/oracle/product/10.1.0/infradev/dsa/backup/log/2007-01-29_16-32-05_restore_config.log for more info.
    customs2: -->ASG_SYSTEM-100: Use of uninitialized value in split at /as_db/app/oracle/product/10.1.0/infradev/perl/lib/5.6.1/Cwd.pm line 103.
    Executing opmnctl startall command
    ==============================================
    I check the opmn log ($ORACLE_HOME/opmn/logs/opmn.log) and find the following messages:
    ==============================================
    OPMN worker process exited with status 4. Restarting
    In line 2 of $ORACLE_HOME/opmn/conf/opmn.xml:
    LPX-00224: multiple occurrences of attribute "xmlns" found
    XML parse failed: error 224.
    ==============================================
    I fixed the file $ORACLE_HOME/opmn/conf/opmn.xml and run the command
    $ORACLE_HOME/dcm/bin/dcmctl resyncinstance -script -force
    but the error still exists, the command create a new opmn.xml every time.
    Any ideas about this problem? Help greatly appreciated.

    Hi John,
    Please let me know the post install you did to get Standalone ASG working. I installed standalone ASG for the first time so I was confused with the workaround given in 429530.1. How can I rename jazn.xml to original name as this is the first installation of ASG and not an upgrade... I got following error after performing workaround as per 429530.1.
    ASGCTL> connect asg d-4148.kpit.com ias_admin/********
    d-4148: -->ASG_DUF-4950: An error occurred on host "d-4148" with IP "10.10.24.74
    " and port "7891"
    d-4148: -->ASG_DUF-3020: Failed to authenticate user "ias_admin". Please enter the correct user name and password.
    [email protected]

Maybe you are looking for

  • Error while invoking ESB process from a BPEL process

    Hi all We have a requirement to call an ESB process from a BPEL process. We are using an adapter wth the ESB's WSDL url. After deploying the BPEL process, the registered ESB is getting called for most values while suddenly some values return the foll

  • Creation of the rss xml feed url and the xml itself

    Hello all. I know this question has been answered before I think and I get most of the answer, BUT I want to put my podcasts on the itunes lib and know that I have to submit the rss xml. My issue is that I don't know where I put it physically. I publ

  • Automatically prompt to save PDF when Print Preview for Purchase Order?

    We recently upgraded to EP7. I have an end user that does our PO's. She swears up and down that she used to be able to go into any given PO, be it new or existing, and click on the print preview button. She says when she did this she was prompted to

  • Invoice using dtw

    I used DTW to invoice 100,000 serial numbers it worked perfectly. But the AR-Invoice status shows open and printed how can i close that invoice. Sri

  • Java Apps take forever to load

    I wasn't sure where to ask this so i figured here. I recently reformated and reinstalled Win2k on my system. Prior to the format I had no problem with Java, all apps started up in no time flat. Now, just about any Java App (Netbeans and Azureus right