Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

[SAP-BASIS] TR recovery record of development machine system

2025-01-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

1. Restore the SAP data backed up by Brbackup-m all by following the steps below

A. restore data files

Brrestore-u /-p / oracle/DEV/11203/dbs/initDEV.sap-m all-b bevtcysp.afd

B. Restore control files

Brrestore-u /-p / oracle/DEV/11203/dbs/initDEV.sap-m 0

C. Extract and restore the Redolog file

Swadev:oradev 58 > gunzip log*

Swadev:oradev 60 > cp log_g11m1.dbf / oracle/DEV/origlogA/

Swadev:oradev 62 > cp log_g11m1.dbf / oracle/DEV/mirrlogA/log_g11m2.dbf

Swadev:oradev 63 > cp log_g12m1.dbf / oracle/DEV/origlogB/

Swadev:oradev 64 > cp log_g12m1.dbf / oracle/DEV/mirrlogB/log_g12m2.dbf

Swadev:oradev 65 > cp log_g13m1.dbf / oracle/DEV/origlogA/

Swadev:oradev 66 > cp log_g13m1.dbf / oracle/DEV/mirrlogA/log_g13m2.dbf

Swadev:oradev 67 > cp log_g14m1.dbf / oracle/DEV/origlogB/

Swadev:oradev 68 > cp log_g14m1.dbf / oracle/DEV/mirrlogB/log_g14m2.dbf

2. The / usr/sap/trans directory of ERP 3 system needs to be backed up regularly

A, tar-cvf / backup/trans.tar / usr/sap/trans

B. permissions of the trans directory and subdirectories of the development machine

The file owner of the / usr/sap/trans/bin directory (others, such as buffer, cofiles, data, log, sapnames, etc., are all devadm:sapsys)

Chown devadm:sapsys TP_DOMAIN_DEV.BAK

Chown devadm:sapsys TP_DOMAIN_DEV.PFL

Chown devadm:sapsys DOMAIN.CFG

Chown devadm:sapsys TMS_TEST.TET

Chown devadm:sapsys TMS_TEST.QAS

Chown devadm:sapsys TMS_TEST.PRD

Chown root:root tpparam_instDEV

Permissions of / usr/sap/trans/ subdirectory

Chmod 775. / bin/

Chmod 775. / buffer/

Chmod 775. / cofiles/

Chmod 775. / data/

Chmod 775. / log/

Chmod 775. / sapnames/

Chmod 775. / tmp/

C, when you need to recover the report structure or update the development code to the development system (DEV) from the production system (PRD), when the contents of the three systems / usr/sap/trans directories in ERP are complete, you can import them into the development system (DEV) in batches using the following instructions.

Tp ADDTOBUFFER DEVK922484 DEV pf=/usr/sap/trans/bin/TP_DOMAIN_DEV.PFL-Dtransdir=/usr/sap/trans

Tp showbuffer DEV pf=/usr/sap/trans/bin/TP_DOMAIN_DEV.PFL tag=SPAM

Tp import DEVK922484 DEV client120 U1234689 pf=/usr/sap/trans/bin/TP_DOMAIN_DEV.PFL FEEDBACK AFTERIMP,ASYNCIMP-Dimpmon_mode=DETAILED-Dtransdir=/usr/sap/trans

Note: when importing, please be careful to select the appropriate Client. This work is tedious and requires developers / accounts to distinguish between useful and useless TR (Transfer Request) and their order.

D, starting from the current recovered data state, the imported programs do not have multiple versions of data in the SE38 program version management; personal understanding is estimated that when I imported only one TR, I directly created / restored the report program.

Remaining question: under what circumstances will the TR number of DEV be re-calculated?

Attachment: import TR script documents according to SAP development system user categories (different groups)

Import TR.rar

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report