Oracle 11GR1, Backup / Restore etc.
Hi together
I'm looking for a DotNet API to control status messages, exception handling and so on in Oracle 11GR1.
Thanks for your Help
Rman is part of the database, and is the backup/restore tool. There is no other way then to use rman (in a normal deployment), except a cold backup (file copy).
Similar Messages
-
Iphone 3g to 3gs....sync/backup/restore etc
hi,pretty new to this so maybe a dumb qs... i had an ip3g for about two days and then got offerd a 3gs,all good.
i had already put apps,music etc on the 3g so when i plugged the3gs into i tunes i did a sync/restore from my ip3g backup to the 3gs,my qs is will this or would this have affected the 3gs in anyway ie loss of features etc as the b/up came from the 3g.
sorry if its a silly qs but its bugging me...cheers all
Message was edited by: dobbo35would this have affected the 3gs in anyway ie loss of features etc as the b/up came from the 3g.
No, you did exactly what you should have done if you wanted to transfer the data from your 3G to your 3GS. -
Oracle 9i Backup/Restore with Data Guard Issues
Greetings,
I am currently using Oracle 9i Data Guard to have a Primary/Standby model.
The current implementation compares the backup piece id from the backed up image (taken from the Primary) with the backup piece id on the Standby db. If the number are not equal then the restore will fail.
1- Is this the best implementation for restoring on a standby?
2- Would it be better to give a permitted gap range between the backup piece ids between the two databases? and if so what would be an acceptable range?
3- In case the gap range discussed in #2 above is allowed, when the Standby is started as primary and the primary set to be standby, would the Data Guard automatically tries to retrieve all the missing archive/redo log files from the primary db?
ThanksHi,
I am not sure I am following you here. Are you trying to create a physical standby, by using a backup taken from the primary?
If this is what you're trying to do, you can take any hot backup from the primary and use it to sync the standby with your primary. The older the backup you're using to create the standby, the more archive logs you'll need to get synchronized.
As long as you have all the archive logs needed in the archive_log_dest, data guard will automatically retrieve all the missing logs, and apply them on the standby. Again, only if they are available on the primary.
Not sure If this is what you were asking...
Idan. -
Hi All,
Kindly if someone can put some light on the below query we are facing :
I have a setup of Intel Server with Windows 2000 Server operating system. Oracle 8i is installed in the server. Because of system crash the system was not able to boot.
Attempting to recover whatever possible from OLD Hard Disk, we could sucessfully retreive a copy of " c:\oracle " onto another Hard Disk. But in the process time stamp of the *.dbf files are changed with the latest.
We donot have any DUMP files for restoring.We only have c:\oracle & all file structures which was on the earlier Hard Disk.
Kindly if someone can guide what are the ways for me to retreive the data from these files.
Matter quite urgent..!
Thanks in Advance..!
Regds.I did something like that in the past:
I got the whole directory where the software was installed, and also the whole databases with all the
datafiles... it is very important that you put everything as if it was the old installation, this because you have the init$ORACLE_SID.ora pointing at specific directories where your control files are located...
If you change the paths Oracle will not start and you'll have to do it again...
if you are planning to change the directories make sure you change the paths in your init$ORACLE_SID.ora
in the future make some full exports:
exp USERID=SYSTEM/MANAGER FULL=Y
just in case... (and put the expdat.dmp file somewhere else)
cheers
rjh -
Hi Experts,
I have a question related to oracle secure backup restore.
Is that possible to restore only the incremental backup?
My full backup is on Sunday, all other days am taking incr backup. I want to restore my data back on Wednesday. For the same, do i need to restore Full backup and incr on Monday, Tuesday and Wednesday ?
Or is there is any other option to recover a file which is available in Wednesday incremental backup?
Thanks and Regards
JayIf the file was changed on the Wednesday then it would be included in the Wednesday incremental job, so if you were viewing "latest" and chose the file it would just restore that from the Wednesday backup job. It would only go back to the Full backup if the file hadn't changed so wasn't included in the incr.
You can tell the view to be "as of date" and set it to "exclusive" so you'll only see the files included in that incr job.
Thanks
Rich -
RMAN can backup/restore diferent versions of Oracle DataBases regardless OS
Hi,
I am evaluating Recovery Manager to backup and restore Oracle databases.
I have to backup/restore diferents versions of Oracle database, these databases are running in diferents operating systems (AIX, LINUX, Windows)
For example:
Oracle DataBase 9 in AIX 5.3 system
Oracle DataBase 10 in Lunix system
Oracle DataBase 9 in Windows system
I want to have a single RMAN server in order to backup/restore all my Oracle DataBases, is it possible?
A single RMAN server can backup/restore diferent versions of Oracle DataBases regardless the operating system?
If the answer is yes, do I need to have an specif operting system in my RMAN server? (AIX, Linux, Windows, etc.)
Thanks for your help;Hi,
Your question:
I want to have a single RMAN server in order to backup/restore all my Oracle DataBases, is it possible?
Sounds more like a machine.
If you would have asked:
I want to have a single RMAN recovery catalog in order to backup/restore all my Oracle DataBases, is it possible?
I would have confirmed as like the other two.
Be aware the catalog version needs to be equal or higher as the highest database version.
Regards,
Tycho -
Oracle backup & restore problem
Hi Team,
I am new to the RMAN, I want to test Backup & restore operation
I have database called Test , I am creating new table in the database called Test_table through SQL *coPlus create mmand.
Now After this I am taking backup the of all cotrolfile , datafile & snapshot file.
once again I am opening this database in SQL *plus & deleted the table (Test_table).
Now if restore back the database with backup set taken before deleting table. It is not showing me the Test_table.
What is the problem? Plz help..Hi,
Thanks for replay,
Using Windows XP & ORACLE 9i
I am doing following steps.
Created one table ( Test_table ) in database my Test database.
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\Administrator>rman
Recovery Manager: Release 9.2.0.1.0 - Production
Copyright (c) 1995, 2002, Oracle Corporation. All rights reserved.
RMAN> connect target system/sreedhar@Test;
connected to target database: Test (DBID=1558624384)
RMAN> show all;
using target database controlfile instead of recovery catalog
RMAN configuration parameters are:
CONFIGURE RETENTION POLICY TO REDUNDANCY 1;
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 'C:\Testing\CTL_
%F';
configuration for DISK channel 2 is ignored
CONFIGURE DEVICE TYPE DISK PARALLELISM 1;
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1;
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE CHANNEL 1 DEVICE TYPE DISK FORMAT 'C:\Testing\DBF_%U';
CONFIGURE CHANNEL 2 DEVICE TYPE DISK FORMAT 'C:\RmanBack\std_%U';
CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT 'C:\Testing\CHA_Dev_%U_%S_%P';
CONFIGURE MAXSETSIZE TO UNLIMITED; # default
CONFIGURE SNAPSHOT CONTROLFILE NAME TO 'C:\TESTING\SNCFTest.ORA';
RMAN> backup database;
Starting backup at 06-OCT-06
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=9 devtype=DISK
channel ORA_DISK_1: starting full datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
input datafile fno=00001 name=C:\ORACLE\ORADATA\Test\SYSTEM01.DBF
input datafile fno=00002 name=C:\ORACLE\ORADATA\Test\UNDOTBS01.DBF
input datafile fno=00005 name=C:\ORACLE\ORADATA\Test\EXAMPLE01.DBF
input datafile fno=00010 name=C:\ORACLE\ORADATA\Test\XDB01.DBF
input datafile fno=00006 name=C:\ORACLE\ORADATA\Test\INDX01.DBF
input datafile fno=00009 name=C:\ORACLE\ORADATA\Test\USERS01.DBF
input datafile fno=00003 name=C:\ORACLE\ORADATA\Test\CWMLITE01.DBF
input datafile fno=00004 name=C:\ORACLE\ORADATA\Test\DRSYS01.DBF
input datafile fno=00007 name=C:\ORACLE\ORADATA\Test\ODM01.DBF
input datafile fno=00008 name=C:\ORACLE\ORADATA\Test\TOOLS01.DBF
channel ORA_DISK_1: starting piece 1 at 06-OCT-06
channel ORA_DISK_1: finished piece 1 at 06-OCT-06
piece handle=C:\TESTING\DBF_0QHV5L4T_1_1 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:01:05
Finished backup at 06-OCT-06
Starting Control File and SPFILE Autobackup at 06-OCT-06
piece handle=C:\TESTING\CTL_C-1558624384-20061006-01 comment=NONE
Finished Control File and SPFILE Autobackup at 06-OCT-06
RMAN> exit
Recovery Manager complete.
After this backup I am deleting this Test_table table using SQL *PLUS Drop table clause.
Also deleted the all .DBF files from Test folder. and I am restoring now the old backup set which has the information regarding the Test_table.
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\Administrator>rman
Recovery Manager: Release 9.2.0.1.0 - Production
Copyright (c) 1995, 2002, Oracle Corporation. All rights reserved.
RMAN> connect target system/sreedhar@Test;
connected to target database (not started)
RMAN> startup mount;
Oracle instance started
database mounted
Total System Global Area 252779340 bytes
Fixed Size 453452 bytes
Variable Size 125829120 bytes
Database Buffers 125829120 bytes
Redo Buffers 667648 bytes
RMAN> show all;
using target database controlfile instead of recovery catalog
RMAN configuration parameters are:
CONFIGURE RETENTION POLICY TO REDUNDANCY 1;
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 'C:\Testing\CTL_
%F';
configuration for DISK channel 2 is ignored
CONFIGURE DEVICE TYPE DISK PARALLELISM 1;
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1;
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE CHANNEL 1 DEVICE TYPE DISK FORMAT 'C:\Testing\DBF_%U';
CONFIGURE CHANNEL 2 DEVICE TYPE DISK FORMAT 'C:\RmanBack\std_%U';
CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT 'C:\Testing\CHA_Dev_%U_%S_%P';
CONFIGURE MAXSETSIZE TO UNLIMITED; # default
CONFIGURE SNAPSHOT CONTROLFILE NAME TO 'C:\TESTING\SNCFTest.ORA';
RMAN> restore database;
Starting restore at 06-OCT-06
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=11 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 C:\ORACLE\ORADATA\Test\SYSTEM01.DBF
restoring datafile 00002 to C:\ORACLE\ORADATA\Test\UNDOTBS01.DBF
restoring datafile 00003 to C:\ORACLE\ORADATA\Test\CWMLITE01.DBF
restoring datafile 00004 to C:\ORACLE\ORADATA\Test\DRSYS01.DBF
restoring datafile 00005 to C:\ORACLE\ORADATA\Test\EXAMPLE01.DBF
restoring datafile 00006 to C:\ORACLE\ORADATA\Test\INDX01.DBF
restoring datafile 00007 to C:\ORACLE\ORADATA\Test\ODM01.DBF
restoring datafile 00008 to C:\ORACLE\ORADATA\Test\TOOLS01.DBF
restoring datafile 00009 to C:\ORACLE\ORADATA\Test\USERS01.DBF
restoring datafile 00010 to C:\ORACLE\ORADATA\Test\XDB01.DBF
channel ORA_DISK_1: restored backup piece 1
piece handle=C:\TESTING\DBF_0QHV5L4T_1_1 tag=TAG20061006T122500 params=NULL
channel ORA_DISK_1: restore complete
Finished restore at 06-OCT-06
RMAN> recover database;
Starting recover at 06-OCT-06
using channel ORA_DISK_1
starting media recovery
media recovery complete
Finished recover at 06-OCT-06
RMAN> exit
Recovery Manager complete.
When i check table Test_table in SQL *Plus using command DESC Test_table; it is showing me error object Test_table does not exist -
How to do oracle backup,restore,recovery using php?
Is there anyone know how to do oracle backup,restore and recovery using php? any tips... is there any ways to do that?
Are you referring to performing RMAN backup operations via the OSB web tool? RMAN operations are managed, not via the web tool, but through RMAN command line or Oracle Enterprise Manager (EM)
Donna -
System Copy/ Oracle Backup/Restore as part of migrating from 32 to 64-bit
Source system (I386): R3E47 Ext Set 2.00 SAP_BASIS 620 Kernel 640 Windows 2000, Oracle 10.2.0.4, non-unicode
Target system (x86-64/AMD64): R3E47 Ext Set 2.00 SAP_BASIS 620 Kernel 640 Windows 2000 Oracle 10.2.0.4, non-unicode
Am using method System Copy/ Oracle Backup/Restore to migrate from 32 to 64 bit (HOM System Copy).
Actions on source system:
a) Upgrade from 9.2.0.7 to Oracle 10.2.0.4
b) Used ora_br_copy.bat to generate CONTROL.SQL and init<sid>.ora
c) Switched logfiles
d) Performed offline backup
Actions on target system:
a) Installed Oracle 10.2.0.1 and patched it to 10.2.0.4
b) Used CD 51033746 "6.20/6.40 based products Installation Master (Edition May 2008)" to install the CI
c) Started installation of the DB instance selecting System Copy/ Oracle Backup/Restore (same <SID> for source and target systems)
Relevant input parameters used:
Database schema: SAPR3
Database character set: US7ASCII
d) When SAPINST stopped to allow for restoring of datafiles, logs and init<sid.ora>:
- copied datafiles and logs to the usual place
- copied CONTROL.SQL (edited to include utilrp.sql and utlrp.sql for the migration from 32 to 64) to the DB-instance intallation . directory.
- copied generated init<SID>.ora to the <ORACLE_HOME>\database
e) Resumed SAPINST.
David Byrne in a previous post suggested: "check your oracle alert file in case there are errors there you may need to update the word size for the 64bit install. Errors like this in the oracle alert file would suggest that.,
ORA-12012
ORA-06544: PL/SQL: internal error, arguments: [ORA-06544: PL/SQL: internal error, arguments: 56319], [, ], [, ], [, ], [
ORA-06553"
Well, I am getting ORA-06553: PLS-801: internal error [56319] but then my edited CONTROL.SQL (which is mainly a CREATE CONTROLFILE as it would be obtained with a ...BACKUP CONTROLFILE TO TRACE) includes at the end this:
shutdown immediate
startup upgrade
spool utlirp.log
@?/rdbms/admin/utlirp.sql
spool off
Shutdown immediate
Startup
Spool utlrp.log
@?/rdbms/admin/utlrp.sql
Spool off
exit
which is supposed to do just that... (I think)
Help, anyone?> Trying to cheer me up, are you?
No
> It is NOT free that reorganization! Quite expensive, actually, paid for in time! But you're right... the database needed a reorg anyway :-\
True, not "free" - it takes time but the data will be nicely aligned then
> And why would I have to reconfigure all those 10.2 features? Everything's either in the database or init<sid>.ora, ain't it? And my database is a pretty 10.2.0.4 with all those nice features already activated...
No - not really auotmatically if you upgraded from 9.2 And "init<SID>.ora" is past, you nowadays use "spfile" If, of course, e. g. Automatic Undo was activated in 9.2 then it's there of course in 10.2 too.
> One sticky point... I haven't really read the r3load procedure yet and I will before I import, but... I would say I don't have to do anything about the 32->64 bit, right? I mean, it should behave properly while reloading on 64-bit...
The exported content is about 10 % of the size of the system, it's database and OS independent so yes, you can import it nicely on 32bit. Another tip: make sure you don't just use the default configurations for R3load, it will take a HUGE amount of time. Use the package splitter (builtin-in in sapinst) so you get a much higher parallelism when importing.
Markus -
System copy using oracle backup/restore - sapinst does not restart after re
I am performing a system copy of a BW3.5 system, using the system copy procedures and Oracle backup/restore. on the target node, I have installed the CI. I have run sapinst to install the database up to the point when it tells me to install the Oracle Server software, then restore the backup, and choose 'OK' in the dialog box. As I did not want to leave this dialog open, I chose 'cancel'. I have now installed Oracle, and restored the database, but when I try restarting sapinst I get the following error, and sapinst quits:
FKD-00049 XML - Parser error: error: invalid symbol '' in literal 'SAPSYSTEM_DB
indind_ind_ind_ind_0_SAPSYSTEM_ind_ind_ind_ind_ind_0_SAPComponent_ind_ind_ind_
ind_ind_0_SAPComponent_Accounts_ind_ind_ind_ind_ind_0_SAPCompon' in line 1, 1
in file
ERROR 2007-08-20 15:06:13 [iaxxcsihlp.hpp:208]
main()
FCO-00031 An error occurred during the installation of component Problem: error
in persistency subsystem.. Press the log view button to get extended error info
rmation or press OK to terminate the installation.
Has anybody ever experienced this before, or have any clues as to what the problem is? This is a production system, and it is supposed to be available by the end of the week....Hi Angie,
You should always mention OS details while drafting message.
First, CHeck you must selected same SID as earlier while installation or Oracle and DB.
Secondly, you can skip this phase in SAPInst, bit technical for you.
Alternatively,
Recommendations
- Set parameters as per SAP Note 356370
- Change the swap mode from 'intermediate' to 'deferred' as described in
SAP Note 97179.
- Add /usr/sbin to the path of the user <sapsid>adm in the file
.cshrc, .login, .profile in the user's home directory. Enter the
following command(s) at the end of .cshrc, .login, .profile:
a) If using a csh, enter:
set path=(/usr/sbin $path)
b) If using a sh, enter:
path=/usr/sbin:$path
export path
Br,
Amit Lal
Reward suitable pts. -
Restoring Oracle 11g backup to 10g (or XE)
Is there a way to restore the Oracle 11g backup to 10g (or XE).
- impdp/expdp will be helpful for this exercise.
- or i have to use some other utility.
Please let me know.
w\So far i found this...
http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/exp_imp.htm#SUTIL103
h1. Using Different Releases and Versions of Export
Whenever you are moving data between different releases of the Oracle database, the following basic rules apply:
The Import utility and the database to which data is being imported (the target database) must be the same version.
The version of the Export utility must be equal to the earliest version of the source or target database.
For example, to create an export file for an import into a later release database, use a version of the Export utility that is equal to the source database. Conversely, to create an export file for an import into an earlier release database, use a version of the Export utility that is equal to the version of the target database.
In general, you can use the Export utility from any Oracle8 release to export from an Oracle9i server and create an Oracle8 export file. See Creating Oracle Release 8.0 Export Files from an Oracle9i Database. -
Homegneous System copy Specific DB method Oracle Backup/Restore Sapinst
Hello colleagues,
Following the documentation, I´ve one doubt about the above method, is it needed to install again the SCS instance when the system is installed in one host and we want just to refresh database.
I mean, we want to refresh CRM quality system from Production system. It´s a ABAP+JAVA system, so i have to prepare a backup and export Central instance through sapinst in source system.
Afterwards it´s needed to follow the three steps in sapinst, Install SCS instance, Install database instance and install central instance (database copy section) . Or as we´ve already installed our quality CRM system, it´s just enough with installing database instance and central instance (using backup/restore method and exported data from source system)
Thanks a lot for this info because in the SAP guides it´s not clear from my point of view.
RegardsEnrique José Marcos wrote:
Hello colleagues,
Following the documentation, I´ve one doubt about the above method, is it needed to install again the SCS instance when the system is installed in one host and we want just to refresh database.
I mean, we want to refresh CRM quality system from Production system. It´s a ABAP+JAVA system, so i have to prepare a backup and export Central instance through sapinst in source system.
Afterwards it´s needed to follow the three steps in sapinst, Install SCS instance, Install database instance and install central instance (database copy section) . Or as we´ve already installed our quality CRM system, it´s just enough with installing database instance and central instance (using backup/restore method and exported data from source system)
Thanks a lot for this info because in the SAP guides it´s not clear from my point of view.
Well i didnot get your question properly, but as per my understanding if you have only ABAP instance installed then you can go with the Database resoration method but as you said ABAP+JAVA instance both are there so in that case you need to build the export of complete system through Sapinst and then you cn perform the same export file to install the target system which will be your Quality.
Another option is that just restore the database via database restoration method then try to restore the JAVA stack by file system method which is i think not supported by SAP if i am not wrong but it can be done i tired the same on XI system.
Regards,
Subhash -
Hi all,
+Please assist me with a guideline of carrying out a backup restore,this is to test and ensure that we can be able to restore the backup in the case of a disaster. we perform a Full backup daily and are using BRTOOLS.+
Thank you.
Regards,Hi,
you need to do the following
1) Copy the log files of the backup date which u want to restore.
2) Create controlfile from production using command alter system backup controlfile to trace;
3) restore the backup on target system using brrestore command.( assumption here is your target system is already installed)
For more details you need to refer help.sap.com
Regards,
Deepak Kori -
Backup/restore tablespaces in noarchivelog mode
In our office there is a oracle 10g box that's used for testing purposes.
It's only got 1 database, but each user has their own tablespace.
As it's not a 'live' box, archivelog and flashrecovery have been disabled by the dba probably in favour of speed.
I have a NUnit test suit that runs across a tablespace, and I am trying to restore the tablespace before each run.
In noarchivelog mode, RMAN allows me to take the tablespace offline, and create a backup - so far so good.
Later on, I am able to take the tablespace offline again, and issue a "RESTORE TABLESPACE" command.
But then I cannot bring the tablespace online without issuing a "RECOVER" command.
I have tried the NOREDO option but it still says that the file needs a media recovery before it can be brought online.
Is there a way to bring the tablespace online without applying the REDO logs ?
Or is tablespace backup/restore not possible because of noarchivelog ?
Thanks.I tried the TTS method, and it was only marginally quicker than a data_only impdp.
I suspect this is due to the nature of a fresh nunit test database, where the metadata (huge tables structure, stored proc, etc) is often larger than the table contents itself.
In the grand scheme of things it might even end up slower, as i need to drop the tablespace including contents if i want to use TTS to load up the backed up dbf.
From the comments I'm guessing that there's no way of just updating the timestamp of the tablespace without applying the REDO logs then ?
I've tested other methods as well.
Flash recovery could only work on a table or db level, I can't take the db offline as there are other users on it with their own tablespace/schemas. (it was an old dev's box, we're reusing what we can)
impdb with the truncate and data_only flag seems to be the only viable option so far, with TTS up for consideration. -
Using OEM to backup/restore DB using EMC Avamar (3rd party)
Hi,
I'm trying to find a solution for using OEM to backup and restore DB using EMC Avamar software.
Normally, we can backup/restore DB using Avamar through RMAN CLI using scripts similar to the following:
connect target /
run {
configure controlfile autobackup on;
set controlfile autobackup format for device type sbt to 'CONTROLFILE.orcl.%F';
allocate channel c0 type sbt PARMS="SBT_LIBRARY=c:\PROGRA~1\avs\bin\orasbt64.dll" format '%d_%U';
send '"--prefix=11g/orcl/" "--flagfile=c:\flagfile\avtar-flags.txt" "--bindir=c:\PROGRA~1\avs\bin"';
backup database plus archivelog delete input;
release channel c0;
Where orasbt64.dll is the name of Avamar's 64bit library and flagfile contains some internal flags necessary for backup/restore operations.
Now, I want to use OEM for the same thing so, what I did was try to specify the Media Management Vendor Library Parameters under Backup Settings in OEM. I saved the following as the parameters:
"SBT_LIBRARY=c:\PROGRA~1\avs\bin\orasbt64.dll";
Even after this, the backup script generated by OEM does not contain this parameter. Naturally, backups to EMC Avamar fail.
I would like answers to these 2 questions:
1. How to correctly specify the Media Management Vendor Library Parameters?
2. Is there a way to specify all the parameters (--prefix, flagfile, bindir, PARMS etc.) so that the script generated by OEM is same (or as close as possible) to the one I use for RMAN CLI backups.
Thanks!Hi Anant,
I'm also having the same issue. It fails because it doesn't understand the "send" command in OEM. Here is the output of the tape backup test:
RMAN> run {
2> allocate channel oem_sbt_backup type 'sbt_tape' format '%U' parms 'SBT_LIBRARY=/usr/local/avamar/lib/libobk_avamar64.so,
3> ENV=(PATH=/bin:/usr/bin:/usr/local/avamar/bin);
4> send "--flagfile=/home/oracle/scripts/backup/my-avtar-flags.txt"';
5> backup as COMPRESSED BACKUPSET current controlfile tag '04302012033156';
6> restore controlfile validate from tag '04302012033156';
7> release channel oem_sbt_backup;
8> }
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of allocate command on oem_sbt_backup channel at 04/30/2012 15:32:00
ORA-19554: error allocating device, device type: SBT_TAPE, device name:
ORA-27209: syntax error in device PARMS - unknown keyword or missing =
RMAN> allocate channel for maintenance type 'sbt_tape' parms 'SBT_LIBRARY=/usr/local/avamar/lib/libobk_avamar64.so,
2> ENV=(PATH=/bin:/usr/bin:/usr/local/avamar/bin);
3> send "--flagfile=/home/oracle/scripts/backup/my-avtar-flags.txt"';
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of allocate command on ORA_MAINT_SBT_TAPE_1 channel at 04/30/2012 15:32:01
ORA-19554: error allocating device, device type: SBT_TAPE, device name:
ORA-27209: syntax error in device PARMS - unknown keyword or missing =
When I use TSM it doesn't require the "send" command and it backs up successfully. I guess the other option would be to create an EM job to do the backups. However, this wouldn't populate the EM tables for backup reporting.
Maybe you are looking for
-
I have over 4000 songs from mine and my now ex gfs Mac. After the split I was unable to transfer her share of music to my new lab-top. I don't wanna lose my music but I can't buy all music again I've had this problem for so long. My iPhone hasn't bee
-
How to fix an irratic track pad on a macbookpro
my computer will work fine for about an hour or so, then the mouse will irraticaly move around and click unintended things. i read a post by lerodouglas that somewhat answered my question, his conversation allowed me to get to the acitivity monito
-
Restore D: from recovery discs?
i accidently 'formatted,' er, deleted, D: drive on my Mini 110-1125 W7 while trying to recover from a virus; can i restore it by running a complete system recovery from the discs? (Why is it so easy to delete D:!!!) This question was solved. View Sol
-
Sir, Pls help. I am getting a message when i copy some package from other project to my main project it gives me an error like below. How to resolve this message. java.lang.reflect.InvocationTargetException file:/H:/AccountsPlusInvoiceSystem/Accounts
-
Change phase of all system contracts to "executed"
Hi We are working on SAP e sourcing 5.1/ CLM 2.0. Here we are doing a clean up exercise wherein we want to move all the existing contracts to "executed" state. PS we have defined 6 phases of the contracts i.e Internal Draft Preparation Internal Revie