Oracle RMAN Backup API [message #382681] |
Fri, 23 January 2009 10:09 |
alwar
Messages: 2 Registered: January 2009 Location: chennai
|
Junior Member |
|
|
Hi,
can any one tell me RMAN Backup API that we can integrate into our application program?.
Thanks in advance..
Alwar
|
|
|
|
Re: Oracle RMAN Backup API [message #382687 is a reply to message #382684] |
Fri, 23 January 2009 10:23 |
alwar
Messages: 2 Registered: January 2009 Location: chennai
|
Junior Member |
|
|
Hi Ebrian,
Thanks. I am aware of RMAN. But i just want to know is there any API that we can integrate RMAN with our application program? Like the following..
MSSQL backup -> VDI API
Exchange Mailbox backup -> MAPI
Do you understand what i expect?
Many thanks,
Alwar.
|
|
|
|
|
|
Re: Oracle RMAN Backup API [message #687636 is a reply to message #382681] |
Sat, 22 April 2023 04:57 |
John Watson
Messages: 8964 Registered: January 2010 Location: Global Village
|
Senior Member |
|
|
alwar wrote on Fri, 23 January 2009 16:09Hi,
can any one tell me RMAN Backup API that we can integrate into our application program?.
Thanks in advance..
Alwar The API is dbms_backup_restore, but it isn't documented so you have to do a lot of reverse engineering to suss out how to use it. And I would think it unlikely that calling it directly is supported. I've used it occasionally, for instance this is a very simple way to get a directory file listing:
var ns varchar2(1024)
var dirname varchar2(1024)
exec :dirname:='c:\tmp'
exec sys.dbms_backup_restore.searchfiles(:dirname,:ns)
select fname_krbmsft FROM x$krbmsft;
|
|
|
|
Re: Oracle RMAN Backup API [message #687640 is a reply to message #687639] |
Mon, 24 April 2023 02:34 |
|
Michel Cadot
Messages: 68732 Registered: March 2007 Location: Saint-Maur, France, https...
|
Senior Member Account Moderator |
|
|
With SQL*Plus you can execute an OS command using the SQL*Plus HOST command:
SQL> host echo list incarnation;quit | rman target / nocatalog
Recovery Manager: Release 11.2.0.4.0 - Production on Lun. Avr. 24 09:32:39 2023
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
connected to target database: MIKB2 (DBID=288523517)
using target database control file instead of recovery catalog
RMAN>
List of Database Incarnations
DB Key Inc Key DB Name DB ID STATUS Reset SCN Reset Time
------- ------- -------- ---------------- ------- ---------- ----------
1 1 MIKB2 288523517 CURRENT 1 30/08/2010 16:57:33
Recovery Manager complete.
SQL>
|
|
|