Automate RMAN backup on windows
I am working on automating RMAN backup on windows, how i can do that , I know dbconsole do that but its not working for me at moment.....
Step by step, scripts & windows scheduler would help
make cmd script and schedule it with Windows Scheduled Tasks.
Similar Messages
-
Scheduling Rman backup in windows
Hi all,
I need to configure backup in Rman using the task scheduler in windows. I have placed 2 scripts 1 is batch file and 2nd is sql file with the below contents. When i ran the batch file the process is only getting logged into RMAN prompt but not executing the sql statements, how can i schedule it?
Version: 9i
OS: Windows server 2003
Bat file
rman target=sys/oracle@orcl1
@'d:\oracle\rman\backup.sql'
sql file
run
backup archivelog all;
delete noprompt obsolete;
}user10724679 wrote:
Hi all,
I need to configure backup in Rman using the task scheduler in windows. I have placed 2 scripts 1 is batch file and 2nd is sql file with the below contents. When i ran the batch file the process is only getting logged into RMAN prompt but not executing the sql statements, how can i schedule it?
Version: 9i
OS: Windows server 2003
Bat file
rman target=sys/oracle@orcl1
@'d:\oracle\rman\backup.sql'
sql file
run
backup archivelog all;
delete noprompt obsolete;
}Change it like below and it will work
Bat file
rman target=sys/oracle@orcl1 @'d:\oracle\rman\backup.sql' -
RMAN Backup from windows to Linux
Hi,
I am having Windows 2003 server Oracle 10.2
and I have RHEL5 and Oracle 10.2
I have taken a RMAN Oracle Database Backup from windows..
I have installed oracle software on RHEL5 and now i need to restore this backup to the Linux
it is possible to restore it? if possible can any one let me know the process?
Regards,
Vijayaraghavan KI have another doubt
I took RMAN full DB Backup - it comes around 2.5 G (performed on time 9.00 A.M morning)
When i perform differential incremental backup it comes around 2.6 G (performed on time 9.45 A.M )
Why it is coming like this.. The backup should happen only for the changed blocks alone?? i.e it should come around 10 Mb or 20 Mb?? Why is like this? or my understanding of differential backup is wrong?
I issued the below commands for Full DB Backup and Incremental Backup...
FULL DB backup at 9.00 A.M
RMAN> BACKUP INCREMENTAL LEVEL 0 DATABASE;
Differentail Backup a 9.45 A.M
RMAN> BACKUP INCREMENTAL LEVEL 1 DATABASE;
Regards,
Vijayaraghavan K -
RMAN backups from Windows to Linux possible?
The company just bought a new PowerEdge 2900 w/ dual EM64T Core2 duos (yes that's quads) w/ 8GB RAM. We opted for RHEL ES4 and 9i. I figure the best way of transfering the data from the old machine to the new machine is RMAN. So is it possible to take RMAN backups made in 9.2.0.1 on Windows and restore in 9.2.0.7 (64bit) on RHEL ES4?
If not will export/import work?Not sure why 10g import/export came into the discussion, but some clarification is needed.
If the OP considers import/export, he (or she) would have to export with with the 9.2.0.1 exp executable and import with the 9.2.0.7 imp executable.
I agree with Mohamadi52,
exp -> 9i client
imp -> 9i or 10g clientThe OP wouldn't be able to use the 10g client to import into a 9.2.0.7 database.
how big is your database? Just curious if this offers other options? -
Can we schedule rman backup in windows platform??
My question is about my backup settings
the idea is to all on windows platform
a complete weekly backup (compressed backupset level 0)
a daily (comulative) incremental backup (same, level 1)
a hourly (differential) incremental backup (level1)
could you please tell me if the following examples will fit my needs,
thanks to you alluser10896195 wrote:
a complete weekly backup (compressed backupset level 0)
a daily (comulative) incremental backup (same, level 1)
a hourly (differential) incremental backup (level1)
this scenario i wanna createYour certainly can if you choose to do so.
I think most people are content with a inc 0 once a week, an inc 1 the other 6 days. Daily backup of archivelogs, with deletion of archivelogs after 'n' backups. It really all depends on your service level (time to recover) requirements. -
URGENT Creating database in Linux using RMAN dump of windows
Hi Everyone,
I'm having a problem in creating a database in Oracle Enterprise Linux using a database dump of Windows platform.
I Have the following-
-->RMAN Backup (for windows database)
-->Archive log files.
Using these i've to create the same database (clone) in linux.
But when i'm try to do this ,everything goes fine except the datafile structures remain same as in windows( like C:\oracle\datafiles\system.dbf instead of /home/oracle/datafiles/system.dbf)
And also i'm not able to restore the full database.
Please suggest me the way to accomplish the task.
Edited by: user8915599 on Jan 11, 2010 10:13 PMHello
You posted in the wrong forum, you'd better use one of the database forums : http://forums.oracle.com/forums/category.jspa?categoryID=18
Anaway, regarding your datafile name strucyture you should look after db_file_name_convert in RMAN documentation. As for your other question, please be more precise (which version, what happens, etc).
But again, post in the right forum and you'll get a ton of answers -
Does RMAN backups are OS independent.
Can I use RMAN backup of windows based oracle to construct solaris based oracle db.
Thanks
NaveenCan I use RMAN backup of windows based oracle to construct solaris based oracle db.As Justin has already said, by default NO. To use rman for closs platform migration you will have to check the ENDIAN format of the both the platforms since, the principal restriction on cross-platform transportable database is that the source and destination platform must share the same endian format.
An example of Cross-Platform Migration Using Rman ( Windows 32-bit to Linux 32-bit ) is on metalink.You can check it out
Doc ID: Note:414878.1
You can also refer to Doc ID: Note:413586.1
Regards,
Anand -
Considerations for keeping RMAN Backup Retention to 1 Year
Dear All,
We are using 2-node 10gR2 RAC on Windows Server. We use Symentec Netbackup 7.5 for backing up Oracle databases. We want to change the retention period of RMAN backups to 1 year. Other than changing the RMAN Backup recovery window to 365, what are the other considerations (other configuration change, other point etc) we should be aware of?
Best regards,
Riaz> Other than changing the RMAN Backup recovery window to 365, what are the other considerations (other configuration change, other point etc) we should be aware of?
Use RMAN Catalog.
How to restore your database if a storage failure occurs and all files on filesystem be lost and all rman files be at MML.
RMAN need a catalog to request files from MML (this catalog can be a controlfile, rman catalog or both), so if you lost your controlfile without RMAN Catalog you need manually find desired files on MML and restore it one by one if these files are not cataloged in that controlfile restored, since Oracle does not catalog files stored at MML. RMAN catalog files only stored on disk. -
Automating RMAN backup jobs in Windows
First off: THANK YOU to Ahmer Mansoor, EdStevens, and jgarry for helping me get my RMAN backup jobs up and running in this thread: Oracle 10g on Windows Server off-line database backup - a few questions You were a big help and provided very valuable advice!
Now I'd like to automate it. My plan is below - please let me know what you think. The four files will be run in this order.
ShutdownDB1.bat
set oracle_sid = pldg
C:\oracle\product\10.2.0\bin\sqlplus.exe /nolog @c:\oraclebackup\shutdowndb2.sql
ShutdownDB2.sql (called by the previous batch file)
set echo on
spool C:\oraclebackup\ShutdownDB.log
connect /@pledgemaker as sysdba
shutdown immediate
spool off
exit<Here there will be a thirty minute window or so while I XCOPY the Oracle Inventory and Oracle Home directories. I'll only do this about once a week or so.>
RMANBackup1.bat
set oracle_sid=pldg
C:\oracle\product\10.2.0\BIN\rman.exe target / cmdfile = 'c:\oraclebackup\rmanbackup2.scr' log = 'c:\oraclebackup\RMANBackup.log'
RMANBackup2.scr (called by the previous batch file)
startup mount
backup database
alter database open
exitAhmer Mansoor wrote:
why shutting down from sqlplus ?
You can include shutdown immediate in the RMANBackup2.scr file and remove the ShutdownDB1.bat and ShutdownDB2.sql.Okay, so how about just this?
RMANBackup1.bat
set oracle_sid=pldg
set echo off
C:\oracle\product\10.2.0\BIN\rman.exe target / cmdfile = 'c:\oraclebackup\rmanbackup2.bat' log = 'c:\oraclebackup\RMANBackup.log'
RMANBackup2.bat
RUN {
shutdown immediate;
startup mount;
backup database;
alter database open;
exit;> }
exit; -
Will RMAN backup all the needed files for me automatically ?
I have execued the following command:RMAN>CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 14 DAYS;
I want to know: Will RMAN backup all the needed files for me automatically every 14 days and delete the metadata of the files older than 14 days automatically?---------No.158Short answer is No.
What's the definition of all needed files ? datafiles, control files, archive logs and/or online redo? and perhaps spfiles?
RMAN>CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 14 DAYS;This is RMAN configure command, it won't do any backup by itself. You need to issue backup command to backup files needed.
You also need to delete obsolete files. The files will become obsolete after 14days but they will not remove themselves automatically. -
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,
NesanHi 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 -
Hi everybody
What are the steps needed if move the RMAN backup to other location in the OS level
(ie) every week i have to move the backup to other locationThere are not problem for example:
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\comp>set ORACLE_SID=W
C:\Documents and Settings\comp>sqlplus "/as sysdba"
SQL*Plus: Release 10.2.0.2.0 - Production on Mon Apr 26 14:53:08 2010
Copyright (c) 1982, 2005, Oracle. All Rights Reserved.
ERROR:
ORA-01031: insufficient privileges
Enter user-name:
C:\Documents and Settings\comp>sqlplus "sys/sm as sysdba"
SQL*Plus: Release 10.2.0.2.0 - Production on Mon Apr 26 14:53:15 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> archive log list;
Database log mode No Archive Mode
Automatic archival Disabled
Archive destination USE_DB_RECOVERY_FILE_DEST
Oldest online log sequence 12
Current log sequence 14
SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup mount
ORACLE instance started.
Total System Global Area 125829120 bytes
Fixed Size 1288100 bytes
Variable Size 71305308 bytes
Database Buffers 46137344 bytes
Redo Buffers 7098368 bytes
Database mounted.
SQL> alter database archivelog;
Database altered.
SQL> alter databaseop;
alter databaseop
ERROR at line 1:
ORA-00940: invalid ALTER command
SQL> alter database open;
Database altered.
SQL> exit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Pr
oduction
With the Partitioning, OLAP and Data Mining options
C:\Documents and Settings\comp>rman target sys/sm
Recovery Manager: Release 10.2.0.2.0 - Production on Mon Apr 26 14:55:58 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
connected to target database: W (DBID=754336873)
RMAN> backup database;
Starting backup at 26-APR-10
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=144 devtype=DISK
channel ORA_DISK_1: starting full datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
input datafile fno=00001 name=D:\ORACLE\PRODUCT\10.2.0\ORADATA\W\SYSTEM01.DBF
input datafile fno=00003 name=D:\ORACLE\PRODUCT\10.2.0\ORADATA\W\SYSAUX01.DBF
input datafile fno=00005 name=D:\ORACLE\PRODUCT\10.2.0\ORADATA\W\EXAMPLE01.DBF
input datafile fno=00002 name=D:\ORACLE\PRODUCT\10.2.0\ORADATA\W\UNDOTBS01.DBF
input datafile fno=00004 name=D:\ORACLE\PRODUCT\10.2.0\ORADATA\W\USERS01.DBF
channel ORA_DISK_1: starting piece 1 at 26-APR-10
channel ORA_DISK_1: finished piece 1 at 26-APR-10
piece handle=D:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\W\BACKUPSET\2010_04_26
\O1_MF_NNNDF_TAG20100426T145611_5XBRSX1M_.BKP tag=TAG20100426T145611 comment=NON
E
channel ORA_DISK_1: backup set complete, elapsed time: 00:01:34
channel ORA_DISK_1: starting full datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
including current control file in backupset
including current SPFILE in backupset
channel ORA_DISK_1: starting piece 1 at 26-APR-10
channel ORA_DISK_1: finished piece 1 at 26-APR-10
piece handle=D:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\W\BACKUPSET\2010_04_26
\O1_MF_NCSNF_TAG20100426T145611_5XBRWXG2_.BKP tag=TAG20100426T145611 comment=NON
E
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:05
Finished backup at 26-APR-10
RMAN> crossckeck backupset;
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: crossckeck
RMAN-01007: at line 1 column 1 file: standard input
RMAN> crosscheck backupset;
using channel ORA_DISK_1
crosschecked backup piece: found to be 'EXPIRED'
backup piece handle=D:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\W\BACKUPSET\201
0_04_26\O1_MF_NNNDF_TAG20100426T145611_5XBRSX1M_.BKP recid=1 stamp=717346573
crosschecked backup piece: found to be 'EXPIRED'
backup piece handle=D:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\W\BACKUPSET\201
0_04_26\O1_MF_NCSNF_TAG20100426T145611_5XBRWXG2_.BKP recid=2 stamp=717346669
Crosschecked 2 objects
RMAN> delete expired backupset
2> ;
using channel ORA_DISK_1
List of Backup Pieces
BP Key BS Key Pc# Cp# Status Device Type Piece Name
1 1 1 1 EXPIRED DISK D:\ORACLE\PRODUCT\10.2.0\FLASH_R
ECOVERY_AREA\W\BACKUPSET\2010_04_26\O1_MF_NNNDF_TAG20100426T145611_5XBRSX1M_.BKP
2 2 1 1 EXPIRED DISK D:\ORACLE\PRODUCT\10.2.0\FLASH_R
ECOVERY_AREA\W\BACKUPSET\2010_04_26\O1_MF_NCSNF_TAG20100426T145611_5XBRWXG2_.BKP
Do you really want to delete the above objects (enter YES or NO)? y
deleted backup piece
backup piece handle=D:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\W\BACKUPSET\201
0_04_26\O1_MF_NNNDF_TAG20100426T145611_5XBRSX1M_.BKP recid=1 stamp=717346573
deleted backup piece
backup piece handle=D:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\W\BACKUPSET\201
0_04_26\O1_MF_NCSNF_TAG20100426T145611_5XBRWXG2_.BKP recid=2 stamp=717346669
Deleted 2 EXPIRED objects
now i copy all backup to c:\db
then
RMAN> catalog start with 'c:\db';
searching for all files that match the pattern c:\db
List of Files Unknown to the Database
=====================================
File Name: C:\db\O1_MF_NCSNF_TAG20100426T145611_5XBRWXG2_.BKP
File Name: C:\db\O1_MF_NNNDF_TAG20100426T145611_5XBRSX1M_.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: C:\db\O1_MF_NCSNF_TAG20100426T145611_5XBRWXG2_.BKP
File Name: C:\db\O1_MF_NNNDF_TAG20100426T145611_5XBRSX1M_.BKP
RMAN> list backupset;
List of Backup Sets
===================
BS Key Type LV Size Device Type Elapsed Time Completion Time
1 Full 592.76M DISK 00:01:26 26-APR-10
BP Key: 4 Status: AVAILABLE Compressed: NO Tag: TAG20100426T145611
Piece Name: C:\DB\O1_MF_NNNDF_TAG20100426T145611_5XBRSX1M_.BKP
List of Datafiles in backup set 1
File LV Type Ckp SCN Ckp Time Name
1 Full 947689 26-APR-10 D:\ORACLE\PRODUCT\10.2.0\ORADATA\W\SYSTEM01.
DBF
2 Full 947689 26-APR-10 D:\ORACLE\PRODUCT\10.2.0\ORADATA\W\UNDOTBS01
.DBF
3 Full 947689 26-APR-10 D:\ORACLE\PRODUCT\10.2.0\ORADATA\W\SYSAUX01.
DBF
4 Full 947689 26-APR-10 D:\ORACLE\PRODUCT\10.2.0\ORADATA\W\USERS01.D
BF
5 Full 947689 26-APR-10 D:\ORACLE\PRODUCT\10.2.0\ORADATA\W\EXAMPLE01
.DBF
BS Key Type LV Size Device Type Elapsed Time Completion Time
2 Full 6.80M DISK 00:00:04 26-APR-10
BP Key: 3 Status: AVAILABLE Compressed: NO Tag: TAG20100426T145611
Piece Name: C:\DB\O1_MF_NCSNF_TAG20100426T145611_5XBRWXG2_.BKP
Control File Included: Ckp SCN: 947720 Ckp time: 26-APR-10
SPFILE Included: Modification time: 26-APR-10
RMAN> -
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
umeshthanks 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. -
Hi,
DB=10.2.0.4 OS=RHL (RAC with 2 nodes db01,db02). Following are the types of automated RMAN backups taken on db01.
- OCR
- Voting Disk
- Talespaces Snapshot
- Archivelog (every hour)
- Backup Incremental level 0 (SUNDAY)
-- backup incrementa level 1 (Mon-SAT)
- Autobackup of Control file and SPFILE (CONTROLFILE AUTOBACKUP ON)
Two main questions please. First, are these backups/backup types are enough FOR FULL RESTORE when talking about RMAN backup on RAC environment with 2 nodes? If not please suggest what else I need to backup?
Secondly, backup home location is /rman which I can see on db01 ONLY. This /rman directory I cannot see on db02. My question is that In case of db02 failure can I restore from this /rman directory? or do I need to automate backup schedules also on db02 separately?
[root@db01~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
3.9G 2.9G 814M 79% /
/dev/sda3 190M 34M 147M 19% /boot
tmpfs 16G 0 16G 0% /dev/shm
/dev/mapper/VolGroup00-LogVol05
3.9G 137M 3.6G 4% /home
/dev/mapper/VolGroup00-LogVol03
3.9G 225M 3.5G 6% /tmp
/dev/mapper/VolGroup00-LogVol02
7.8G 3.7G 3.8G 50% /usr
/dev/mapper/VolGroup00-LogVol04
3.9G 379M 3.4G 11% /var
/dev/mapper/VolGroup00-ORACLE_BASE
12G 8.7G 2.6G 78% /oracle
10.10.28.140:/vol/px4cinconso
40G 1.4G 39G 4% /inconso_px
/dev/mapper/36001ec9000d5ea810000061349015d98
1.3T 551G 665G 46% /rman
[root@db02~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
3.9G 887M 2.9G 24% /
/dev/sda3 190M 34M 147M 19% /boot
tmpfs 16G 0 16G 0% /dev/shm
/dev/mapper/VolGroup00-LogVol05
3.9G 137M 3.6G 4% /home
/dev/mapper/VolGroup00-LogVol03
3.9G 261M 3.5G 7% /tmp
/dev/mapper/VolGroup00-LogVol02
7.8G 3.7G 3.8G 50% /usr
/dev/mapper/VolGroup00-LogVol04
3.9G 355M 3.4G 10% /var
/dev/mapper/VolGroup00-ORACLE_BASE
12G 6.5G 4.8G 58% /oracle
10.10.28.140:/vol/px4cinconso
40G 1.4G 39G 4% /inconso_px
[oracle@db01~]$ rman target /
Recovery Manager: Release 10.2.0.5.0 - Production on Fri Feb 24 11:49:59 2012
Copyright (c) 1982, 2007, Oracle. All rights reserved.
connected to target database: F1 (DBID=1245145263)
RMAN> show all;
using target database control file instead of recovery catalog
RMAN configuration parameters are:
CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 28 DAYS;
CONFIGURE BACKUP OPTIMIZATION ON;
CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/rman/f1/fullbackup/%F';
CONFIGURE DEVICE TYPE DISK BACKUP TYPE TO COMPRESSED BACKUPSET PARALLELISM 1;
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 ARCHIVELOG DELETION POLICY TO NONE; # default
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/oracle/product/10.2.0/db/dbs/snapcf_f11.f'; # default
# Script for backup
level0 ()
run {
allocate channel c1 type disk maxpiecesize 2000M format '/rman/$ORACLE_SID/fullbackup/$ORACLE_SID-data-%U-%t';
allocate channel c2 type disk maxpiecesize 2000M format '/rman/$ORACLE_SID/archive/$ORACLE_SID-arch-%U-%t';
backup incremental level 0 tag = weeklyfull database channel c1
plus archivelog tag = ARCH_$TODAY delete all input channel c2;
release channel c1;
release channel c2;
run {
allocate channel c1 type disk;
delete noprompt obsolete;
release channel c1;
}Bundle of thanks.
Regards,
Edited by: 910385 on Feb 24, 2012 3:00 AMHi,
THanks alot for your feedback. Makes my life easier :) . But actually I started studying this all subject because of the following error message in the log file. I found out about this error that doesn't seem to harm. Just wait for the job to finish or it will sort out automatically. Here are the lines from the log file.
Fehler in Backuplogs gefunden:/oracle/log/fcp11-backup-2300.log: RMAN-00571:
===========================================================brRMAN-00569: ===============
ERROR MESSAGE STACK FOLLOWS ===============brRMAN-00571:
===========================================================brRMAN-03009: failure of
Control File and SPFILE Autobackup command on c1 channel at 02/08/2012
06:10:41brORA-00230: operation disallowed: snapshot control file enqueue unavailableI studied few important lines from one of my book, Oracle 11g RMAN backup and recovery (Roberg G Freeman) that I am going to write after the following MAIN ISSUE:
Node 1
RMAN> show all;
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/oracle/product/10.2.0/db/dbs/snapcf_fp11.f'; # default
Node 2
RMAN> show all;
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/oracle/product/10.2.0/db/dbs/snapcf_fp12.f'; # default
Thing which I just noticed regarding the above RMAN error is that snapcf_fp11.f can be seen on the Node 1 on todays date but snapcf_fp12.f was only on 10th jan.
[oracle@db01dbs]$ ls -lrth
-rw-r----- 1 oracle oinstall 20M Feb 27 15:10 snapcf_fcp11.f
[oracle@db02dbs]$ ls -lrth
-rw-r----- 1 oracle oinstall 20M Jan 10 13:28 snapcf_fcp12.fTHe few lines from the book which I mentioned above are: (Though you might not need to read those lines):
"You need to move the snapshot control file to a shared location if you plan to run backups from more than one node. If you do not move the snapshot control file to a shared file system such as OCFS or an ASM disk group, then you must make sure that the local destination is identical on all nodes."
My question is of course, how to sort out the above log file error. Becuse in our case, backups are run only from one node, and snaphost control file is not being moved to ASM disk groups. Local destination is also same on both the Nodes, isn't it (with different names). Why on Node 2 last snapshot was taken on 10th jan while on Node 1 it is todays date which seems fine.
Control file and SPFILE which I noticed are stored on ASM disk groups also, so being shared between the two Nodes.
(Sanme names/same location for control file and SPFILE on Node 1 and Node 2)
Control file:
+REDO1/fp1/controlfile/current.256.652803827
+DATA1/fp1/controlfile/current.441.652869697
SPFILE:
+DATA1/fp1/spfilefcp1.oraPlease suggest.
Thank you.
Regards,
Edited by: 910385 on Feb 27, 2012 7:43 AM -
How to set the Rman backup parameter.
Hi,
Can U guide me how to set the Rman backup path,control file auto backup & others parameter.Hi,
Go through this,
Show all configurable settings:
RMAN>SHOW ALL;
Write disk backups to the /rmanback directory: (%U will be replaced with unique filenames)
RMAN> CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/rmanback/%U';
Backup using a flash recovery area rather than disk
RMAN> CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT CLEAR;
Configure RMAN to back up the control file after each backup
RMAN> CONFIGURE CONTROLFILE AUTOBACKUP ON;
By default, RMAN automatically names control file backups and stores them in the flashrecovery area.
To configure RMAN to write control file backups to the /backup directory:( %F will generate a unique filename)
RMAN> CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/backup/controlfile%F';
Ensure that RMAN retains all backups needed to recover the database to any point in time in the last 7 days:
RMAN> CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 7 DAYS;
Retain three backups of each datafile:
RMAN> CONFIGURE RETENTION POLICY TO REDUNDANCY 3;
Delete backups no longer required by the retention policy:
RMAN> DELETE OBSOLETE;
To override the configured retention policy for individual backups - use BACKUP.. KEEP (or CHANGE.. KEEP)
Configure backups to run in parallel by assigning two sbt channels:
RMAN> CONFIGURE DEVICE TYPE sbt PARALLELISM 2;
Reset any CONFIGURE setting to its default by running the command with the CLEAR option
RMAN> CONFIGURE CHANNEL DEVICE TYPE sbt CLEAR;
RMAN> CONFIGURE RETENTION POLICY CLEAR;
Regards,
oraclekt
Edited by: oraclekt on Sep 1, 2010 9:58 PM
Maybe you are looking for
-
Does the Iphone 5 log when it is shut down?
I forgot to hand it in during an exam. Can I somehow proof that it has in fact been shut down during the time of the exam? It was confiscated and is still in their costidy. It would be awsome, if I could somehow show that it has been shut down during
-
Cannot start SQL Server Agent (Version 2014 enterprise core)?
The SQL Server Agent log file has the following information. I already set the firewall for inbound 1433. 2014-11-04 11:59:43 - ? [100] Microsoft SQLServerAgent version 12.0.2000.8 (X64 unicode retail build) : Process ID 6108 2014-11-04 11:59:43 - ?
-
Close Button for Web Dynpro in an iView launched from UWL
Hi All, this sounds like such a simple thing but its really got me thinking. Have a web dynpro application launching form the UWL into an iView (using the IViewLauncher, I'm using this so I can change some visual effects of the application with the i
-
Weird repairing disk error loop
My computer seems to be to be stuck in the "repairing disk error" loop though, unlike in most people cases, mine does not end up to the blue screen. Ive left it on hoping it would give me the option but its been 2 days already and its just repeats th
-
I just noticed that my archived e-mails have file names that are number strings and have nothing to do with the subject line. Is there third party software capable of opening the mail, a renaming the file based on the subject line? Does anyone have a