Which views have RMAN backup jobs information?
Hi there,
I use EM to schedule the db backup using RMAN.
I can view the jobs in the EM.
But I can not find out which views have RMAN backup jobs information in sqlplus.
like dba_scheduler_jobs.
Your advice will be appreciated.
Thanks,
SZ
Hi,
V$RMAN_STATUS - Shows the success/failure status of all recently completed RMAN jobs.
V$RMAN_OUTPUT
Displays messages reported by an RMAN job in progress
If you want to monitor then go the following :-
Monitoring RMAN Job Progress :- view V$SESSION_LONGOPS.
first Step :-
Before starting the job, create a script file (called, for this example, longops) containing the following SQL statement:
SELECT SID, SERIAL#, CONTEXT, SOFAR, TOTALWORK,
ROUND(SOFAR/TOTALWORK*100,2) "%_COMPLETE"
FROM V$SESSION_LONGOPS
WHERE OPNAME LIKE 'RMAN%'
AND OPNAME NOT LIKE '%aggregate%'
AND TOTALWORK != 0
AND SOFAR <> TOTALWORK
After connecting to the target database and, if desired, the recovery catalog database, start an RMAN job. For example, enter:
RESTORE DATABASE;
While the job is running, start SQL*Plus connected to the target database, and execute the longops script to check the progress of the RMAN job. If you repeat the query while the restore progresses, then you see output such as the following:
SQL> @longops
SID SERIAL# CONTEXT SOFAR TOTALWORK %_COMPLETE
8 19 1 10377 36617 28.34
SQL> @longops
SID SERIAL# CONTEXT SOFAR TOTALWORK % COMPLETE
8 19 1 21513 36617 58.75
Cheers
Pavan Kumar N
Similar Messages
-
RMAN backup job showing problems
We have scheduled RMAN backup jobs for Oracle full backups & incremental level 0 & level 1 backup. Among the recent status for jobs, I have found problems for incremental 0 backup for 2nd Dec ’13 and incremental 1 backup for 6th Dec’13. I would elaborate as below:
For 2nd Dec ’13:
The messages showing are-
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 12/02/2013 01:02:41
ORA-19502: write error on file "/orabackup/rman/snlprod/data_files/7voqfb9a_1_1", block number 763264 (block size=8192)
ORA-27072: File I/O error
For 6th Dec’13:
The messages showing are-
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 12/06/2013 01:12:00
ORA-19502: write error on file "/orabackup/rman/snlprod/data_files/8moqpt4r_1_1", block number 1135616 (block size=8192)
ORA-27072: File I/O error
Request you to please help me with the reason for these error messages.
I hope, my question is clear.
Please revert with the reply to my query.
RegardsHi,
You should look at your systems logs (/var/log/messages on linux, errpt on AIX) to see which error you have exactly at the OS level.
As Sybrand_b said, it is an error while writing a block on disk, so either a filesystem full or a corrupted block on disk.
Do you have additional error message like follows?
OSD-04008: WriteFile() failure, unable to write to file
O/S-Error: (OS 112) There is not enough space on the disk
Regards,
Joseph -
RMAN backup job status not showing in OEM
Hi, I have created an RMAN backup job and scheduled it through OEM to run daily. The first run of this backup job completed today - however I do not see any entry for the job in OEM through SERVER - ORACLE SCHEDULER - JOBS
A lot of scheduler jobs are listed but not my backup job.
Has anyone else experienced this ?Duplicate post. Please do not add to this thread.
-
Tracking RMAN Backup job details
Version:11.2.0.3/Solaris 11
To track RMAN backup job details , what dictionary view/dyn.performance view do you use ?
In our shop , we use incrementally updated backup (incremental merge). To find the details of previous RMAN Jobs, I tried using
v$rman_status
and
v$rman_backup_job_details
But the details provided by these 2 views don't match. For example, on 26th of June 2013, there was an Incremental backup and an archivelog backup. As per v$rman_status , both of them took 61 minutes (46 + 15)
According to v$rman_backup_job_details, backup jobs took 96 minutes .It doesn't seem to provide all info on archive log bkp though.
The start_time and end_time provided by both of these views don't math either !
col starttime format a25
col endtime format a25
select status, object_type, to_char(start_time,'dd/MON/yyyy:hh:mi:ss') as starttime,
to_char(end_time,'dd/MON/yyyy:hh:mi:ss') as endtime ,
to_number(end_time-start_time)*24*60 duration_minutes
from sys.v$rman_status where start_time > trunc(sysdate) - 20 and operation = 'BACKUP'
order by end_time desc;
STATUS OBJECT_TYPE STARTTIME ENDTIME DURATION_MINUTES
FAILED ARCHIVELOG 07/JUN/2013:08:47:44
COMPLETED ARCHIVELOG 26/JUN/2013:06:49:16 26/JUN/2013:07:36:14 46.9666667
COMPLETED DB INCR 26/JUN/2013:06:33:18 26/JUN/2013:06:49:16 15.9666667
COMPLETED ARCHIVELOG 25/JUN/2013:06:50:55 25/JUN/2013:07:58:01 67.1
COMPLETED DB INCR 25/JUN/2013:06:25:06 25/JUN/2013:06:50:55 25.8166667
COMPLETED ARCHIVELOG 24/JUN/2013:06:15:42 24/JUN/2013:07:07:54 52.2
COMPLETED DB INCR 24/JUN/2013:06:01:09 24/JUN/2013:06:15:42 14.55
COMPLETED ARCHIVELOG 23/JUN/2013:09:47:48 23/JUN/2013:10:01:19 13.5166667
COMPLETED DB INCR 23/JUN/2013:09:40:27 23/JUN/2013:09:47:48 7.35
COMPLETED ARCHIVELOG 22/JUN/2013:07:23:18 22/JUN/2013:07:41:29 18.1833333
COMPLETED DB INCR 22/JUN/2013:07:15:35 22/JUN/2013:07:23:17 7.7
COMPLETED ARCHIVELOG 21/JUN/2013:07:30:33 21/JUN/2013:09:05:50 95.2833333
COMPLETED DB INCR 21/JUN/2013:06:39:35 21/JUN/2013:07:30:33 50.9666667
COMPLETED ARCHIVELOG 20/JUN/2013:07:35:54 20/JUN/2013:09:25:03 109.15
COMPLETED DB INCR 20/JUN/2013:06:55:08 20/JUN/2013:07:35:54 40.7666667
COMPLETED ARCHIVELOG 19/JUN/2013:07:20:10 19/JUN/2013:08:27:28 67.3
COMPLETED DB INCR 19/JUN/2013:07:00:02 19/JUN/2013:07:20:10 20.1333333
COMPLETED ARCHIVELOG 18/JUN/2013:07:27:30 18/JUN/2013:09:19:50 112.333333
COMPLETED DB INCR 18/JUN/2013:07:02:09 18/JUN/2013:07:27:30 25.35
COMPLETED ARCHIVELOG 17/JUN/2013:07:42:20 17/JUN/2013:08:40:29 58.15
COMPLETED DB INCR 17/JUN/2013:07:22:29 17/JUN/2013:07:42:20 19.85
COMPLETED ARCHIVELOG 17/JUN/2013:06:28:16 17/JUN/2013:07:42:44 74.4666667
COMPLETED DB INCR 17/JUN/2013:01:57:49 17/JUN/2013:06:28:11 270.366667
COMPLETED ARCHIVELOG 16/JUN/2013:02:18:02 16/JUN/2013:04:22:26 124.4
COMPLETED DB INCR 16/JUN/2013:01:48:18 16/JUN/2013:02:18:02 29.7333333
COMPLETED ARCHIVELOG 14/JUN/2013:07:27:44 14/JUN/2013:08:40:53 73.15
COMPLETED DB INCR 14/JUN/2013:07:01:19 14/JUN/2013:07:27:43 26.4
COMPLETED ARCHIVELOG 13/JUN/2013:06:56:13 13/JUN/2013:07:47:50 51.6166667
COMPLETED DB INCR 13/JUN/2013:06:42:11 13/JUN/2013:06:56:13 14.0333333
COMPLETED ARCHIVELOG 12/JUN/2013:07:12:43 12/JUN/2013:08:12:10 59.45
COMPLETED DB INCR 12/JUN/2013:06:45:51 12/JUN/2013:07:12:43 26.8666667
COMPLETED ARCHIVELOG 11/JUN/2013:07:21:36 11/JUN/2013:08:46:11 84.5833333
COMPLETED DB INCR 11/JUN/2013:06:52:29 11/JUN/2013:07:21:36 29.1166667
COMPLETED ARCHIVELOG 10/JUN/2013:07:04:49 10/JUN/2013:07:55:15 50.4333333
COMPLETED DB INCR 10/JUN/2013:06:49:10 10/JUN/2013:07:04:49 15.65
COMPLETED ARCHIVELOG 09/JUN/2013:08:10:13 09/JUN/2013:09:04:10 53.95
COMPLETED DB INCR 09/JUN/2013:07:50:24 09/JUN/2013:08:10:13 19.8166667
COMPLETED ARCHIVELOG 08/JUN/2013:07:37:09 08/JUN/2013:08:33:58 56.8166667
COMPLETED DB INCR 08/JUN/2013:07:17:56 08/JUN/2013:07:37:09 19.2166667
COMPLETED ARCHIVELOG 07/JUN/2013:08:32:01 07/JUN/2013:09:34:11 62.1666667
COMPLETED DB INCR 07/JUN/2013:07:36:27 07/JUN/2013:08:32:01 55.5666667
COMPLETED ARCHIVELOG 07/JUN/2013:08:48:10 07/JUN/2013:11:28:14 160.066667
42 rows selected.
-- Output of v$rman_backup_job_details
select status, input_type,
to_char(start_time,'dd/mm/yyyy:hh:mi:ss') as starttime,
to_char(end_time,'dd/mm/yyyy:hh:mi:ss') as endtime,
to_number(end_time-start_time)*24*60 duration_minutes
From v$rman_backup_job_details
where start_time > trunc(sysdate) - 20
order by end_time desc;
STATUS INPUT_TYPE STARTTIME ENDTIME DURATION_MINUTES
FAILED ARCHIVELOG 07/06/2013:08:47:44
COMPLETED DB INCR 26/06/2013:06:00:09 26/06/2013:07:36:14 96.0833333
COMPLETED DB INCR 25/06/2013:06:00:08 25/06/2013:07:58:01 117.883333
COMPLETED DB INCR 24/06/2013:06:00:09 24/06/2013:07:07:54 67.75
COMPLETED DB INCR 23/06/2013:08:07:56 23/06/2013:10:01:19 113.383333
COMPLETED DB INCR 22/06/2013:06:00:10 22/06/2013:07:41:29 101.316667
COMPLETED DB INCR 21/06/2013:06:00:12 21/06/2013:09:05:50 185.633333
COMPLETED DB INCR 20/06/2013:06:00:12 20/06/2013:09:25:03 204.85
COMPLETED DB INCR 19/06/2013:06:00:11 19/06/2013:08:27:28 147.283333
COMPLETED DB INCR 18/06/2013:06:00:16 18/06/2013:09:19:50 199.566667
COMPLETED DB INCR 17/06/2013:06:00:13 17/06/2013:08:40:29 160.266667
COMPLETED DB INCR 16/06/2013:06:04:02 17/06/2013:07:42:44 818.7
COMPLETED DB INCR 15/06/2013:06:05:12 16/06/2013:04:22:26 617.233333
COMPLETED DB INCR 14/06/2013:06:00:09 14/06/2013:08:40:53 160.733333
COMPLETED DB INCR 13/06/2013:06:00:09 13/06/2013:07:47:50 107.683333
COMPLETED DB INCR 12/06/2013:06:00:10 12/06/2013:08:12:10 132
COMPLETED DB INCR 11/06/2013:06:00:17 11/06/2013:08:46:11 165.9
COMPLETED DB INCR 10/06/2013:06:00:14 10/06/2013:07:55:15 115.016667
COMPLETED DB INCR 09/06/2013:06:00:10 09/06/2013:09:04:10 184
COMPLETED DB INCR 08/06/2013:06:00:09 08/06/2013:08:33:58 153.816667
COMPLETED DB INCR 07/06/2013:06:00:19 07/06/2013:09:34:11 213.866667
COMPLETED ARCHIVELOG 07/06/2013:08:48:10 07/06/2013:11:28:14 160.066667
22 rows selected.When I run an full/incremental backup with archivelog it only shows as one job in v$rman_backup_job_details. Only if I explicitly run just a backup archivelog all in RMAN does it show up separately as an ARCHIVELOG backup in v$rman_backup_job_details.
rman_status shows the individual parts of the jobs. For example for a full backup it shows the db backup and the archivelog backup.
The start and end time in rman_status should match up with $rman_backup_job_details.
Lets take the 25th as an example:
In man_backup_job_details
STATUS INPUT_TYPE STARTTIME ENDTIME DURATION_MINUTES
COMPLETED DB INCR 25/06/2013:06:00:08 25/06/2013:07:58:01 117.883333
In v$man_status:
STATUS OBJECT_TYPE STARTTIME ENDTIME DURATION_MINUTES
COMPLETED ARCHIVELOG 25/JUN/2013:06:50:55 25/JUN/2013:07:58:01 67.1
COMPLETED DB INCR 25/JUN/2013:06:25:06 25/JUN/2013:06:50:55 25.8166667
You need to view your logfiles to see what rman was doing between 6:00:08 when the job started and 06:25:06 when the incremental backup started.
You can see that the end time is the same in both views.
Not easy to explain but I hope that helps. -
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; -
Hi,
Is there anyway to increase the speed of the RMAN backup job where the job is already started running?
Regards,
007007 wrote:
Hi CKPT,
I am using Oracle Database 11g(11.2.0.1).
Regards,
0071) If your backup is not streaming to tape, then make sure that the RATE parameter is not set on the
ALLOCATE CHANNEL or CONFIGURE CHANNEL commands.
2) Check init.ora/spfile parameters and confirm if async IO is configured:
DISK_ASYNCH_IO=TRUE (or defaulted): native async io is assumed to be in use
DISK_ASYNCH_IO=FALSE and DBWR_IO_SLAVES > 1: async io is simulated with disk IO slaves
BACKUP_TAPE_IO_SLAVES=TRUE: tape IO slave is used
DB_WRITER_PROCESSES - if >1 this is NOT compatible with DBWR_IO_SLAVES > 1
3) If You Fail to Allocate Shared Memory, Set LARGE_POOL_SIZE
LARGE_POOL_SIZE = number_of_allocated_channels *
(16 MB + ( 4 * size_of_tape_buffer ) )
4) Allocate 4 channels if backing up to disks, increase it further if required.
5) Use rman backup operation during off business hours, to give more resource to rman jobs. -
Recovery : if we have RMAN backup
Hi,
1)If we have RMAN backup then how can we recover database.
2)If we have cold backup then how can we use this backup to recover database.
I new in DBA fileld so please need guidelines.
thanks,
BrijeshHello,
1)If we have RMAN backup then how can we recover database.To Recover the Database it should be in ARCHIVELOG mode and you must BACKUP the Database and the Archived logs as well.
There are several cases.
If you have just to Restore and Recover the Database from the lost of the Datafiles and, you still have the Online Redologs, you may perform a Complete Recovery:
http://download.oracle.com/docs/cd/E11882_01/backup.112/e10642/rcmcomre.htm
If you lost the Online Redologs, you'll have to perform an Incomplete recovery ( or DBPITR ):
http://download.oracle.com/docs/cd/E11882_01/backup.112/e10642/rcmflash.htm#i1011846
If you lost also the Control files and/or the Parameter File, you may have to perform first additional operations to restore these files:
http://download.oracle.com/docs/cd/E11882_01/backup.112/e10642/rcmadvre.htm#i1006245
http://download.oracle.com/docs/cd/E11882_01/backup.112/e10642/rcmadvre.htm#CHDBEDCH
If you use Enterprise Manager you may follow these steps:
http://st-curriculum.oracle.com/obe/db/11g/r2/2day_dba/backup/backup.htm
2)If we have cold backup then how can we use this backup to recover database.I think that this link may help:
Re: Restore cold backup and RMAN backup
Hope this help.
Best regards,
Jean-Valentin -
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. -
Rman backup jobs does not start automatically
I have the next question:
When I run such script in RMan:
RUN
ALLOCATE CHANNEL c1 DEVICE TYPE sbt;
SEND 'OB_MEDIA_FAMILY mf_rman';
BACKUP archivelog all;
It creates job on OSB server:
ob> lsj
Job ID Sched time Contents State
oracle10/6 none database cbs3 (dbid=2397799862) processed; Oracle job(s) scheduled
oracle10/6.1 none archivelog backup retryable at 2010/10/01.23:05 ("lsjob --log oracle10/6.1" for details)
But it doesn't statrt immediatelly at the same time, so I has to run the job manually:
ob> runj -n oracle10/6.1 -d Drive2
ob> lsj
Job ID Sched time Contents State
oracle10/6 none database cbs3 (dbid=2397799862) processed; Oracle job(s) scheduled
oracle10/6.1 none archivelog backup running since 2010/10/01.17:10
How to make Rman start backup job at once?
Edited by: OraSun on 01.10.2010 4:44If you have created a database storage selector, you don't need to include media manager parameters in the RMAN script. You would include media manager parameters in script, if you want to override the database storage selector settings. For example, in the database storage selector you have indicated that the media family is mf_rman...OSB will automatically use that media family based on database storage selector settings. Per the RMAN script, you want this backup operation to use mf_rman...since database storage selector already defines this, you don't need to include it in the RMAN script. If your database storage selector defines use of mf_rman media family but you want a particular backup to use "foo" media family, then you would include that parameter in your script so it would override the database storage selector.
-
I am unable to open my iWeb-created web site, for which I have a backup.
My web site is online and I want to access it to make changes. It does not appear when I open iweb, but I have a backup copy on my desktop. When I move backup onto icon for iweb, it doesn't open it. How can I open it again? Since my last opening of it, I've installed the new OS-X software - 10.9
I'm not very computer literate, but I did download the file:
file:///Users/monicaanderson/.Trash/iWeb%20Switch%20Domain.app/
file:///Users/monicaanderson/.Trash/iWebDrop%2013-50-25-235.app/
I copied these links from my download folder and neither would open.
Can anyone help me -- in simple terms
Thank youiWeb has no import facility, so is unable to open any published website at all.
All the data from your iWeb sites is stored in what is called your domain.sites files. These can be located under your User Library/Application Support/iWeb/domain.sites. Find this file and double click it and iWeb will open it.
The User Library is hidden in Mavericks, so to display it you need to click on the Go menu at the top and then click the alt key and your User Library will then be displayed and then you need to go to Application Support and then iWeb and then you will find your domain.sites files from there.
If you can't find these files, then you are looking at re-building your site from scratch and there is no way in which you can alter your site because unfortunately the backup of your site that you need is your domain.sites files and not a published version - this is not good in iWeb because iWeb has no import facility so cannot open it. -
RMAN Backup job fails after changing sys, system passwords
Hello Oracle community,
11.1g
After we changed the passwords for sys, system and sysman the backup jobs fails. this is my error log:
Recovery Manager: Release 11.1.0.7.0 - Production on Mo Aug 30 11:16:29 2010
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
RMAN>
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
ORA-12532: TNS: Ungültiges Argument
RMAN>
Echo einstellen ein
RMAN> set command id to 'BACKUP_MEGALON.INT_083010111617';
Befehl wird ausgeführt: SET COMMAND ID
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: Fehler bei set Befehl auf 08/30/2010 11:16:29
RMAN-06171: Nicht bei Zieldatenbank angemeldet
RMAN> backup device type disk tag 'BACKUP_MEGALON.INT_083010111617' database;
Starten backup um 30.08.10
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: Fehler bei backup Befehl auf 08/30/2010 11:16:29
RMAN-06171: Nicht bei Zieldatenbank angemeldet
RMAN> backup device type disk tag 'BACKUP_MEGALON.INT_083010111617' archivelog all not backed up;
Starten backup um 30.08.10
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: Fehler bei backup Befehl auf 08/30/2010 11:16:29
RMAN-06171: Nicht bei Zieldatenbank angemeldet
RMAN> exit;
Recovery Manager abgeschlossen.
IkrischerHello Tychos,
I am able to make a sqlplus connection, but your hint send me in the correct direction. I had a special character "@" in the password and I think that was the reason for my problems with RMAN.
Ikrischer -
I have HughesNet satellite for an ISP with a capped amount of Internet capacity. How can I use iCloud but adjust the time it is on to conserve my Internet allowance and not have to back up my information all the time?
Thanks Roger W1,
Yes, I was using iTunes to sync over cable without problems since orinigal purchase in 2011 and using 10.6 w/o problem. There was an "update" in Nov 2012 that crashed the sync service. I went to the Apple Store and reviewed the problem with the Geniuses there. It was discovered at that time that the update included mandated use of iCloud but enough of the un-updated code remained that he was able to patch functions to allow Microsoft Office to still sync over iTunes.
This March (+/-) there was another "update" to 10.6 that totally destroyed the patch that was in place so there was no sync service available between Microsoft and iTunes what-so-ever. Then recently, because of some unknown process, all my notes, contacts, and calendars were erased in both my Apple utilities and Microsoft utilities.
After many hours of frustration I was able to recover most of the information to the Apple utilities only, but those were unstable. At my visit to the Apple store it was suggested that an upgrade to 10.8 might solve the stability problem. That it did but being connected to the iCloud all the time keeps using up all my Internet time and I have nothing left to check emails or do research.
This, to me, is not my problem but one created by Apple. I have searched the Internet and support groups and there doesn't seem to be a solution.
The "aircraft mode" turns off all other communication functions and is not acceptable. Neither is disconnecting/turning off Airport on my MBP.
Thanks,
Jay -
Information on unknown rman backup file
Hi,
I have RMAN backup piece, and no information on this RMAN backup piece.
Is there any why to get the this backup piece information like which Oracle Database version the backup was fired on, database SID, backup timing and such.
Please help me out on this.
Regards,
Karthik ChandranHello,
You can find some of those information in the name of the files. Most of the time, there is the SID of the database, or the timestamp of the backup. If you have the autobackup of the controlfile, you will have the DBID which will be useful to restore.
You can also try the CATALOG command in RMAN (10g and above) to find the DBID and SID of the database that created the file. The CATALOG command itself will fail if you are not connected to the database that created the backup, but it will return you those information.
Regarding the version, it is hard to tell.
If you have an autobackup of the controlfile (filename begins with CF), then it is 9i or above.
If you have OMF files (Oracle Managed Files) , then it is 10g or above.
Hope this will help.
Regards, -
Which view would give info about how long the backup took
Hello,
Which view in rman or the target database to tell how long the backup took? Thank you.Hi,
I suggest checking the data dictionary view v$BACKUP_SET ( START_TIME,COMPLETION_TIME,ELAPSED_SECONDS ).
http://download-east.oracle.com/docs/cd/B10501_01/server.920/a96536/ch319.htm#1110691
Regards,
Vaibhav -
Restore RMAN from different Database Rman backup
Hi Everybody
I am practicing Rman so I have one query that how to restore rman backup from another database.
For Example :
1. I have Rman backup of DB1 with level 0 and level 1 cumulative database plus archievelog
2. I need to import or restore Rman backup of DB1 to another database DB2.
What is the procedure for doing the above queries. Please anyone one help me out.
I have using oracle 10g r2 running in windows server 2003.
Thanks in advance.These are the steps ; you need to write the appropiate commands for each step: Hope it helps!
1) Take appropriate RMAN backup of the database db1. Note that you should turn on the CONTROLFILE AUTOBACKUP configuration so that we have the controlfile backed up after the database backup. When we restore the controlfile on new host from this autobackup piece, it will have the information of the latest backup.
2) Create a PFILE for the destination database db2 using the database db1
3) Move the backup pieces and the modified INIT.ORA file to the new host. Starting from 10g it is NO longer compulsory to copy the RMAN backup pieces to exactly the same location on the new host as the production location.
4) Use the pfile created above to STARTUP NOMOUNT the database on the new host
5) Now invoke RMAN and restore the controlfile specifying the location where the controlfile autobackup piece is restored on this new server. You can mount the database once the controlfile is restored successfully.
6) You can skip this step if you have restored the RMAN backup pieces to exactly the same location they were backed up on database db1. If this is not the case then you need to catalog the RMAN backup pieces to make RMAN aware of thier new location on the new host. Note that CATALOG BACKUPPIECE command is available only starting from 10g.
7) Having determined the point up to which media recovery should run, start the restore/recovery using for example:
RMAN> run {
2> set until sequence 59 thread 1;
3> set newname for datafile 1 to '/new_location/system01.dbf';
4> set newname for datafile 2 to '/new_location/undotbs01.dbf';
5> set newname for datafile 3 to '/new_location/sysaux01.dbf';
6> set newname for datafile 4 to '/new_location/users01.dbf';
7> restore database;
8> switch datafile all;
9> recover database;
10> }
Maybe you are looking for
-
We want to implement the interest calculation for vendor invoices where the due date has been exceeded. As this is a public entity the FM module is also installed and so the interest calculation of this invoices should go instead of one specific acco
-
Best way to store and access all my media over network?
With nearly 500GBs of music, movies and TV in my iTunes library, my G5's hard drive is just about full. And since I tend to watch everything on my significantly faster Macbook Pro via Front Row, it means I have to keep my G5 up and running all the ti
-
How do you change the page that a tab opens to?
my tabs are opening to a blocked website and I want my tab window to open on my home page.
-
Using JSF and JavaMail to send Automated Email
Hi All, Can any one please suggest I can use JSF and JavaMail to send automated email messages i.e after a person has successfully completed a form , a message is sent to his/her email address confirming that he has succesfully registered or complete
-
Hi all My scenario is messages are coming from three file systems through xi it is being sent to R/3 in IDoc format my question is how many sender agrements,receiver determinations, Interface Determinations should be created and in case of receiver