How to find RMAN backups are successful
Hi,
I am using RMAN for 10g databases. How can i ensure that the backups am taking thru RMAN are successful? is there any command.
select
SESSION_KEY, INPUT_TYPE, STATUS,
to_char(START_TIME,'mm/dd/yy hh24:mi') start_time,
to_char(END_TIME,'mm/dd/yy hh24:mi') end_time,
round((end_time-start_time)*1440,2) "Minutes"
from V$RMAN_BACKUP_JOB_DETAILS
order by session_key desc;
Regards
Asif Kabir
Similar Messages
-
How to find which backups are running - whether RMAN or EXPORT or EXPDP ?
I need to find using SQL which backups are running at a particular time . I want to use SQL for this.
Hi,
Check the V$session view to get it.
SELECT SID,PROGRAM FROM V$SESSIONThe program will give you the
In case of export it will give you - exp.exe under the PROGRAM
In case of expdp it will give you - expdp.exe under the PROGRAM
In case of RMAN session it will give you -
SID PROGRAM
140 exp.exe
158 expdp.exe
138 rman.exe
149 rman.exeRegards,
Vijayaraghavan K -
How to ensure the rman backup is successful?
Hi,
we have scheduled rman backup jobs.
1. But how do we ensure all the rman backups are successful?
2. if the rman writes directly to tape, how do we ensure all tape backups are successful?
thanks
andrewBut what is incremental merge, couldn't find in the 10g manual?check it out on http://download.oracle.com/docs/cd/B28359_01/backup.111/b28270/rcmquick.htm#BRADV89354
do you use image backup in real production environment?Of course. We have a standard to to use image copies that way.
what do you suggest to do with rman normal way of backup or go for image backup?Depends on your specific situation. Like anything else, I prefer to provide some rationale on the recommendation.
Image Copies with Incremental Merge
Pros:
(1) one one full backup taken ever; no need to take another full backup
(2) the restore time is the same, regardless of the day of the week the db failed
(3) every day the incremental merge's success means the backup was good - an automatic validation
(4) it allows you to quickly switch to copy, rather than restore
Cons:
(1) Space requirement is more (since it's a bit to bit copy)
(2) can't do a point in time recovery from the disk alone
(3) can't go to the tape directly; must be a disk based backup.
Backupsets with Incremental Backup
Pros:
(1) space requirement is lower (since only never-used blocks are not copied)
(2) point in time recovery is possible
(3) direct backup to tape possible (no need for disk backup)
Cons:
(1) restore time varies depending on the day of the week the db failed
(2) you have to take a full backup regularly, perhaps once a week
(3) no validation unless you use validate backupset (takes resources)
So, as you can see, there are pros and cons to each approach. You have to decide for yourself which one weighs more (or less) to come to a conclusion.
Hope this helps.
Arup Nanda -
How to find out what are all the change pointers assoicated for an idoc ??
Hi ,
How to find out what are all the change pointers activated for an idoc ??
Thanks,
VarmaVerma,
You can check what are the active Change Pointers for the message type in tcode <b>BD50</b>
Use tcode <b>BD61</b> to check whether change pointers are active or not??
Hope this helps.. -
How to stop RMAN backup in solaris platform.
Dear All;
How to stop RMAN backup in solaris platform.
Ranjan788442 wrote:
How to stop RMAN backup from oracle end.
To stop Rman backup you have to identify rman session as below
select * from v$session
where MODULE like 'rman%'or you can use v$rman_status identify sid and serial then kill this session as
alter system kill session '<sid>,<serial>' immediate; -
How to find which datasource are using tables AFRU ,CAUFV and AUFM
*how to find which datasource are using tables AFRU ,CAUFV and AUFM*
Hi,
You can enter your table names in SE11 transaction and click "Display" and again click "Where -Used-List". Then it will show all the places where these tables are used(Datasources)
Hope this helps.....
Regards,
SUman -
HR how to find which personal area belongs to which country
HR
how to find which personal area belongs to which country
thank you,
Regards,
Jagrut Bharatkumar shuklaHi,
You can use the table T001P for finding that for eg.,
<b>Select molga from t001p where werks = 'Your Personnel area code'.</b>
Thanks
Yogesh -
How to get RMAN backup logfile.
Hi All,
Can u tell me How to get RMAN backup logfile after completion of the backup.SQL> desc v$rman_output
Name Null? Type
SID NUMBER
RECID NUMBER
STAMP NUMBER
SESSION_RECID NUMBER
SESSION_STAMP NUMBER
OUTPUT VARCHAR2(130)
RMAN_STATUS_RECID NUMBER
RMAN_STATUS_STAMP NUMBER
SESSION_KEY NUMBERIt works for me -
How to identify rman backup level?
Hi,
I am using rman catalog for rman backup. how to identify rman backup level from catalog.
Thanks,By doing the obvious and consulting the online documentation at http://tahiti.oracle.com
You will notice the list backup command output has a level column and this is also present in rc_backupset and/or rc_backuppiece.
Sybrand Bakker
Senior Oracle DBA -
How to find users who are running IE with different credentials ?
How to find users who are running IE with different credentials ?
Is there any tool or a solution in the market will help or a i can use GPO or even Power Shell ?
thnx & Regards ,,Hi Salman,
Based on your description, we can use Windows Credential Manager to check this. Windows Credential Manager stores credentials, such as user names and passwords that we use to log on to websites or other computers on a network.
Regarding Credential Manager, the following article can be referred to for more information.
Credential Manager
http://windows.microsoft.com/en-in/windows7/what-is-credential-manager
Manage passwords in Internet Explorer using Credential Manager
http://www.thewindowsclub.com/manage-passwords-internet-explorer-10
Please Note: Since the above website is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
Best regards,
Frank Shen -
How to verify RMAN backup ?
How to verify and validate the RMAN backups on daily basis?One more doubt at this point - if we can't locate any RMAN script in crontab(crontab -l) but still backup is occuring regularly, how can we see the script behind this?
Thanks in advance.
Edited by: 916438 on May 27, 2012 8:47 PM916438 wrote:
How to verify and validate the RMAN backups on daily basis?One more doubt at this point - if we can't locate any RMAN script in crontab(crontab -l) but still backup is occuring regularly, how can we see the script behind this?
What you want see? If backup was executed without error or make sure that there is a valid backup on tape or disk.
So, If you want see if backup was executed successfull you must find the logs of backup or query "V$RMAN_OUTPUT" (check it on documentation).
If you want check if Database is Valid on Disk or TAPE as mentioned previously "RESTORE VALIDATE DATABASE" (check it on documentation).
Where we can locate RMAN SCRIPT? It's hard to answer.
It' your env, you should find out. The options are: Crontab / Oracle Enteprise Manager / Third-Party Backup Software / Job Scheduler.
Also you can try : Take a time of backup was executed and check on shell a time of exection of backup " ps -ef |grep rman" you will find from where script was started.
Regards,
Levi Pereira -
How to find expired backup?
Dear All,
how to find expired RMAN backup?
how it got expired?(according to which concept)
expired RMAN backup not used to restore?
If catalog database is their we need to register and then take backup?(is must?)
sorry for easy questions..but i'm in situation to know?
please help me :-)
Note:oracle 9i
Os:HP-UX
regards,
DB :-)
Edited by: DB on Feb 9, 2013 2:42 PMHello,
Expired backups are those that are unavailable on the location that you had taken the backup (disk or tape). Running a "crosscheck backup" lists out the expired backups and also updates the repository saying that these backups have been expired. You can delete the expired backups using "delete expired backup".
If you have the backups copied to a different location using OS commands and if the repository is not updated, then the crosscheck commands lists these backups to be expired. If these backups are required for a restoration purpose, then you can catalog them to the location where they are currently place using "catalog start with <path where the backup is stored>".
Since you are on 9i, "catalog start with .." is not supported. May be you can use this DBMS_RCVMAN package but not sure about its usage.
Regards,
Shivananda -
How to verify if backups are set up and running on Hyper-V with Ubuntu 12.04 on vm ?
I have Windows Server 2008 R2 with Hyper-V installed and Ubuntu 12.04 running on a VM.
I would like to be able to verify if Windows Server Backups are in fact backing up the Ubuntu VM.
From within Hyper-V Manager no snapshots appear for the VM.
I have done a lsmod on Ubuntu to verify if LIS is installed , this is the output:
Module Size Used by
vesafb 13844 1
joydev 17693 0
hid_hyperv 13164 0
hid 99559 1 hid_hyperv
mac_hid 13253 0
psmouse 87603 0
serio_raw 13211 0
i2c_piix4 13301 0
lp 17799 0
parport 46562 1 lp
hv_netvsc 22939 0
hv_utils 13540 0
hv_storvsc 17896 2
hv_vmbus 34543 4 hid_hyperv,hv_netvsc,hv_utils,hv_storvsc
floppy 70365 0
A ps -ef outputs this:
root 217 2 0 2013 ? 00:00:00 [hv_vmbus_con]
root 218 2 0 2013 ? 00:00:00 [hv_vmbus_ctl]
root 219 2 0 2013 ? 00:00:00 [hv_vmbus_ctl]
root 220 2 0 2013 ? 00:00:00 [hv_vmbus_ctl]
root 221 2 0 2013 ? 00:00:00 [hv_vmbus_ctl]
root 222 2 0 2013 ? 00:00:00 [hv_vmbus_ctl]
root 223 2 0 2013 ? 00:00:00 [hv_vmbus_ctl]
root 224 2 0 2013 ? 00:00:00 [hv_vmbus_ctl]
root 225 2 0 2013 ? 00:00:00 [hv_vmbus_ctl]
root 226 2 0 2013 ? 00:00:00 [hv_vmbus_ctl]
root 227 2 0 2013 ? 00:00:00 [hv_vmbus_ctl]
(not the entire output, just what I think is relevant)
When checking the registry on Server 2008 I cannot find the key
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WindowsServerBackup\Application Support\{66841CD4-6DED-4F4B-8F17-FD23F8DDC3DE}
as described how to setup in this link: http://support.microsoft.com/kb/958662
From what I can gather VSS will be able to run without the need to shutdown the Ubuntu VM but the backups are not running when Windows Server Backups run?
How can I verify IF any backups of the VM have run successfully at all?
I am new to Hyper-V - but from what I can see , it seems that no VM backups are running . The normal Windows Server backups are running nightly. I would like them to run together without having to restart/ take offline/reboot the VM.
This is a production server and I need to avoid rebooting as much as possible-Hi Sir,
The following daemons must be installed manually for Ubuntu distributions:
VSS Snapshot daemon – This daemon is required to create live Linux virtual machine backups.
KVP daemon – This daemon allows setting and querying intrinsic and extrinsic key value pairs.
To install both daemons, please use the following command:
Copy
# sudo apt-get update
# sudo apt-get install hv-kvp-daemon-init
# uname –r
<kernel release>
# sudo apt-get install linux-tool-<kernel release>
# sudo apt-get install linux-cloud-tools-<kernel release>
Please refer to note 5 , 9 within following article :
https://technet.microsoft.com/en-us/library/dn531029.aspx
As for linux VM running on hyper- v, I would suggest you to try to get further assistance from this forum:
https://social.technet.microsoft.com/Forums/en-US/home?forum=linuxintegrationservices&filter=alltypes&sort=lastpostdesc
Best Regards,
Elton Ji
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] . -
How to find Oracle drivers are installed in WAS
Hi
I am doing Proto type application using webdynpro.I want to create tables in Oracle database,because WAS is installed on Oracle.Now i went to Visual Admin tool and checked the "JDBC Connector" properties.I tried to create the new 'DataSource".While creating DataSource ,it is asking me DriverName,Driver ClassName,Version.I have following questions:
1.How to find the wheather Oracle drivers are installed or not?if not where to get these drivers?
2.Once DataSource is created ,how to test wheater it is working fine or not?please help
Thanks
PrasadHello Prasad,
Don't create a new datasource, but create a datasource alias for the existing SAP<sid>DB datasource with your new name.
<u>(remember to restart the j2ee cluster)</u>
Then in your application instatiate the datasource and use your create/update/select statements.
<b><i>Once this is set up test from your java code as follows:</i></b>
InitialContext ic = new InitialContext();
DataSource mySource = (DataSource)ic.lookup("java:comp/env/jdbc/YourDataSource");
or.. DataSource mySource = (DataSource)ic.lookup("java:jdbc/YourDataSource"); <b>(can't remember which of the 2 worked)</b>
if this throws a NamingException, then your alias doesn't work, or perhaps you forgot to restart the cluster.
After this executes successfully, use the datasource freely.
Connection con = mySource.getConnection();
con.executeQuery
con.executeUpdate
con.executeStatement
ect...
And forget about oracle, sapdb, informix, db2, or whatever drivers. This makes your application portable and independent from the DB layer.
Please feel free to reward points if this solves your problem.
Best regards,
Homer Vargas -
Hi,
We are running 24X7 systems and we take backup through RMAN.
I want to test my backups are working or not.
How can I do that.
Regards
MMUrestore validate database would be handy in your case.
When the above is issued, RMAN doesn't touch the live datafiles, it uses the previous valid backupsets to validate whether they are good enough for restore and recovery.
However, restoring on another host, will helpful to guage the restore and recovery timing.
Jaffar
Maybe you are looking for
-
AFTER DOWNLOADING THE LATEST VERSION OF ITUNES, I CAM GETTING AN ERROR WHEN I TRY TO OPEN IT. MSVCR80.DLL WAS NOT FOUND. UNABLE TO LOCATE COMPONENT. BEFORE I REMOVE THIS VERSION AND TRY TO RELOAD AGAIN, JUST WANTED TO BE SURE I WOULDN'T LOSE ALL 200
-
Hey gurus, req to help me.......
what do we mean by end user manual and end user training and can any body explain this two concepts in detail and details involved in it.
-
I have just downloaded the 30 day indesign cs3 trial. I have installed it and gone through all the necessary set up process', till now it is an 'adobe cs3' folder sitting on my desktop. when i double click it, it just opens up more folders and then m
-
I am trying to convert to the Mozilla (Firefox) start page for my home page. I cannot follow the instructions given because my default home page in options is Yahoo. (I don't want that.) Can you give me the address of the Start page? I know how to ma
-
Strange results with Insert statement having select query
Hi all, I am facing a strange issue with Insert statement based on a select query having multiple joins. DB- Oracle 10g Following is the layout of my query - Insert into Table X Select distinct Col1, Col2, Col3, Col4, Function(Col 5) from Table A, B