RMAN Backups residing remotely

Oracle Version: 11.2.0.3 x64
OS: Win 2008 server x64
Hi Experts.
We need to replicate a database on one of our boxes, with very limited space on disk. The database size is roughly 200gb, free space on disk is 250gb, and the RMAN backups are roughly 80gb.
The RMAN backup pieces have been cataloged with the following path:
CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT   'd:\rman\%d\bkup_%d_%U';So, if we attempt a restore/replication on the local server, RMAN would look for backups on the local D drive, under D:\rman\<db_name>\
In the past we used to copy the RMAN backups on the local server where the replication is required, and perform the replication locally without any issues; however, with a very limited space that won't fit both the replicated instance and the RMAN copies, we're not quite sure how further proceed!?
Can we instruct the RMAN replication session to look for backups in a remote server?
We do keep 3 weeks of RMAN backups on disk, hence the 80GB RMAN backups size. As far as I remember a full backup has been performed last Sun. Can we only bring over Sun full backup (and any subsequent incremental backups)? or do we need to copy the whole thing across to the local server?
Any ideas please?
Thanks

I've been trying the duplicate command with the "from active database" clause but we're getting some permissions errors that I'm not sure about:
C:\Users\oracle>rman target sys/xxx@vssrp auxiliary sys/password@vssrl
Recovery Manager: Release 11.2.0.3.0 - Production on Sat Sep 1 16:28:25 2012
Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.
connected to target database: vssrp (DBID=1391811405)
connected to auxiliary database: vssrl (not mounted)
RMAN> run {
2>    allocate channel c1 type disk;
3>    allocate auxiliary channel DUP type disk;
4>    duplicate target database to vssrl from active database;
5> }
using target database control file instead of recovery catalog
allocated channel: c1
channel c1: SID=1252 device type=DISK
allocated channel: DUP
channel DUP: SID=673 device type=DISK
Starting Duplicate Db at 01-SEP-12
contents of Memory Script:
   sql clone "create spfile from memory";
executing Memory Script
sql statement: create spfile from memory
contents of Memory Script:
   shutdown clone immediate;
   startup clone nomount;
executing Memory Script
Oracle instance shut down
connected to auxiliary database (not started)
Oracle instance started
Total System Global Area    3140026368 bytes
Fixed Size                     2259312 bytes
Variable Size                788530832 bytes
Database Buffers            2315255808 bytes
Redo Buffers                  33980416 bytes
allocated channel: DUP
channel DUP: SID=578 device type=DISK
contents of Memory Script:
   sql clone "alter system set  db_name =
''vssrp'' comment=
''Modified by RMAN duplicate'' scope=spfile";
   sql clone "alter system set  db_unique_name =
''vssrl'' comment=
''Modified by RMAN duplicate'' scope=spfile";
   shutdown clone immediate;
   startup clone force nomount
   backup as copy current controlfile auxiliary format  'C:\ORACLE\ORADATA\CONTROLFILE\vssrl\CONTROL01.CTL';
   restore clone controlfile to  'D:\ORACLE\ORADATA\CONTROLFILE\vssrl\CONTROL02.CTL' from
'C:\ORACLE\ORADATA\CONTROLFILE\vssrl\CONTROL01.CTL';
   restore clone controlfile to  'D:\ORACLE\ORADATA\vssrl\CONTROL03.CTL' from
'C:\ORACLE\ORADATA\CONTROLFILE\vssrl\CONTROL01.CTL';
   alter clone database mount;
executing Memory Script
sql statement: alter system set  db_name =  ''vssrp'' comment= ''Modified by RMAN duplicate'' scope=spfile
sql statement: alter system set  db_unique_name =  ''vssrl'' comment= ''Modified by RMAN duplicate'' scope=spfile
Oracle instance shut down
Oracle instance started
Total System Global Area    3140026368 bytes
Fixed Size                     2259312 bytes
Variable Size                788530832 bytes
Database Buffers            2315255808 bytes
Redo Buffers                  33980416 bytes
allocated channel: DUP
channel DUP: SID=578 device type=DISK
Starting backup at 01-SEP-12
channel c1: starting datafile copy
copying current control file
released channel: c1
released channel: DUP
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 09/01/2012 16:29:14
RMAN-05501: aborting duplication of target database
RMAN-03015: error occurred in stored script Memory Script
RMAN-03009: failure of backup command on c1 channel at 09/01/2012 16:29:14
ORA-17629: Cannot connect to the remote database server
ORA-17627: ORA-01031: insufficient privileges
ORA-17629: Cannot connect to the remote database serverAs you can see from the above, we're logging in to both databases (target and aux) as sys; also the local OS oracle user is a member of administrators and can write files on to disks.
Any idea please?
Thanks

