SAP ORACLE BACKUP RESTORE
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
Similar Messages
-
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. -
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 -
SAP & Oracle Backup Integration
Hi,
Have Oracle 10g as backend for database & Legato Backup Software has been installed on the server. Could anyone please let me know that if i use DB13 for taking online & offline backups how would it integrate with the Legato Backup Software & is there any special licences required for integration with SAP. Hoping to get a reply soon...Hi
For Oracle Backups the preferred backup method is RMAN. I suggest you read docs for more information. Try focusing on incremental backups as you suggested space constraints.
Rgds
Adnan -
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 -
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 it's very urgent
We are running 4 oracle 9.2 database in a single machine with sap r/3 4.7 on windows 2003 and even in a single drive now i am responsible for backup
which method is prefered one whether BRBACKUP or Manual OR scripting
what about scheduling cold and hot backup
here we have hardware resource constraintHi
For Oracle Backups the preferred backup method is RMAN. I suggest you read docs for more information. Try focusing on incremental backups as you suggested space constraints.
Rgds
Adnan -
How to do oracle backups/Restore
hi,
can any one send me the steps for taking database back ups and restoring it.
thanks.Hi,
Very simple.........
Just open the Oracle documentation.
Go to the Backup and Recovery module.
Start going through backup methods.
So on Serious note...
First of all tell whether you want backup and recovery as User managed or Recovery Manager(RMAN).
They both have their respective steps.
For more information go through this:-
http://www.oracle.com/technology/deploy/availability/htdocs/BR_Overview.htm
and other oracle docs.
Regards. -
Errors in Offline Backup via DB13 SAP & Oracle on Linux
OS: Linux Database : Oracle Systems Affected : Production & Disaster Recovery Server
Hi
We have offline backup scheduled every friday via SAP the backup runs fine & copies all the files in the backup directory but when i go see the backup logs in DB 14 i see the Offline Backup ending with Error Code 0005 & when i see the Detail logs i see following in red
BR0278E Command output of '/oracle/UHP/102_64/bin/sqlplus /nolog < /oracle/UHP/sapbackup/.beelhrfo.spi':
BR0279E Return code from '/oracle/UHP/102_64/bin/sqlplus /nolog < /oracle/UHP/sapbackup/.beelhrfo.spi': 0
BR0302E SQLPLUS call for database instance UHP failed
BR0306E Start and open of database instance UHP failed
Also if i check the BRARCHIVE i see them ending with following errors in Detail Log
BR0278E Command output of 'LANG=C cd /oracle/UHP/sapreorg && LANG=C cp spaceUHP.log paramUHP.log /backup/UHPARCH//UHP':
cp: cannot create regular file `/backup/UHPARCH//UHP/spaceUHP.log': Permission denied
cp: cannot create regular file `/backup/UHPARCH//UHP/paramUHP.log': Permission denied
BR0280I BRARCHIVE time stamp: 2010-10-30 23.02.40
BR0279E Return code from 'LANG=C cd /oracle/UHP/sapreorg && LANG=C cp spaceUHP.log paramUHP.log /backup/UHPARCH//UHP': 1
BR0222E Copying space_log to/from /backup/UHPARCH//UHP failed due to previous errors
BR0202I Saving /oracle/UHP/saparch/aeelofvf.svd
BR0203I to /backup/UHPARCH//UHP ...
BR0202I Saving /oracle/UHP/saparch/archUHP.log
BR0203I to /backup/UHPARCH//UHP ...
BR0278E Command output of 'LANG=C cp /oracle/UHP/saparch/archUHP.log /backup/UHPARCH//UHP':
cp: cannot create regular file `/backup/UHPARCH//UHP/archUHP.log': Permission denied
BR0280I BRARCHIVE time stamp: 2010-10-30 23.02.40
BR0279E Return code from 'LANG=C cp /oracle/UHP/saparch/archUHP.log /backup/UHPARCH//UHP': 1
BR0222E Copying /oracle/UHP/saparch/archUHP.log to/from /backup/UHPARCH//UHP failed due to previous errors
Please also note that we have a Disaster Recovery Server too & the above mentioned errors are in our (Production )Primary Database & once this backu finished the DR Server stops getting any log files, this happens only when this offline backup on every friday runs,
Issues
The backup ends with errors although the backup file is generated & all data is copied
DR Server dont get redo log files after this offline backup on every fridayfor the Cp errors i will see the permissions in backup/UHP ( this error is happening in online backup ) my main concern is the error occured in offline backup as it is somehow connected with our DR SERVER NOT GETTING THE LOG FILES EVEN AFTER THE SYSTEM IS UP ( yes if the primary is down no logs will be shipped to standby i know that but even after the primary is up after a offline backup via SAP via DB 13 the standby dont get any log files unless i restart the database and SAP )
So the error in the offline backup mentioned above in my post occurred at 29 OCT 15: 45 20
BR0302E SQLPLUS call for database instance UHP failed
BR0306E Start and open of database instance UHP failed
after this my primary database comes up & sap starts but the DR server dont get any logs & also the backup logs show the above errors in red
Given below is the text from Oracle alert file for the same time duration when the system tries to start the database & the above mentioned error comes up in opening the database time Stamp : OCT 29 15: 45 20
Deprecated system parameters with specified values:
log_archive_start
End of deprecated system parameter listing
This is the only oracle alert log errors i can find relevant to database instance errors from DB 14
moreover in the alert file it also starts the data broker service relevant to i guess DR server in that all seems fine it starts everything then it gives this error & then keeps giving errors ( from oracle alert log file )
Error 12154 received logging on to the standby
Fri Oct 29 15:45:37 2010
Errors in file /oracle/UHP/saptrace/background/uhp_arc0_12086.trc:
ORA-12154: TNS:could not resolve the connect identifier specified
FAL[server, ARC0]: Error 12154 creating remote archivelog file 'UHR'
FAL[server, ARC0]: FAL archive failed, see trace file.
Fri Oct 29 15:45:37 2010
Errors in file /oracle/UHP/saptrace/background/uhp_arc0_12086.trc:
ORA-16055: FAL request rejected
ARCH: FAL archive failed. Archiver continuing
Fri Oct 29 15:45:37 2010
ORACLE Instance UHP - Archival Error. Archiver continuing
& then keep on saying given below error in oracle alert log file
Fri Oct 29 15:51:32 2010
Errors in file /oracle/UHP/saptrace/background/uhp_arc8_12102.trc:
ORA-12154: TNS:could not resolve the connect identifier specified
PING[ARC8]: Heartbeat failed to connect to standby 'UHR'. Error is 12154.
Thanks for your help again i would appreciate a little more assistance on this.
Edited by: Prashant Shandilya on Oct 31, 2010 12:18 PM -
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 HelpRman 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).
-
By mistake I ran Windows Backup/Restore with SAP services on URGENT
Dear all
What I did by mistake I ran Windows Backup/Restore with SAP services on (I stopped win sql services and SAP instance).
After restore under same circumstances I could not start istance (actually it started but after connect with saplogon dispetcher stopped).
When trying to restore 2nd time(with deleted AFGDATA1,AFGDATA2, AFGDATA3 , AFGLOG and usr under c:\ I realized I can not delete C:/usr directory (with subdrectories) as SAP services were locking some files. (i stopped services and deleted those files I have them in rcycle bin),
Can I somehow restore the systemHello Tina,
- what is the status of SAP service? can you start it? If not, what is written in application event log?
- If service can be started, are you able to start SAP system? If not, what is written in sapstartsrv.log, dev_disp and dev_w0, could you put output of them?
- which files exactly have you deleted?
I afraid that the locked files were not backup and they will not be restored in this case. Further steps depend on what the files you have deleted. -
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 -
SAP SQL System Copy backup restore method with ADS(Adobe document services)
Hello all,
i´m preparing a system copy with ERP 6.0 in windows and SQL server with ADS.
I have a doubt, can i do the System Copy backup/restore method with ADS??
or the only method that works is with system export/import in all instances??
Thank youHi Oscar,
Is your ADS system separate from your ERP system, or are they on the same server?
In any case, you can use backup/restore to copy a Java system, but you must also make a system export/import for the Java server components. The two work in conjunction, so that the export tool doesn't export your whole database, only the components maintained in the filesystem. If you select the database detach/attach or backup/restore method in the tool when going against the Java system, it will prompt you at the right point in the process to make your Java export as well.
The caveat is that the Java export requires downtime, so it isn't possible to copy a Java system without impacting system availability, as it is with a pure ABAP system.
Best regards,
Matt -
Hello all
I have problems with oracle backup through db13 to ftp.
Job log
Job started
Step 001 started (program RSDBAJOB, variant &0000000000028, user ID USER)
Execute logical command BRBACKUP On host sap1-ast
Parameters:-u / -jid ALLOG20061117094801 -c force -t online -m all -p initTHD.sap -a -c force -p initTHD.sap -c
ds
BR0051I BRBACKUP 7.00 (16)
BR0282E Directory '/sapbackup' not found
BR0182E Checking parameter/option 'compress_dir' failed
BR0056I End of database backup: bdtyppxk.log 2006-11-17 09.48.04
BR0280I BRBACKUP time stamp: 2006-11-17 09.48.04
BR0054I BRBACKUP terminated with errors
External program terminated with exit code 3
BRBACKUP returned error status E
Job finished
this is my initTHD.sap file
@(#) $Id: //bas/700_REL/src/ccm/rsbr/initNT.sap#5 $ SAP
SAP backup sample profile. #
The parameter syntax is the same as for init.ora parameters. #
Enclose parameter values which consist of more than one symbol in #
double quotes. #
After any symbol, parameter definition can be continued on the next #
line. #
A parameter value list should be enclosed in parentheses, the list #
items should be delimited by commas. #
There can be any number of white spaces (blanks, tabs and new lines) #
between symbols in parameter definition. #
backup mode [all | all_data | full | incr | sap_dir | ora_dir
| all_dir | <tablespace_name> | <file_id> | <file_id1>-<file_id2>
| <generic_path> | (<object_list>)]
default: all
backup_mode = all
restore mode [all | all_data | full | incr | incr_only | incr_full
| incr_all | <tablespace_name> | <file_id> | <file_id1>-<file_id2>
| <generic_path> | (<object_list>) | partial | non_db
redirection with '=' is not supported here - use option '-m' instead
default: all
restore_mode = all
backup type [offline | offline_force | offline_standby | offline_split
| offline_mirror | offline_stop | online | online_cons | online_split
| online_mirror
default: offline
backup_type = online_cons
backup device type
[tape | tape_auto | tape_box | pipe | pipe_auto | pipe_box | disk
| disk_copy | disk_standby | stage | stage_copy | stage_standby
| util_file | util_file_online | rman_util | rman_disk | rman_stage
| rman_prep]
default: tape
backup_dev_type = stage
backup root directory [<path_name> | (<path_name_list>)]
default: %SAPDATA_HOME%\sapbackup
backup_root_dir = /sapbackup
stage root directory [<path_name> | (<path_name_list>)]
default: value of the backup_root_dir parameter
stage_root_dir = /sapbackup
compression flag [no | yes | hardware | only]
default: no
compress = no
compress command
first $-character is replaced by the source file name
second $-character is replaced by the target file name
<target_file_name> = <source_file_name>.Z
for compress command the -c option must be set
recommended setting for brbackup -k only run:
"%SAPEXE%\mkszip -l 0 -c $ > $"
no default
compress_cmd = "C:\usr\sap\THD\SYS\exe\uc\NTI386\mkszip -c $ > $"
uncompress command
first $-character is replaced by the source file name
second $-character is replaced by the target file name
<source_file_name> = <target_file_name>.Z
for uncompress command the -c option must be set
no default
uncompress_cmd = "C:\usr\sap\THD\SYS\exe\uc\NTI386\uncompress -c $ > $"
directory for compression [<path_name> | (<path_name_list>)]
default: value of the backup_root_dir parameter
compress_dir = /sapbackup
brarchive function [save | second_copy | double_save | save_delete
| second_copy_delete | double_save_delete | copy_save
| copy_delete_save | delete_saved | delete_copied]
default: save
archive_function = save
directory for archive log copies to disk
default: first value of the backup_root_dir parameter
archive_copy_dir = /sapbackup
directory for archive log copies to stage
default: first value of the stage_root_dir parameter
archive_stage_dir = /sapbackup
delete archive logs from duplex destination [only | no | yes | check]
default: only
archive_dupl_del = only
new sapdata home directory for disk_copy | disk_standby
no default
new_db_home = X:\oracle\C11
stage sapdata home directory for stage_copy | stage_standby
default: value of the new_db_home parameter
#stage_db_home = /sapbackup
original sapdata home directory for split mirror disk backup
no default
#orig_db_home = C:\oracle\THD
remote host name
no default
remote_host = srv1
remote user name
default: current operating system user
remote_user = "thdadm password"
tape copy command [cpio | cpio_gnu | dd | dd_gnu | rman | rman_gnu
rman_dd | rman_dd_gnu]
default: cpio
tape_copy_cmd = cpio
disk copy command [copy | copy_gnu | dd | dd_gnu | rman | rman_gnu]
default: copy
disk_copy_cmd = copy
stage copy command [rcp | scp | ftp]
default: rcp
stage_copy_cmd = ftp
pipe copy command [rsh | ssh]
default: rsh
pipe_copy_cmd = rsh
flags for cpio output command
default: -ovB
cpio_flags = -ovB
flags for cpio input command
default: -iuvB
cpio_in_flags = -iuvB
flags for cpio command for copy of directories to disk
default: -pdcu
use flags -pdu for gnu tools
cpio_disk_flags = -pdcu
flags for dd output command
default: "obs=16k"
caution: option "obs=" not supported for Windows
recommended setting:
Unix: "obs=nk bs=nk", example: "obs=64k bs=64k"
Windows: "bs=nk", example: "bs=64k"
dd_flags = "bs=64k"
flags for dd input command
default: "ibs=16k"
caution: option "ibs=" not supported for Windows
recommended setting:
Unix: "ibs=nk bs=nk", example: "ibs=64k bs=64k"
Windows: "bs=nk", example: "bs=64k"
dd_in_flags = "bs=64k"
number of members in RMAN save sets [ 1 | 2 | 3 | 4 | tsp | all ]
default: 1
saveset_members = 1
additional parameters for RMAN
rman_channels and rman_filesperset are only used when rman_util,
rman_disk or rman_stage
rman_channels defines the number of parallel sbt channel allocations
rman_filesperset = 0 means:
one file per save set - for non-incremental backups
all files in one save set - for incremental backups
the others have the same meaning as for native RMAN
rman_channels = 1
rman_filesperset = 0
rman_maxpiecesize = 0 # in KB - former name rman_kbytes
rman_rate = 0 # in KB - former name rman_readrate
rman_maxopenfiles = 0
rman_maxsetsize = 0 # in KB - former name rman_setsize
additional parameters for RMAN version 8.1
the parameters have the same meaning as for native RMAN
rman_diskratio = 0 # deprecated in Oracle 10g
rman_pool = 0
rman_copies = 0 | 1 | 2 | 3 | 4 # former name rman_duplex
rman_proxy = no | yes | only
special parameters for an external backup library, example:
rman_parms = "BLKSIZE=65536 ENV=(BACKUP_SERVER=HOSTNAME)"
rman_send = "'<command>'"
rman_send = ("channel sbt_1 '<command1>' parms='<parameters1>'",
"channel sbt_2 '<command2>' parms='<parameters2>'")
remote copy-out command (backup_dev_type = pipe)
$-character is replaced by current device address
no default
copy_out_cmd = "dd ibs=8k obs=64k of=$"
remote copy-in command (backup_dev_type = pipe)
$-character is replaced by current device address
no default
copy_in_cmd = "dd ibs=64k obs=8k if=$"
rewind command
$-character is replaced by current device address
no default
operating system dependent, examples:
HP-UX: "mt -f $ rew"
TRU64: "mt -f $ rewind"
AIX: "tctl -f $ rewind"
Solaris: "mt -f $ rewind"
Windows: "mt -f $ rewind"
Linux: "mt -f $ rewind"
rewind = "mt -f $ rewind"
rewind and set offline command
$-character is replaced by current device address
default: value of the rewind parameter
operating system dependent, examples:
HP-UX: "mt -f $ offl"
TRU64: "mt -f $ offline"
AIX: "tctl -f $ offline"
Solaris: "mt -f $ offline"
Windows: "mt -f $ offline"
Linux: "mt -f $ offline"
rewind_offline = "mt -f $ offline"
tape positioning command
first $-character is replaced by current device address
second $-character is replaced by number of files to be skipped
no default
operating system dependent, examples:
HP-UX: "mt -f $ fsf $"
TRU64: "mt -f $ fsf $"
AIX: "tctl -f $ fsf $"
Solaris: "mt -f $ fsf $"
Windows: "mt -f $ fsf $"
Linux: "mt -f $ fsf $"
tape_pos_cmd = "mt -f $ fsf $"
mount backup volume command in auto loader / juke box
used if backup_dev_type = tape_box | pipe_box
no default
mount_cmd = "<mount_cmd> $ $ $ [$]"
dismount backup volume command in auto loader / juke box
used if backup_dev_type = tape_box | pipe_box
no default
dismount_cmd = "<dismount_cmd> $ $ [$]"
split mirror disks command
used if backup_type = offline_split | online_split | offline_mirror
| online_mirror
no default
split_cmd = "<split_cmd> [$]"
resynchronize mirror disks command
used if backup_type = offline_split | online_split | offline_mirror
| online_mirror
no default
resync_cmd = "<resync_cmd> [$]"
additional options for SPLITINT interface program
no default
split_options = "<split_options>"
resynchronize after backup flag [no | yes]
default: no
split_resync = no
volume size in KB = K, MB = M or GB = G (backup device dependent)
default: 1200M
recommended values for tape devices without hardware compression:
60 m 4 mm DAT DDS-1 tape: 1200M
90 m 4 mm DAT DDS-1 tape: 1800M
120 m 4 mm DAT DDS-2 tape: 3800M
125 m 4 mm DAT DDS-3 tape: 11000M
112 m 8 mm Video tape: 2000M
112 m 8 mm high density: 4500M
DLT 2000 10/20 GB: 10000M
DLT 2000XT 15/30 GB: 15000M
DLT 4000 20/40 GB: 20000M
DLT 7000 35/70 GB: 35000M
recommended values for tape devices with hardware compression:
60 m 4 mm DAT DDS-1 tape: 1000M
90 m 4 mm DAT DDS-1 tape: 1600M
120 m 4 mm DAT DDS-2 tape: 3600M
125 m 4 mm DAT DDS-3 tape: 10000M
112 m 8 mm Video tape: 1800M
112 m 8 mm high density: 4300M
DLT 2000 10/20 GB: 9000M
DLT 2000XT 15/30 GB: 14000M
DLT 4000 20/40 GB: 18000M
DLT 7000 35/70 GB: 30000M
tape_size = 100G
volume size in KB = K, MB = M or GB = G used by brarchive
default: value of the tape_size parameter
tape_size_arch = 100G
level of parallel execution
default: 0 - set to number of backup devices
exec_parallel = 0
address of backup device without rewind
[<dev_address> | (<dev_address_list>)]
no default
operating system dependent, examples:
HP-UX: /dev/rmt/0mn
TRU64: /dev/nrmt0h
AIX: /dev/rmt0.1
Solaris: /dev/rmt/0mn
Windows: /dev/nmt0 | /dev/nst0
Linux: /dev/nst0
tape_address = /dev/nmt0
address of backup device without rewind used by brarchive
default: value of the tape_address parameter
operating system dependent
tape_address_arch = /dev/nmt0
address of backup device with rewind
[<dev_address> | (<dev_address_list>)]
no default
operating system dependent, examples:
HP-UX: /dev/rmt/0m
TRU64: /dev/rmt0h
AIX: /dev/rmt0
Solaris: /dev/rmt/0m
Windows: /dev/mt0 | /dev/st0
Linux: /dev/st0
tape_address_rew = /dev/mt0
address of backup device with rewind used by brarchive
default: value of the tape_address_rew parameter
operating system dependent
tape_address_rew_arch = /dev/mt0
address of backup device with control for mount/dismount command
[<dev_address> | (<dev_address_list>)]
default: value of the tape_address_rew parameter
operating system dependent
tape_address_ctl = /dev/...
address of backup device with control for mount/dismount command
used by brarchive
default: value of the tape_address_rew_arch parameter
operating system dependent
tape_address_ctl_arch = /dev/...
volumes for brarchive
[<volume_name> | (<volume_name_list>) | SCRATCH]
no default
volume_archive = (THDA01, THDA02, THDA03, THDA04, THDA05,
THDA06, THDA07)
volumes for brbackup
[<volume_name> | (<volume_name_list>) | SCRATCH]
no default
volume_backup = (THDB01, THDB02, THDB03, THDB04, THDB05,
THDB06, THDB07)
expiration period for backup volumes in days
default: 30
expir_period = 30
recommended usages of backup volumes
default: 100
tape_use_count = 100
backup utility parameter file
default: no parameter file
util_par_file = initTHD.utl
mount/dismount command parameter file
default: no parameter file
mount_par_file = initTHD.mnt
Oracle instance string to the primary database
[primary_db = <conn_name> | LOCAL]
no default
primary_db = <conn_name>
description of parallel instances for Oracle RAC
parallel_instances = <instance_desc> | (<instance_desc_list>)
<instance_desc_list> -> <instance_desc>[,<instance_desc>...]
<instance_desc> -> <Oracle_sid>:<Oracle_home>@<conn_name>
<Oracle_sid> -> Oracle system id for parallel instance
<Oracle_home> -> Oracle home for parallel instance
<conn_name> -> Oracle instance string to parallel instance
Please include the local instance in the parameter definition!
default: no parallel instances
example for initRAC001.sap:
parallel_instances = (RAC001:/oracle/RAC/920_64@RAC001,
RAC002:/oracle/RAC/920_64@RAC002, RAC003:/oracle/RAC/920_64@RAC003)
database owner of objects to be checked
<owner> | (<owner_list>)
default: all SAP owners
check_owner = sapr3
database objects to be excluded from checks
all_part | non_sap | [<owner>.]<table> | [<owner>.]<index>
| [<owner>.]<prefix>* | <tablespace> | (<object_list>)
default: no exclusion, example:
check_exclude = (SDBAH, SAPR3.SDBAD)
database owner of SDBAH, SDBAD and XDB tables for cleanup
<owner> | (<owner_list>)
default: all SAP owners
cleanup_owner = sapr3
retention period in days for brarchive log files
default: 30
cleanup_brarchive_log = 30
retention period in days for brbackup log files
default: 30
cleanup_brbackup_log = 30
retention period in days for brconnect log files
default: 30
cleanup_brconnect_log = 30
retention period in days for brrestore log files
default: 30
cleanup_brrestore_log = 30
retention period in days for brrecover log files
default: 30
cleanup_brrecover_log = 30
retention period in days for brspace log files
default: 30
cleanup_brspace_log = 30
retention period in days for archive log files saved on disk
default: 30
cleanup_disk_archive = 30
retention period in days for database files backed up on disk
default: 30
cleanup_disk_backup = 30
retention period in days for brspace export dumps and scripts
default: 30
cleanup_exp_dump = 30
retention period in days for Oracle trace and audit files
default: 30
cleanup_ora_trace = 30
retention period in days for records in SDBAH and SDBAD tables
default: 100
cleanup_db_log = 100
retention period in days for records in XDB tables
default: 100
cleanup_xdb_log = 100
retention period in days for database check messages
default: 100
cleanup_check_msg = 100
database owner of objects to adapt next extents
<owner> | (<owner_list>)
default: all SAP owners
next_owner = sapr3
database objects to adapt next extents
all | all_ind | special | [<owner>.]<table> | [<owner>.]<index>
| [<owner>.]<prefix>* | <tablespace> | (<object_list>)
default: all abjects of selected owners, example:
next_table = (SDBAH, SAPR3.SDBAD)
database objects to be excluded from adapting next extents
all_part | [<owner>.]<table> | [<owner>.]<index> | [<owner>.]<prefix>*
| <tablespace> | (<object_list>)
default: no exclusion, example:
next_exclude = (SDBAH, SAPR3.SDBAD)
database objects to get special next extent size
all_sel:<size>[/<limit>] | [<owner>.]<table>:<size>[/<limit>]
| [<owner>.]<index>:<size>[/<limit>]
| [<owner>.]<prefix>*:<size>[/<limit>] | (<object_size_list>)
default: according to table category, example:
next_special = (SDBAH:100K, SAPR3.SDBAD:1M/200)
maximum next extent size
default: 2 GB - 5 * <database_block_size>
next_max_size = 1G
maximum number of next extents
default: 0 - unlimited
next_limit_count = 300
database owner of objects to update statistics
<owner> | (<owner_list>)
default: all SAP owners
stats_owner = sapr3
database objects to update statistics
all | all_ind | all_part | missing | info_cubes | dbstatc_tab
| dbstatc_mon | dbstatc_mona | [<owner>.]<table> | [<owner>.]<index>
| [<owner>.]<prefix>* | <tablespace> | (<object_list>) | harmful
| locked | system_stats | oradict_stats
default: all abjects of selected owners, example:
stats_table = (SDBAH, SAPR3.SDBAD)
database objects to be excluded from updating statistics
all_part | info_cubes | [<owner>.]<table> | [<owner>.]<index>
| [<owner>.]<prefix>* | <tablespace> | (<object_list>)
default: no exclusion, example:
stats_exclude = (SDBAH, SAPR3.SDBAD)
method for updating statistics for tables not in DBSTATC
E | EH | EI | EX | C | CH | CI | CX | A | AH | AI | AX | E= | C= | =H
| =I | =X | +H | +I
default: according to internal rules
stats_method = E
sample size for updating statistics for tables not in DBSTATC
P<percentage_of_rows> | R<thousands_of_rows>
default: according to internal rules
stats_sample_size = P10
number of buckets for updating statistics with histograms
default: 75
stats_bucket_count = 75
threshold for collecting statistics after checking
default: 50%
stats_change_threshold = 50
number of parallel threads for updating statistics
default: 1
stats_parallel_degree = 1
processing time limit in minutes for updating statistics
default: 0 - no limit
stats_limit_time = 0
parameters for calling DBMS_STATS supplied package
all:R|B:<degree> | all_part:R|B:<degree> | info_cubes:R|B:<degree>
| [<owner>.]<table>:R|B:<degree> | [<owner>.]<prefix>*:R|B:<degree>
| (<object_list>) | NO
default: NULL - use ANALYZE statement
stats_dbms_stats = ([ALL:R:1,][<owner>.]<table>:R|B:<degree>,...)
definition of info cube tables
default | rsnspace_tab | [<owner>.]<table> | [<owner>.]<prefix>*
| (<object_list>) | null
default: from RSNSPACE control table
stats_info_cubes = (/BIC/D, /BI0/D, ...)
recovery type [complete | dbpit | tspit | reset | restore | apply
| disaster]
default: complete
recov_type = complete
directory for brrecover file copies
default: $SAPDATA_HOME/sapbackup
recov_copy_dir = C:\oracle\THD\sapbackup
time period for searching for backups
0 - all available backups, >0 - backups from n last days
default: 30
recov_interval = 30
degree of paralelism for applying archive log files
0 - use Oracle default parallelism, 1 - serial, >1 - parallel
default: Oracle default
recov_degree = 0
number of lines for scrolling in list menus
0 - no scrolling, >0 - scroll n lines
default: 20
scroll_lines = 20
time period for displaying profiles and logs
0 - all available logs, >0 - logs from n last days
default: 30
show_period = 30
directory for brspace file copies
default: $SAPDATA_HOME/sapreorg
space_copy_dir = C:\oracle\THD\sapreorg
directory for table export dump files
default: $SAPDATA_HOME/sapreorg
exp_dump_dir = C:\oracle\THD\sapreorg
database tables for reorganization
[<owner>.]<table> | [<owner>.]<prefix>* | [<owner>.]<prefix>%
| (<table_list>)
no default
reorg_table = (SDBAH, SAPR3.SDBAD)
database indexes for rebuild
[<owner>.]<index> | [<owner>.]<prefix>* | [<owner>.]<prefix>%
| (<index_list>)
no default
rebuild_index = (SDBAH0, SAPR3.SDBAD0)
database tables for export
[<owner>.]<table> | [<owner>.]<prefix>* | [<owner>.]<prefix>%
| (<table_list>)
no default
exp_table = (SDBAH, SAPR3.SDBAD)
database tables for import
[<owner>.]<table> | (<table_list>)
no default
imp_table = (SDBAH, SAPR3.SDBAD)
I can log in to ftp from server
C:\Documents and Settings\thdadm>ftp srv1
Connected to srv1.
220 Microsoft FTP Service
User (srv1:(none)): thdadm
331 Password required for thdadm.
Password:
230 User thdadm logged in.
ftp> ls
200 PORT command successful.
150 Opening ASCII mode data connection for file list.
sapbackup
226 Transfer complete.
ftp: 11 bytes received in 0,00Seconds 11000,00Kbytes/sec.
ftp> mkdir sap
257 "sap" directory created.
please help
best regards
Olzhas Suleimenovdel
Maybe you are looking for
-
Our business is Distribution. some times from our stock we use to send the material to customer and get it replaced by our vendor A for free. The issue is excise invoice. Our Vendor A does not give Excise invoice at the time of free replacement. We t
-
Need Sample code to upload the data to Application Server
Hi , I need to upload the data to application server. The output should be an XML file. Can anybody send me sample code for this. Reward points are assured. Best Regards Bhagat.
-
Please help me ~ use WSDL file and Java Querypage Class
First, i can't write english very well. so before read this you know. i have a project. and oracle suggest "http://www.webbasedcrmsoftware.com.au/crm-on-demand-tutorials/65-java-access-to-crm-on-demand#_Toc224720963 " . Do you know this URL? anyway I
-
AIR install on Win 7 gets "1603" error
[2011-09-20:13:13:58] Runtime Installer begin with version 2.7.1.19610 on Windows Vista x86 [2011-09-20:13:13:58] Commandline is: [2011-09-20:13:13:58] No installed runtime detected [2011-09-20:13:14:01] Runtime Installer end with exit code 6 [2011-0
-
Red or White Keys for MacBook Pro 2011
I wanted to know if anyone knows where I can find red or white keys online for my MacBook Pro. I just wanted to pimp it out a bit and make it cooler then my brothers. I'm not asking for a skin that you put on top, I'm asking for individule keys.