System copy and database refresh
Can any one nagotiate me about system refresh and databaswe refresh.
Hi,
System Copy means copying the contents of the system into another including data i,.e Table Data. It comprises entire user settings, data will be copied.
In the database refresh, table contents (data) are refreshed.
Good thread discussion:
http://www.sap-img.com/bc049.htm
Re: client refresh procedure
Thanks,
Moorthy
Similar Messages
-
Difference between system copy and Remote Client copy?
Hi,
Can any body suggest me , What are the major difference between System copy and Remote Client Copy.
As per my knowledge , Both are different
1.In system copy entire data recovered mean copy from Source to target
2.In Remote client copy All Client data can't me import if you choose SAP_ALL profile also
I hope Transaction data and user data can't copied
Anybody share this Question and Give me some idea about this
If anybody give brief explanation that is very gratefull.
regards,
BalaramHi,
System copy will replicate all database from source to target system.
In remote copy only client in which you are performing the copy will get refresh. Also, remote client copy will be done between systems on same patch level. with SAP_ALL profile you can bring all data in target system including your transactional data.
Thanks
Sunny -
Difference between r/3 refresh and database refresh
Dear guru's
what is the difference between system refresh and database refresh.........And what is the process of both....... please give me end to end nogotiate............
Regard's
rajkumarHi Raj,
Database refresh, I believe is one of the ways you could refresh your SAP systems.
E.g Oracle database specific refresh is one of the ways. In this, I think you would export, move and then import cold backup of the database.
Easiest way to get more information is to search for the System refresh (or System copy) master guide from Market place or help.sap.com.
Regards,
N. -
What is the exact difference between Database Cloning and Database Refresh?
Hi,
Can anybody tel me the exact difference between Database Cloning and Database Refresh?
I Have some conflicts in these topics.
Thanks
RajeshRefresh is what it says, "refresh" . You have a main site which would always have the data being inserted into it. There would be another site which would remain some where else . This site needs to be refreshed with the primary site. So you need to do export from the primary, push it to the secondary site and done!
HTH
Aman.... -
Differene between system copy and system refresh
Hi all
can you please tell me the difference among SYSTEM COPY,SYSTEM REFRESH and DB REFRESHI would consider them all the same. Maybe a "refresh" could be stated as "I restore a backup onto an already installed system" where as system copy means "I install a new system with a backup of another one" but mainly they all mean the same.
Markus -
System copy post DB refresh error
Hi,
I am doing a post db refresh (Oracle/Solaris) and while creating control file getting error
SQL> CREATE CONTROLFILE SET DATABASE "XXX" RESETLOGS ARCHIVELOG;
CREATE CONTROLFILE SET DATABASE "XXX" RESETLOGS ARCHIVELOG
ERROR at line 1:
ORA-01503: CREATE CONTROLFILE failed
ORA-01565: error in identifying file '?/dbs/[email protected]'
ORA-27037: unable to obtain file status
SVR4 Error: 2: No such file or directory
Additional information: 3
ALSO
SQL> startup nomount
ORACLE instance started.
Total System Global Area 2214592512 bytes
Fixed Size 2053640 bytes
Variable Size 1174407672 bytes
Database Buffers 1006632960 bytes
Redo Buffers 31498240 bytes
SQL> @control.sql
SP2-0310: unable to open file "control.sql"
Please help.Hi Anshul,
First please refer System copy guide for successful procedure http://www.basisconsultant.com/j/index.php?option=com_k2&view=item&layout=item&id=1&Itemid=185 .In addition please follow SAP Note 546006 - Problems with Oracle due to operating system errors
and try to execute SQL command create spfile from pfile ; ( ORA-01565: error in identifying file ‘?/dbs/[email protected] )
Regards,
Gaurav -
RSA1 infosources under wrong SID after system copy and BDLS has run
Hi we are a BW3.5 SP#21 system on 10202 and hpux 11.23 (ia64). We have an R/3 system connected to the BW system for extracts. Extracts work fine in the productive environment. So 1 production BW system, and 1 production R/3 system. We also have sandbox copies of each made from database copies recently. The environment is as follows:
sid client current logical system name original logical system name after "copy" system role
BW1 100 FINPBW1100 -- Productive BW system
LH1 100 FINPLH1100 -- Productive R/3 system
LHU 100 FINPLHU100 FINPBW1100 sandbox BW system
LHI 100 FINPLHI100 FINPLH1100 sandbox R/3 system
LHU is a copy of BW1. LHI is a copy of LH1. There is only 1 working client in all systems.
We recently did the copies, creating the LHU/LHI systems. we've completed our "post refresh" checklist on LHU/LHI, including the BDLS work.
BDLS was ran as follows on LHU/100:
>> convert FINPBW1100  FINPLHU100
>> convert FINPLH1100  FINPLHI100
BDLS was ran as follows on LHI/100:
>> convert FINPBW1100  FINPLHU100
>> convert FINPLH1100  FINPLHI100
In RSA1 on sandbox LHU/100, in the "source system" area, the source systems to the sandbox R/3 system LHI/100 tests out ok if you do the check connection and the technical name for the sm59 it points to is correct.
If I check the RSA1 --> Infosources though, and search for LHI .it doesn't find all the "expected" infosources/infopackages.
If instead I search for LH1 it finds the whole list of "expected" infosources/infopackages. But the R/3 system i'm trying to do extracts from is called "LHI" not "LH1".
QUESTION:
does anyone know what needs to happen to convert what we see in RSA1 --> Infosources when searching for LH1 to infosources that we can use which point to LHI it looks like all the data is there in RSA1 -->infosources, it just is under the wrong sid .thanks in advanceHi Ben,
Sorry to hear that my suggestion did not help. We will have to see what the other experts say!
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/bff13df2-0c01-0010-6ba7-bc50346a6fd8
That link is to the document that I followed when setting up a BWQ system new, and we didn't encounter the same problem that you are experiencing. We are also BW 3.5.
I started on Page 17 which is where Section 3.7 starts.
Hopefully that might help, although that may have been what you were following.
Nick -
Db13 after system copy and oracle upgrade.
Dear support,
I have 40B system with Oracle 8.1.7.4 with SID as PRD. Now i have copied the same to TST system and i forgot to perform ops$ mechanism setup in TST system as part of post database refresh.
Now i have upgraded database to oracle 9.2.0.5 and since DB13 jobs are not getting executed i have done following settings,
New SID is TST.....
create user "OPS$TSTADM" identified by TST;
grant connect, resource, dba to "OPS$TSTADM";
CONNECT "OPS$TSTADM"
select * from dba_users where username like 'OPS%' ;
alter user "OPS$TSTADM" temporary tablespace PSAPTEMP ;
create table sapuser as select * from "OPS$prdADM".sapuser ;
select * from dba_tab_privs where table_name = 'SAPUSER' ;
create user "OPS$SAPSERVICETST" identified externally ;
grant select, insert, update on sapuser to "OPS$SAPSERVICETST" ;
create synonym "OPS$SAPSERVICETST".sapuser for "OPS$TSTADM".sapuser ;
grant sapdba to "OPS$TSTADM" ;
grant connect, resource, sapdba to "OPS$SAPSERVICETST";
alter user "OPS$TSTADM" identified externally ;
revoke dba from "OPS$TSTADM" ;
select * from "OPS$TSTADM".sapuser ;
still i am getting below error in DB13 , should i use BRtools instead of SAPDBA
please let me know
error in db13 logs are as below
Job started
Step 001 started (program RSDBAJOB, variant &0000000000033, user name CYBERTEC
Execute log. command SAPDBA on host saptest
__Parameters: -u / -checkopt PSAP% -method E
SAPDBA: Wrong option.
Usage:
sapdba [ -u <userid>[/<password>]
-P <userid>/<coded_password> /* (only for batch start) */
[ -p <profile> ]
[ -h[elp] ]
[ -r <dir> /* restart in batch */
-export <tsp_list> <table>
[-dest <path>
<tape_device> [-tape_size <size_in_M>] ]
-alter_user <uid>/<pwd>
-init_sap_connect
-sapsid <SID1>[,<SID2>,...]
-version
-verbose
-V -VERSION [all]
sapdba without -u option would connect by
(1) <name>/<password> in <orapwd_file>, if spec. in init<SID>.dba or
(2) system/manager, if default password is set or
(3) prompting for name and password.
External program terminated with exit code 2
SAPDBA returned error status E
Job finished
Best regards,
AjitRPeter,
I have executed script with user sapsr3 user as below are tasks performed , please let me know whether i can go ahead and execute sapdba_role.sql and sapconn.sql
SQL> select username , account_status from dba_users;
USERNAME ACCOUNT_STATUS
OPS$CYSOFT52\EC6ADM OPEN
OPS$CYSOFT52\SAPSERVICEEC6 OPEN
OPS$CYSOFT52\SAPSERVICESR3 OPEN
SYS OPEN
SYSTEM OPEN
SAPSR3 OPEN
SAPSR3DB OPEN
OUTLN LOCKED
TSMSYS EXPIRED & LOCKED
DIP EXPIRED & LOCKED
DBSNMP EXPIRED & LOCKED
11 rows selected.
E:\oradbuser>sqlplus /nolog @oradbuser.sql SAPSR3
SQL*Plus: Release 10.2.0.2.0 - Production on Wed Aug 1 05:53:30 2007
Copyright (c) 1982, 2005, Oracle. All Rights Reserved.
Connected.
old 6: if length('&&1') = 5 then
new 6: if length('SAPSR3') = 5 then
old 7: if substr(upper('&&1'),1,5) = 'SAPR3' then
new 7: if substr(upper('SAPSR3'),1,5) = 'SAPR3' then
Enter value for 2: SAPSR3
old 11: if upper('&&2') = 'NT' then
new 11: if upper('SAPSR3') = 'NT' then
Enter value for 3: NT
old 18: :sDomain := upper('&&3');
new 18: :sDomain := upper('NT');
Enter value for 4: CYSOFT2
old 19: :sSapSid := upper('&&4');
new 19: :sSapSid := upper('CYSOFT2');
old 21: :sSapSid := upper('&&3');
new 21: :sSapSid := upper('NT');
old 37: :sSchema := upper('&&1');
new 37: :sSchema := upper('SAPSR3');
old 39: if upper('&&2') = 'NT' then
new 39: if upper('SAPSR3') = 'NT' then
old 46: :sDomain := upper('&&3');
new 46: :sDomain := upper('NT');
old 47: :sSapSid := upper('&&4');
new 47: :sSapSid := upper('CYSOFT2');
old 49: :sSapSid := upper('&&3');
new 49: :sSapSid := upper('NT');
using following Parameters:
. Oracle Version: 10.2.0.2.0
. Parametervalue os_authent_prefix: OPS$
. Schema Id: SR3
. Database User (Schema): SAPSR3
. SAP R/3 Administrator: OPS$NTADM
. SAP R/3 Serviceuser: OPS$SAPSERVICENT
Connected.
Connected.
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Pr
oduction
With the Partitioning, OLAP and Data Mining options
Now after running scripts below are 3 users created.
SQL> select username from dba_users;
USERNAME
OPS$CYSOFT52\EC6ADM
<b>OPS$SAPSERVICENT</b>
OPS$CYSOFT52\SAPSERVICEEC6
<b>OPS$ORAEC6
OPS$NTADM</b>OPS$CYSOFT52\SAPSERVICESR3
SYS
SYSTEM
SAPSR3
SAPSR3DB
OUTLN
USERNAME
DIP
TSMSYS
DBSNMP
14 rows selected. -
System Copy and Logical system name conversion
Hello All,
Can any one let me know some inputs over these few queries.
1. How much time would a 500+GB clients take for Export and reimport after the system copy.
2. What would be run time of the BDLSS report ( Converting the logical system names) for a typical 1500 GB QTY system
The requirement is my QTY has 3 clients, and i would like to refresh it with my PRD data. How do i safely perform thia activity with the least downtine possible and please note, the clients are around 500+ GB huge..
Thanks in advance for your inputs.
Rgds,
SriHi Frank,
the parameters of my installation are as folows.
Appl Serv : OS - AIX (5.2 Version) and CPU's - 4 (Mem 20480) ::: DB serv : OS - AIX(5.2 Version) and CPU - 6 (Mem 22528)
The DB version is Oracle 9.2
We are on 4.7 enterprise version of SAP with SAPKA62055 patrch level.
br
Sri -
SQL 2005 and Database Refreshes
We have 2 NW2004S systems both with ABAP+Java. When we copy one database over from one system (A) to another (B), we've noticed that the schema attached to all of the tables in on the B system are now A.
Using the SQL Tools application from SAP, we were able to fix the ABAP tables, but are unsure as to how to convert Java Tables from A back to B. As a result of this database copy, the Java instance (including configtool) won't start.
Re-installing the Java DB instance did correct the DB schema error, and configtool did run as a result, although the Java CI failed to load.
Any suggestions?Try to use the script below.
The last line is the script is what you need to change with appropriate database IDs. Look for <tags> to replace appropriately.
Also ensure you create the user SAP<NEWDB>DB already in the database. (specifically in Management->Security ... you know what I mean !!??)
++++++++++++++++++++++++++++++++++++
use <NEWDB_SID>
go
if object_id('sp_change_sapuser') is not null
drop procedure sp_change_sapuser
go
create procedure sp_change_sapuser @oldid sysname, @newid sysname
as begin
declare @oldid_uid smallint
declare @newid_uid smallint
declare @object sysname
declare @object_full nvarchar(999)
set @oldid_uid = user_id(@oldid)
set @newid_uid = user_id(@newid)
if @oldid_uid is not null and @newid_uid is not null
begin
declare object_cursor cursor local for
select name
from sysobjects
where
( (xtype='U' and name <> 'dtproperties')
or (xtype='V' and name not in ('syssegments','sysconstraints'))
or (xtype='P' and name not like 'dt_%')
or (xtype='D' and name not like 'DF__dtpropert%')
or (xtype in ('FN','TF','IF'))
) and @oldid_uid = uid
open object_cursor
fetch next from object_cursor into @object
while @@fetch_status=0
begin
set @object_full = user_name(@oldid_uid) + '.' + @object
exec sp_changeobjectowner @object_full, @newid
fetch next from object_cursor into @object
end
end
else
if @oldid_uid is null
begin
print '*** old database user does not exist ***'
end
if @newid_uid is null
begin
print '*** new database user does not exist ***'
end
end
go
exec sp_change_sapuser 'SAP<OLDSID>DB', 'SAP<NEWDB>DB'
go
++++++++++++++++++++++++++++++++++++ -
Homogeneous system copy using database specific tools
My enviroment is ECC6/Oracle 10.2.0.2/Solaris 10
I'm attempting my first system copy (central instance ABAP) using database specific tools from my PRD to my QAS system
in the source system I ran sapinst and proceed as follows
Execution of Service SAP ERP 6.0 SR3 > Software Life-cycle options > system copy > oracle > source system export >
central system > based on AS ABAP ? Database Instance Export
The export creates two folders and an file ie ABAP, JAVA & LABELIDX.
The folder ABAP is empty while JAVA has three files.see details below. I have a feeling something is not right ?
Kindly advice before I proceed with database offline backup and importation in the target system
*/oracle/INSTDIR/MIGRATION-CD/SYSCOPY*
*root@PRD#*
*root@PRD#*
*root@PRD#ls -l*
*total 6*
*drwxrwxr-x 2 root sapinst 512 Jul 12 13:19 ABAP*
*drwxrwxr-x 2 root sapinst 512 Jul 12 13:19 JAVA*
*-rw-rw-r-- 1 root sapinst 10 Jul 12 13:19 LABELIDX.ASC*
*root@PRD#*
*root@PRD#cd ABAP*
*root@PRD#ls -l*
*total 0*
*root@PRD#*
*root@PRD#cd ../JAVA*
*root@PRD#pwd*
*/oracle/INSTDIR/MIGRATION-CD/SYSCOPY/JAVA*
*root@PRD#ls -l*
*total 6*
*-rw-rw-r-- 1 root sapinst 19 Jul 12 13:19 LABEL.ASC*
-rw-r----- 1 root sapinst 14 Jul 12 13:19 LABELIDX.ASC
-rw-r----- 1 root sapinst 168 Jul 12 13:19 SOURCE.PROPERTIES
root@PRD#
root@PRD#
According to the system copy documents I've gone through I expect to see the following
in the export directory
=> structure with label files and source system information
=> database structure files (*.STR) for ABAP database objects
=> database statistics
=> Size calculation for the target database (*.EXT, DBSIZE.XML)
=> Archiving of the SDM
=> Archiving of application specific file system content
I get a dialog box message that the export has completed successfullu but only two phases were done ie
=> NW_export
=> Prepare To export JavaThanks Mark
I'll proceed with the import & inform you about the outcome
My QAS system is the transport domain controller i.e. it hosts the transport directory /usr/sap/trans
What happens to pending transports after system copy ? Is there a way I can retain them or do I have to advice my users to complete pending requests so that I can import all of them before proceeding .
what happens to the CUA configurations in my 3 tier system landscape after I overwrite QAS ? I will make a note of all the RFC's & thier configuration details just incase I need to recreate them
Regards -
Homogeous system copy for machine refreshment
Hello SAP expert,
I'd like to migrate our sap system() from power5 to power7, and the host name and the ip address will be kept unchanged on the power7 machine. We want to use homogeous system copy for db6 to migrate the sap system for testing. And after the testing, we want to just use db2 backup/restore to replace the database without system copy again. I know there are several steps in sapinst after db restore when I do a system copy, but the hostname, ip and user are unchanged, so I think there is no need to do a system copy again. Could someone help confirm that?
And we also want to seperate DB instance and CI to different machine, can we just do a db backup/restore for this case too? And I am not sure if some information about CI and diaglog instance is recorded, if so, I just concern there is some inconsistency if I just replace the database instead of do a homogeous system copy again.Hi Sunny,
Is those report very key? The ip, hostname, system user will keep unchanged and only the machine will be changed from AIX5 to AIX6, so after I do a whole homogeous system copy for the first time and all sap related files are already moved to the new machine, so the next time I want to restore the db with the backup taken on AIX5 to new machine directly without reinstall sap system, it will reserve some time and reduce the effort. Do you think if there is any problem if I do this? Thanks. -
System copy and upgrade questions
dear gurus
i have one production box
R/3 version 4.6c
kernel 4.6D sp 1913
DB version Oracle 8.1.7.4.0
OS version Solaris 9
1st QUESTION
if i want to do system copy to new box
with
R/3 version 4.6c
kernel 4.6D sp 1913
DB version Oracle 8.1.7.4.0
OS version Solaris 10 (changed from solaris 9 to 10)
do i need to do homogenous system copy or heterogenous ?
is there any issues between 4.6c and solaris 10 ?
2nd question
if 1st question above is not possible, I want to do homogenous system copy with
R/3 version 4.6c
kernel 4.6D sp 1913
DB version Oracle 8.1.7.4.0
OS version Solaris 9
after that i will upgrade Oracle to 10 and SAP to ECC 6, is it possible to use ECC6 and Solaris 9 ? or do I need to upgrade to Solaris 10 ?
thanksHi AC thanks for your reply, anyway from other forum I got the answer already. please see quote below
but anyway i have another plan b that I need to ask.. just in case the new box is installed with Solaris 10
can you please let me know what is the best approach to do the upgrade, please if possible follow my approach in quote below
i have one production box
R/3 version 4.6c 64-bit
kernel 4.6D sp 1913
DB version Oracle 8.1.7.4.0 64-bit
OS version Solaris 9 64-bit
activities in new box
install Solaris 9 64-bit + patches
install Oracle 8.1.7.4.0 64-bit + patches
install R/3 version 4.6c 64-bit (with DB Load from dump from system copy, there is another option to move data file only)
update kernel to latest 4.6d before installing DB instance
upgrade Oracle 2 steps two Oracle 10 + patches
update kernel to 4.6dEX2 (in order to run with Oracle 10)
start SAP
upgrade to ECC6 sr2 + patches (sr2 because we dont want unicode, sr3 installation must be unicode) -
Hi Gurus,
I just need clarification on this. I plan to build a new system using system copy menthod. Would I require a Key from Solution Manager for this new installation?
Appreciate your feedback.
Thanks,
SSHi
You'll need to install new license key after the system copy.
You must first delete all old licenses in tcode SAPLICENSE, then, request a new license at http://service.sap.com/licensekey
to do this you will also need a a new hardware key which helps in creating a new license key...
make sure you delete the system in the service market place and create a new system with the hardware key you get and then request the license.
Cheers,
Chaith -
System Copy and Rapid Installer
Hi,
We have installed EP6.0 SPS13 using Rapid installer 2.5 and now we want to 'system-copy' this. The system copy installation guide talks about getting the required DVDs ready. There is only two DVDs in RI2.5. Is it possible to system - copy a RI installation?
Thanks
Raj BalakrishnanHi Raj,
interesting question. In fact, the RI base /is/ a system copy itself. Anyhow, I would expect this to work, too.
Have you just tried it meanwhile? Any results?
Best regards
Detlev
Maybe you are looking for
-
Transferring multi-column query result into MS Excel
Hello everybody! An ultimate novice in Oracle, with some database concepts, is here. The very first challenge; which I encoutered is that I want to transfer a Select query result, with multiple columns, into MS Excel sheet in a way that each field oc
-
BW Query - How I Change Date MM/DD/YYYY to MM/DD on the fly?
In the Cube there is only one characteristic for date that is in the format MM/DD/YYYY for display in a BW Chart I need to change the format to MM/DD there any way to do it without adding another characteristic to the cube and change the format on th
-
Time Machine backups and deleted photos
I backed up my Mac to Time Machine using an external hard drive. This then began to run out of space and i received the subsequent warning messages. Now comes the stupidity (I think), I decided to delete all the photos from my Mac in the thought that
-
My Creative Cloud Desktop App is not responding
On Mac OS X 10.9.4 So this is what happened: Creative cloud desktop was originally not syncing, so I tried logging out and back in. Desktop app froze and wouldn't let me access the app. Activity monitor listed it as "not responding". Tried force quit
-
MOVED: 880gm-e43 with Crucial SSD = very slow windows boot times
This topic has been moved to Windows 64bit. https://forum-en.msi.com/index.php?topic=155325.0