Similar Messages

  • Rman backup to remote host

    Hi
    Is there a way to take an rman backup to remote host ?
    Suppose orcl database is on host1, I am running rman session on host2
    RUN
    ALLOCATE CHANNEL disk1 DEVICE TYPE DISK FORMAT '/home/users/temp/%U';
    BACKUP tablespace users;
    Even though, /home/users/temp directory exists on host2. rman session terminates since rman looks the directory on host1.
    I believe, we can perform export to remote host, not sure why it doesnt work for rman

    First , export is not a backup tool. Second, RMAN would be looking for the drive locally always. If you want to use a remote storage, configure something an NFS mount and post the backup there.
    Aman....

  • RMAN backup from remote pc !

    Dear Friends ,
    In my database Linux server I have no enough space to take RMAN backup since my database size around 90 GB .
    So in this moment I want to take the rman backup form remote machine(From windows or Linux), where all the datafile backup of my Linux database server also goes to the remote machine . is it possible to do ?
    Or is there any way to take RMAN backup(datafile,controlfile,spfile backup from server to client) from remote machine without increasing the HDD space of the Local server ?
    Waiting for your kind reply ... ...

    In my database Linux server I have no enough space to take RMAN backup since my database size around 90 GB .
    So in this moment I want to take the rman backup form remote machine(From windows or Linux), where all the datafile backup of my Linux database server also goes to the remote machine . is it possible to do ?
    Or is there any way to take RMAN backup(datafile,controlfile,spfile backup from server to client) from remote machine without increasing the HDD space of the Local server ?You can't make RMAN backup remotely.
    Use third party tools like data-protector or use Oracle secure backup to make backups other than local server.

  • RMAN backup to remote disk in Windows

    Hi,
    I'm running Oracle 9.2.0.1 with Windows Server 2003 in both Server A and Server B. My prime DB is stored in Server A meanwhile my RMAN Catalog is in Server B. I’m running RMAN to do backup of the DB in Server A which is running out of space. So, I have decided to store my backupsets to Server B since I do have few hundred Gs there. Overall, I will push the backup script from RMAN Catalog in Server B and will store the backupsets back to Server B.
    My problem is whenever I run the script, no matter either from Server A or Server B, I’m getting the following error. Attached together is the RMAN configuration parameters.
    Error:
    RMAN> backup database;
    Starting backup at 20-AUG-09
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=13 devtype=DISK
    allocated channel: ORA_DISK_2
    channel ORA_DISK_2: sid=9 devtype=DISK
    allocated channel: ORA_DISK_3
    channel ORA_DISK_3: sid=14 devtype=DISK
    channel ORA_DISK_1: starting full datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    input datafile fno=00012 name=F:\ORADATA\DRDB\DATA\DATA01.DBF
    channel ORA_DISK_1: starting piece 1 at 20-AUG-09
    channel ORA_DISK_2: starting full datafile backupset
    channel ORA_DISK_2: specifying datafile(s) in backupset
    input datafile fno=00002 name=F:\ORADATA\DRDB\DATA\DATA07.DBF
    channel ORA_DISK_2: starting piece 1 at 20-AUG-09
    channel ORA_DISK_3: starting full datafile backupset
    channel ORA_DISK_3: specifying datafile(s) in backupset
    input datafile fno=00006 name=E:\ORADATA\DRDB\INDEX\INDX01.DBF
    channel ORA_DISK_3: starting piece 1 at 20-AUG-09
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 08/20/2009 17:06:
    56
    ORA-19504: failed to create file "\\ServerB\f$\drdb\backupset\BackupDRDB_DB_39k
    n665g_105_1"
    ORA-27040: skgfrcre: create error, unable to create file
    OSD-04002: unable to open file
    O/S-Error: (OS 5) Access is denied.
    RMAN> show all;
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 10;
    CONFIGURE BACKUP OPTIMIZATION OFF; # default
    CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '\\ServerB\f$\d
    rdb\controlfile\Backup%d_CTL_%F';
    CONFIGURE DEVICE TYPE DISK PARALLELISM 3;
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '\\ServerB\f$\drdb\backupset\Backup
    %d_DB_%u_%s_%p';
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '\\ServerB\f$\drdb\controlfile\SNCFDRDB.
    CTL';
    My Login ID exists in Administrator and ORA_DBA group in both Server A and Server B. I can manually run the path '\\ServerB\f$\drdb\backupset\’ from Server A and able to create/modify/delete a file inside this folder. But I don’t understand why getting the ‘Access denied’ error? Anyway, is this a correct way to do backup into remote disk? I’m quite new to Oracle and just attended RMAN course with OU. I have Google-ed this problem but none can assist me. Please do help me or share your knowledge to resolve this problem.
    Thanks & regards,
    Nesan

    Hi Andre,
    Yes you're correct, it's because of the Oracle service which run under Local System Account. I have went to it's properties and changed the logon details to my own Login ID which is Administrator for both Server A and B. Now my remote backup is working great...
    But does this changes will affect other apps/jobs/results in Oracle?
    Guys,
    If you have any better idea to solve this issue please drop into this thread or let me know if you find anything wrong on my solution.
    Thanks a lot for Andre.... You have solved my 2 weeks problem.
    Regards,
    Nesan

  • RMAN backup at Remote server.

    Hi All,
    RUN {
    BACKUP
    INCREMENTAL LEVEL=0
    FORMAT '/oracle/backup/last/%d_DBNAME_T%T'
    DATABASE;
    This will backup the database and will place the backup set at the location /oracle/backup/last.
    But my requirement is to backup the full database and place backup set at location /oracle/backup/remote_full_backup on the remote server say(Backup server).
    what kind of changes i have to make in the existing backup script in order to achieve this task.
    DB Version:10.2.0.1
    OS:LINUX.
    Thanks.

    This guide is for Solaris, but it works also with linux:
    http://docs.sun.com/app/docs/doc/817-5093/fsmount-69423?a=view
    Regards,
    Enric Moya

  • Using rman to backup a remote database

    I am after a good guide or advice on how (what) to install and (how to) run Oracle RMAN
    to backup a remote Oracle database.
    RMAN must be installed and run on a Solaris (SunOS 5.8) box remote from the Solaris
    box (also SunOS 5.8) running the Oracle database but connected to it via a TCP/IP
    network.
    The Oracle Recovery Manager and Database version is 9.2.0.1.0.
    RMAN must perform the backup of the remote database over the network and store
    the backup on a disk local to the RMAN box.
    The backups may be full or incremental and may be "hot" backups taken while the
    Oracle database is open.
    The disk files are to be then backed up to tape using Veritas.
    What software do I need to install on the RMAN box ?
    What software do I need to install on the remote Oracle database box ?
    Thanks,
    Brett Morgan.

    writes to a NFS-mounted diskRman is writing to disk or tape (when is bundled (libraries needed) with some backup software for tapes such as Veritas). The disk device could be local, or mounted disk form other host or storage (over NFS as Werner mentioned, SMB and others).

  • Choice a remote drive for RMAN backup

    I want to use my AIX (OS 5.3L) as a remote server for RMAN backup, under the 10g R2. The two most likely drives that still has lots space are hdisk1 and hdisk3. However, the hdisk1 is in rootvg with my test Oracle 10g appl on. Although the hdisk3 is in appvg and but it is the data storage for oracle of local machine. Both drives are quite busy based on the memory monitor and iostat. so How to make a choice for which drive is more proper as a remote drive?

    As i play more with the NFS on AIX, i noticed more about the user/group attributes of the files and directory. Mainly, they are different on either side, even more strangely that the new file created on the server side has different user/group attribute , not as oracle/oinstall of original (client side) It worries me whether there will be problem when RMAN does the recovery later.
    Secondly, the NFS only allows to write into one level of the directory, which is assigned NSF. As I know, the whole RMAN backup creates backupset files at several levels down from my flash_recovery_area.
    Message was edited by:
    user508054

  • Rman backup to a remote location

    I want to take the rman backup of production database to a remote server.
    Means, source and destination servers are located at two different location.
    OS: RHEL 4
    In metalink, i got the doc id: 292726.1
    Could anyone please tell me the detailed steps of "Backup to Remote DISK" heading of meantioned doc or provide me some other useful links ?
    Edited by: NKJ on Dec 3, 2008 10:07 AM

    You can backup to a remote location assuming you have the remote location appropriately mapped.
    However, you may want to check this 10gR2 "database backup" to nfs mounted dir results in ORA-27054 NFS error regarding NFS and RMAN.

  • RMAN hot backup at remote machines

    Hi Friends,
    Please let me know how to backup in rman hotbackup on remote machines
    like i want to have rman hotbackup on remote machines
    my production box is in us & and backup box is in india
    Please lighten me on this

    Excellent response. I want to clear few doubts? If you can respond, I would
    greatly thankfull to you
    I just inherited a system that uses RMAN, which I am not an expert with.
    We planed to do a full online backup on the weekend and incremental (hot?) backups
    every night.
    1. on windows 2003 hostware database server c:\backup\rman\... we planed to take backup
    what if i lost my c:\ drive fails
    but i have enough storage in remote server
    how can i safeguard my backups agains disk failures etc & pull and preserve in remote machines?
    Please lighten me in this regard
    Thanks in advance
    Magu

  • Centralized rman backup in one location

    Hi,
    I want to centralize rman backup for all my databaseserver in one location.
    I already dedicate one server for this backup and create a catalog in this server but if i start the backup the backup file is not stored on the server that reside the catalog but in the database server. What should I do to store all my backup in this backup server.
    Thanks

    dbakely wrote:
    RMAN> show all;
    starting full resync of recovery catalog
    full resync complete
    RMAN configuration parameters for database with db_unique_name TESTDB are:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
    CONFIGURE BACKUP OPTIMIZATION OFF; # default
    CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
    CONFIGURE CONTROLFILE AUTOBACKUP OFF; # default
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
    CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
    CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
    CONFIGURE COMPRESSION ALGORITHM 'BASIC' AS OF RELEASE 'DEFAULT' OPTIMIZE FOR LOAD TRUE ; # default
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/opt/oracle/11.2.0/orah1/dbs/snapcf_testdb.f'; # default
    Yes, catalog is just a metadata but I want to store rman backup in a remote database server.
    Is there rman server to be installed to do this?
    ThanksPls, your RMAN script also.
    Look:
    Server1: Where you execute your backup script
    Server2: Where your catalog database resides.
    Now, if you want your backups to be stored in Server2, you have to mount location at Server1 which points location at Server2. This is could be NFS o ssh based sharing and etc.

  • How can i do a RMAN backup of my database from the network ?

    i'm using oracle 8i.1.7.3 with win server 2003
    i want to know how can i do a RMAN backup of my database (sever machine A) from the network.
    i'd like to save the backup in another machine (the same LAN, the same OS ).
    to do that i've mapped a logical device in my comptur (z):
    when i run rman command i got this error:
    channel ORA_DISK_1: starting piece 1 at .......
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of backup command ON ORA_DISK_1 channel at .......
    00
    ORA-19504: failed TO CREATE file "\\remote\save\"
    ORA-27040: skgfrcre: create error, unable to create file
    OSD-04002: unable to open file
    O/S-Error: (OS 123) The filename, directory name, or volume label syntax is inco
    rrect.

    Hi,
    ORA-19504: failed TO CREATE file "\\remote\save\"make sure you have created this directory and change it's ownership (chown command)to oracle.
    also make sure that oracle user has permission to write to this direcotry (chmod command)
    hope this helps
    cheers, walrus

  • Creating a new controlfile with datafiles in RMAN backup

    Hi,
    i am using oracle 10g (10.2.0.1) in RHEL5 server. i am trying to restore a RMAN backup from one server to another new server with new db name. i have taken out the spfile from RMAN autobackup and created pfile from it and edited the pfile with new dbname and directory structure and started the db in nomount with the new pfile. Now i have restored the controfile from the RMAN autobackup tried to put the database in mount state. But it failed due to the below error
    RMAN-03002: failure of alter db command at 11/05/2012 21:44:56
    ORA-01103: database name 'ORADB' in control file is not 'DEVDB'
    Hence i shutdown the database and started the db in nomount with new pfile and tried to create the controlfile with the new db name,but it failed as it is looking for the datafiles.
    ORA-01503: CREATE CONTROLFILE failed
    ORA-01565: error in identifying file
    '/u01/app/oracle/oradata/DEVDB/datafile/o1_mf_system_80jq0kfw_.dbf'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    All my datafiles reside in my RMAN backup. How to get the datafiles from RMAN backup in the above scenario??
    Regards,
    007

    Hello;
    The location and filename and DBIS will be different, but you need something like this :
    $ORACLE_HOME/bin/rman  << EOF
    CONNECT TARGET /
    STARTUP NOMOUNT;
    SET DBID 3754763357;  #DBID of PROD database
    RUN
       ALLOCATE CHANNEL c1 DEVICE TYPE disk format '/u01/oradata/backups';
       RESTORE CONTROLFILE FROM '/u01/oradata/backups/sb_t790762003_s85_p1';
       ALTER DATABASE MOUNT;
       SET NEWNAME FOR DATAFILE 1 TO '/u01/app/oracle/oradata/CLONE/system01.dbf';
        SET NEWNAME FOR TEMPFILE 1 TO '/u01/app/oracle/oradata/CLONE/temp01.dbf';
       RESTORE DATABASE;
       SWITCH DATAFILE ALL;
       RECOVER DATABASE;
       release channel c1;
    ALTER DATABASE OPEN RESETLOGS; So you need "SET NEWNAME" for all your files
    Full Example
    http://www.visi.com/~mseberg/rman/restore_database_without_catalog.html
    Best Regards
    mseberg

  • Oracle 9i RMAN backup filling up all disk and failing at the very end

    Hello to all and thank you in advance for any input from any of you.
    I am new in oracle and the only one in my company with a little bit of oracle knowledge, which is not a whole lot.
    I inherited a few servers (Linux and Windows based). We mostly run all our production environment on a Linux box hosting oracle 10g release 10.2.0.1 but we had a legacy application server that still runs on 9i release 9.2.0.1.0. This server is a windows 2003 box, the previous DBA or someone else with admin rights to this machine compressed the whole drive where oracle resides, when I started summarying the oracle assets, I saw this server with no backups scheduled and a compressed disk with very limited space after this compression, only 13 GB left, the database if uncompressed would definitively filled up all the disk. The machine is in used and cannot be taken down for more than a couple of hours. We tried adding another disk but the machine only accept it as a hot spare. The database is in archive mode, when I tried to run a RMAN backup, it start filling up the database drive until it's empty and it crashes the whole machine, it seems like the buffer is growing and growing until it fills up the whole drive. The only way to get the server up and running again is to reboot the machine since the server is more than 6 years old we are not please with this action because we are afraid the machine would go south in one of those reboots.
    Has anyone heard of similar issues when running RMAN on a compressed drive? Can the compressed disk have any involvement in this kind of odd behaviour? I tried running the backup in debug mode and creating a log in a different disk (the one where the backup is going to) and still the same issue. Again any help is much appreciate,
    Sincerely,
    Alex

    Sybrand,
    Thank you for your fast response, I am going to use your previous post to answer one by one your question,
    1 The Oracle binaries --- on a compressed drive > Yes
    2 The Oracle database control files redo log files and datafiles on that same compressed drive? > Yes
    3 The archived redo log ditto? > Yes
    I know for a fact (as I have been using that in 9i) you can create a RMAN backup on a compressed drive, and you can have your archived redo go to a compressed drive. No problemo! > Excellent good news!!!
    But I would never touch the data files. Please note backup sets are multiplexed files consisting of multiple datafiles, so RMAN would need to do some calculations to decompress several blocks at the same time and to calculate a new block and compress it.
    Do you have enough space to:
    a) (preferred) to make datafile copies instead of a backup >
    Not in the drive that hosts the oracle instance but yes on an external usb drive (1TB) I attached to use as a backup repository, maybe this is why I am having these issues. I only have 13 GB left on that drive where the oracle instance resides (actually as I explained in a previous reply to Mark, the server only has 3 slots for disks, two of them as configured as RAID 1 and the other is a hot spare because the RAID configuration manager cannot can only added as hot-spare. The raided disk are partitioned in two, one small partition is for the OS and the other is for the oracle instance). When you said make a copy of the datafiles, I assumed you are talking about doing manual backups, and copying the database after using using "alter tablespace tablespace_name begin backup; then copy the file; alter tablespace tablespace_name end backup;
    b) use filesperset=1 on the backup command line, so the multiplexing (and associated calculations) stop. I have not tried the option of fileperset yet but I can tryi it and see if that helps.
    Can you post the last few lines of the RMAN log where RMAN bombs out? Note: the last few lines. Not all of it, or you must send some paracetamol in conjunction! >
    When I ran the debug option, I stopped the backup at less than 20% because I didn't want to reboot the system in the middle of the production time, the backup consumed at least 3 GB during the time was running. The times I ran the RMAN backup I didn't used the debug option so I don't have a log long enough to send unless you want the last few lines of what I have.
    Thanks again for your input,
    Sincerely,
    Alex

  • Rman backup job Suspended on Agent Unreachable

    Hi,
    I have Oracle 10.2.0 installed on windows 2003 server. i configure oracle suggested rman backup which works fine till now. but now it shows
    Suspended on Agent Unreachable message and backup doesn't happen.
    if check like
    C:\Documents and Settings\Administrator>emctl status agen
    Oracle Enterprise Manager 10g Database Control Release 10
    Copyright (c) 1996, 2005 Oracle Corporation.  All rights
    Agent is Not Running
    C:\Documents and Settings\Administrator>emctl start agent
    Oracle Enterprise Manager 10g Database Control Release 10
    Copyright (c) 1996, 2005 Oracle Corporation.  All rights
    These Windows services are started:
       Application Experience Lookup Service
       Application Management
       Automatic Updates
       COM+ Event System
       COM+ System Application
       Computer Browser
       Cryptographic Services
       DCOM Server Process Launcher
       DefWatch
       Distributed File System
       Distributed Transaction Coordinator
       DNS Client
       DNS Server
       Error Reporting Service
       Event Log
       File Replication Service
       FTP Publishing Service
       HTTP SSL
       IIS Admin Service
       Indexing Service
       Intel PDS
       Intersite Messaging
       IPSEC Services
       Kerberos Key Distribution Center
       Logical Disk Manager
       LogMeIn
       LogMeIn Maintenance Service
       Net Logon
       Network Connections
       Network Location Awareness (NLA)
       NT LM Security Support Provider
       OracleDBConsoleneo
       OracleOraDb10g_home1iSQL*Plus
       OracleOraDb10g_home1TNSListener
       OracleServiceNEO
       Plug and Play
       Print Spooler
       Protected Storage
       Remote Access Connection Manager
       Remote Procedure Call (RPC)
       Remote Registry
       Secondary Logon
       Security Accounts Manager
       Server
       Shell Hardware Detection
       SQL Server (MSSQLSERVER)
       SQL Server Agent (MSSQLSERVER)
       SQL Server Analysis Services (MSSQLSERVER)
       SQL Server FullText Search (MSSQLSERVER)
       SQL Server Integration Services
       SQL Server Reporting Services (MSSQLSERVER)
       Symantec AntiVirus Server
       System Event Notification
       Task Scheduler
       TCP/IP NetBIOS Helper
       Telephony
       Terminal Services
       Windows Management Instrumentation
       Windows Search
       Windows Time
       Workstation
       World Wide Web Publishing Service
    The command completed successfully.means my agent was stop but now i start it.
    i find on Google that this type of error happen when you change in database like ip address, sid etc but i haven't do any change.
    i am facing same problem so many times.
    Now how to reschedule the existing backup job so that it starts work again.
    thanks
    umesh

    thanks for reply
    i do it.
    C:\Documents and Settings\Administrator>emctl status dbconsole
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
    Copyright (c) 1996, 2005 Oracle Corporation.  All rights reserved.
    http://Techwave:5500/em/console/aboutApplication
    EM Daemon is not running.
    Logs are generated in directory C:\oracle\product\10.2.0\db_1/Techwave_neo/sysman/log
    C:\Documents and Settings\Administrator>emctl stop dbconsole
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
    Copyright (c) 1996, 2005 Oracle Corporation.  All rights reserved.
    http://Techwave:5500/em/console/aboutApplication
    The OracleDBConsoleneo service is stopping.....
    The OracleDBConsoleneo service was stopped successfully.
    C:\Documents and Settings\Administrator>emctl start dbconsole
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
    Copyright (c) 1996, 2005 Oracle Corporation.  All rights reserved.
    http://Techwave:5500/em/console/aboutApplication
    Starting Oracle Enterprise Manager 10g Database Control ...The OracleDBConsoleneo service is starting................
    The OracleDBConsoleneo service was started successfully.now it is working fine.
    now issue is how i reschedule my suspended job.
    i got this error.
    Edit is not supported for this job type, only general information about the job can be updated No scheduled executions - this job can not be modified.

  • Restoring of rman backup

    Hi all,
    i got a scenerion where i need to check whether rman back is valid or not.
    i have y server where production db resides and storage team kept the 7 days old rman backup in the same production server and my resposibility is to reatore the rman backup with new database name in the same server and to query the new db to cross verify that rman backup is valid or not.
    oracle version : 9.2.0.4.0
    os : windows
    appreciated the inputs.
    Thanks
    Prakash

    Can you solve your problem?
    Now I explain this for you.Consider we have database which name is "w".We want craete new database (w1) using backup of w in same machine.Also backup of database have located in D:\oracle\product\10.2.0\flash_recovery_area\W.
    First we have to create service and some directories for new W1,aslo restore spfile and controlfile as
    C:\Documents and Settings\chinar>set ORACLE_SID=W1
    C:\Documents and Settings\chinar>rman target sys/sm
    Recovery Manager: Release 10.2.0.2.0 - Production on Fri May 14 11:00:51 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00554: initialization of internal recovery manager package failed
    RMAN-04005: error from target database:
    ORA-12560: TNS:protocol adapter error
    C:\Documents and Settings\chinar>oradim -new -sid W1 -intpwd sm
    Instance created.
    C:\Documents and Settings\chinar>rman target sys/sm
    Recovery Manager: Release 10.2.0.2.0 - Production on Fri May 14 11:01:21 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    connected to target database (not started)
    RMAN> startup nomount;
    startup failed: ORA-01078: failure in processing system parameters
    LRM-00109: could not open parameter file 'D:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE
    \INITW1.ORA'
    starting Oracle instance without parameter file for retrival of spfile
    Oracle instance started
    Total System Global Area     159383552 bytes
    Fixed Size                     1288292 bytes
    Variable Size                 58722204 bytes
    Database Buffers              92274688 bytes
    Redo Buffers                   7098368 bytes
    RMAN> restore spfile to pfile 'D:\oracle\product\10.2.0\admin\W1\pfile\initw1.or
    a' from 'D:\oracle\product\10.2.0\flash_recovery_area\W\AUTOBACKUP\2010_05_14\O1
    _MF_S_718973315_5YSS1O7W_.BKP';
    Starting restore at 14-MAY-10
    using channel ORA_DISK_1
    channel ORA_DISK_1: autobackup found: D:\oracle\product\10.2.0\flash_recovery_ar
    ea\W\AUTOBACKUP\2010_05_14\O1_MF_S_718973315_5YSS1O7W_.BKP
    channel ORA_DISK_1: SPFILE restore from autobackup complete
    Finished restore at 14-MAY-10
    RMAN>
    RMAN> restore controlfile to 'D:\oracle\product\10.2.0\oradata\W1\control01.ctl'
    from 'D:\oracle\product\10.2.0\flash_recovery_area\W\AUTOBACKUP\2010_05_14\O1_M
    F_S_718973315_5YSS1O7W_.BKP';
    Starting restore at 14-MAY-10
    using channel ORA_DISK_1
    channel ORA_DISK_1: restoring control file
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:02
    Finished restore at 14-MAY-10
    RMAN>
    then change initw1. pfile accourding to W!(all w change to W1) and create additional two copy of controlfile from
    D:\oracle\product\10.2.0\oradata\W1\CONTROL01.CTL.  then
    C:\Documents and Settings\chinar>rman target sys/sm
    Recovery Manager: Release 10.2.0.2.0 - Production on Fri May 14 11:14:34 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    connected to target database: DUMMY (not mounted)
    RMAN> shutdoen immediate;
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00558: error encountered while parsing input commands
    RMAN-01009: syntax error: found "identifier": expecting one of: "allocate, alter
    , backup, beginline, blockrecover, catalog, change, connect, copy, convert, crea
    te, crosscheck, configure, duplicate, debug, delete, drop, exit, endinline, flas
    hback, host, {, library, list, mount, open, print, quit, recover, register, rele
    ase, replace, report, renormalize, reset, restore, resync, rman, run, rpctest, s
    et, setlimit, sql, switch, spool, startup, shutdown, send, show, test, transport
    , upgrade, unregister, validate"
    RMAN-01008: the bad identifier was: shutdoen
    RMAN-01007: at line 1 column 1 file: standard input
    RMAN> shutdown immediate;
    using target database control file instead of recovery catalog
    Oracle instance shut down
    RMAN> startup mount pfile='D:\oracle\product\10.2.0\admin\W1\pfile\INITW1.ORA';
    connected to target database (not started)
    Oracle instance started
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of startup command at 05/14/2010 11:15:28
    ORA-01103: database name 'W' in control file is not 'W1'  -- return still db_name to w and restart
    RMAN> shutdown immediate;
    Oracle instance shut down
    RMAN> startup mount pfile='D:\oracle\product\10.2.0\admin\W1\pfile\INITW1.ORA';
    connected to target database (not started)
    Oracle instance started
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of startup command at 05/14/2010 11:16:17
    ORA-01102: cannot mount database in EXCLUSIVE mode -- add pfile *.db_unique_name=w1
    RMAN> shutdown immediate;
    Oracle instance shut down
    RMAN> startup mount pfile='D:\oracle\product\10.2.0\admin\W1\pfile\INITW1.ORA';
    connected to target database (not started)
    Oracle instance started
    database mounted
    Total System Global Area     125829120 bytes
    Fixed Size                     1288100 bytes
    Variable Size                 62916700 bytes
    Database Buffers              54525952 bytes
    Redo Buffers                   7098368 bytes
    RMAN> catalog start with 'D:\oracle\product\10.2.0\flash_recovery_area\W';
    Starting implicit crosscheck backup at 14-MAY-10
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=157 devtype=DISK
    Crosschecked 1 objects
    Finished implicit crosscheck backup at 14-MAY-10
    Starting implicit crosscheck copy at 14-MAY-10
    using channel ORA_DISK_1
    Crosschecked 2 objects
    Finished implicit crosscheck copy at 14-MAY-10
    searching for all files in the recovery area
    cataloging files...
    no files cataloged
    searching for all files that match the pattern D:\oracle\product\10.2.0\flash_re
    covery_area\W
    List of Files Unknown to the Database
    =====================================
    File Name: D:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\W\AUTOBACKUP\2010_05_14\
    O1_MF_S_718973315_5YSS1O7W_.BKP
    Do you really want to catalog the above files (enter YES or NO)? y
    cataloging files...
    cataloging done
    List of Cataloged Files
    =======================
    File Name: D:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\W\AUTOBACKUP\2010_05_14\
    O1_MF_S_718973315_5YSS1O7W_.BKP
    RMAN>
    RMAN> run
    2> {
    3> set newname for datafile 1 to 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\W1\SYSTEM01.D
    BF';
    4> set newname for datafile 2 to 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\W1\UNDOTBS01.
    DBF';
    5> set newname for datafile 3 to 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\W1\SYSAUX01.D
    BF';
    6> set newname for datafile 4 to 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\W1\USERS01.DB
    F';
    7> set newname for datafile 5 to 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\W1\EXAMPLE01.
    DBF';
    8> set newname for datafile 6 to 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\W1\USERS02.DB
    F';
    9> restore database;
    10> }
    executing command: SET NEWNAME
    using target database control file instead of recovery catalog
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    Starting restore at 14-MAY-10
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=157 devtype=DISK
    channel ORA_DISK_1: starting datafile backupset restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    restoring datafile 00001 to D:\ORACLE\PRODUCT\10.2.0\ORADATA\W1\SYSTEM01.DBF
    restoring datafile 00002 to D:\ORACLE\PRODUCT\10.2.0\ORADATA\W1\UNDOTBS01.DBF
    restoring datafile 00003 to D:\ORACLE\PRODUCT\10.2.0\ORADATA\W1\SYSAUX01.DBF
    restoring datafile 00004 to D:\ORACLE\PRODUCT\10.2.0\ORADATA\W1\USERS01.DBF
    restoring datafile 00005 to D:\ORACLE\PRODUCT\10.2.0\ORADATA\W1\EXAMPLE01.DBF
    restoring datafile 00006 to D:\ORACLE\PRODUCT\10.2.0\ORADATA\W1\USERS02.DBF
    channel ORA_DISK_1: reading from backup piece D:\ORACLE\PRODUCT\10.2.0\FLASH_REC
    OVERY_AREA\W\BACKUPSET\2010_05_14\O1_MF_NNNDF_TAG20100514T104649_5YSRYBV3_.BKP
    channel ORA_DISK_1: restored backup piece 1
    piece handle=D:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\W\BACKUPSET\2010_05_14
    \O1_MF_NNNDF_TAG20100514T104649_5YSRYBV3_.BKP tag=TAG20100514T104649
    channel ORA_DISK_1: restore complete, elapsed time: 00:01:25
    Finished restore at 14-MAY-10
    RMAN>
    then backup controlfile to trace as:
    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.
    C:\Documents and Settings\chinar>set ORACLE_SID=W1
    C:\Documents and Settings\chinar>sqlplus "sys/sm as sysdba"
    SQL*Plus: Release 10.2.0.2.0 - Production on Fri May 14 11:26:42 2010
    Copyright (c) 1982, 2005, Oracle.  All Rights Reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> alter database backup controlfile to trace as 'D:\oracle\product\10.2.0\ora
    data\W1\ctrl.sql';
    Database altered.
    SQL>
    SQL> shutdown immediate;
    ORA-01109: database not open
    Database dismounted.
    ORACLE instance shut down.
    SQL>
    Now edit ctrl.sql for chhange database name to new W1 also change in pfile db_name from W to W1.And delete
    all controlfile from D:\oracle\product\10.2.0\oradata\W1. Then
    SQL> startup mount pfile=D:\oracle\product\10.2.0\admin\W1\pfile\INITW1.ORA;
    ORACLE instance started.
    Total System Global Area  125829120 bytes
    Fixed Size                  1288100 bytes
    Variable Size              62916700 bytes
    Database Buffers           54525952 bytes
    Redo Buffers                7098368 bytes
    Database mounted.
    SQL>
    SQL> alter database open resetlogs;
    alter database open resetlogs
    ERROR at line 1:
    ORA-01113: file 1 needs media recovery
    ORA-01110: data file 1: 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\W1\SYSTEM01.DBF'
    SQL> recover database using backup controlfile until cancel;
    ORA-00279: change 1419839 generated at 05/13/2010 12:36:09 needed for thread 1
    ORA-00289: suggestion :
    D:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\W1\ARCHIVELOG\2010_05_14\O1_MF_1_25
    _%U_.ARC
    ORA-00280: change 1419839 for thread 1 is in sequence #25
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    cancel
    ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
    ORA-01152: file 1 was not restored from a sufficiently old backup
    ORA-01110: data file 1: 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\W1\SYSTEM01.DBF'
    ORA-01112: media recovery not started
    SQL> alter database open resetlogs;
    alter database open resetlogs
    ERROR at line 1:
    ORA-01152: file 1 was not restored from a sufficiently old backup
    ORA-01110: data file 1: 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\W1\SYSTEM01.DBF'
    SQL>
    add pfile *._allow_resetlogs_corruption=true
    again
    SQL> startup mount pfile=D:\oracle\product\10.2.0\admin\W1\pfile\INITW1.ORA;
    ORACLE instance started.
    Total System Global Area  125829120 bytes
    Fixed Size                  1288100 bytes
    Variable Size              62916700 bytes
    Database Buffers           54525952 bytes
    Redo Buffers                7098368 bytes
    Database mounted.
    SQL> recover;
    Media recovery complete.
    SQL> shutdown immediate;
    ORA-01109: database not open
    Database dismounted.
    ORACLE instance shut down.
    then remove _allow_resetlogs_corruption=true parameter from pfile and
    SQL> startup mount pfile=D:\oracle\product\10.2.0\admin\W1\pfile\INITW1.ORA;
    ORACLE instance started.
    Total System Global Area  125829120 bytes
    Fixed Size                  1288100 bytes
    Variable Size              62916700 bytes
    Database Buffers           54525952 bytes
    Redo Buffers                7098368 bytes
    Database mounted.
    SQL> alter database open;
    Database altered.
    SQL>

Maybe you are looking for

  • Hp officejet pro 8500 printhead has a problem is the error shown

    My HP Officejet pro 8500 is displaying that the printhead has a problem and will not print anything.  Any suggestions?

  • How to show program documentation in the dynpro?

    hi everyone i just wrote a short documentation for the abap programm and now i want to make a button in the menubar in my dynpro to show the documentation... how can i do this?

  • Find character in lower case

    Hi, I've this table TAB_ID: ID.....................NAME 1......................AbCCCC 2.....................ABBBBB 3.....................ZxxxZZZZ 4.....................aaaaaaaB 5.....................CCCCCC 8.....................DDDDDD 0..............

  • Operation Connection.rollback is not allowed during a global transaction.

    Hi I am getting the following exception when i try to deploy my application in the server. Is any body got the same error. please help me to solve this problem. com.ibm.mm.beans.CMBException: DSRA9350E: Operation Connection.rollback is not allowed du

  • Downloading files contained in a configuration

    I have created a configuration with many files. I can't seem to figure out how to download all the files contained in the configuration. For example: In the RON, expand the configurations node, select MyConfiguration, right-click... no download files