Академический Документы
Профессиональный Документы
Культура Документы
sapbasis.home.blog/dB-refresh
April 22,
2019
DB refresh
It is the process of refreshing the data of one system by another system [OS, DB & R3]
remains the same but only database is refreshed
What is the difference between Archive log mode & No Archive log
mode
Archive log mode means that online redo log file copied to another location before
overwritten and mainly it is used for recover purpose
No Archive log mode means online redo log file not copied to another location
each time overwritten by log written.
1/5
Open the .afd/.and backup file (ex: bdjvujux.afd) present in sap directory. Replace
the PRD with the QAS and save it
Go to \oracle\QAS\sap backup\**** (ex: bdjvux.afd) backup filename folder;
location rename the files with PRD to QAS
Start —> run —> cmd goes to the location \oracle\QAS\sap backup and type
Brrestore –m full –b <file name>.afd –c (backup is restored success fully)
Check the present of the paths for the creation of the control file oracle
\Oracle\Qas\orig log A\cntrl
\Oracle\Qas\orig log B\cntrl
\Oracle\Qas\sapdata1\cntr
If one of these path is not created. Then create it
Start the oracle services
Oracle<Qas102>SQL* plus
Oracle<Qas102>TNSLISTNER
Oracle service <Sid>
Login to SQL from the location where the control SQL file is located.
E:\oracle\Qas\sapbackup\> sqlplus “/as sysdba”
SQL: > select status from v$ instance;
SQL: > startup nomount;
Oracle instance is started
1. instance management
2. space management
3. Segment management
4. Backup and database copy
5. Restore and recovery
6. Check and verification
7. Database statistics
8. Additional functions
9. Exit program
1. Database backup
2. Archive log backup
3. Database copy
4. Non database copy—–ext
5. Reset program status
D:\oracle\PRD\sap back up
If shuts down the database instance as we are taking on offline backup (then
backup has been completed success fully)
Exit from the BRTOOLS by selecting option S and then select the option y
STATUS
MOUNTED
OPEN
USER NAME
—— 9 rows selected
You can view the PRD op$ users in the above screen
USERNAME:
——–> 12 rows selected
USERNAME:
——–> 10 rows selected
Provide permissions to the following QAS users as mentioned in the bellow screen
SQL: >select status from v$ instance
STATUS -> OPEN
START THE SAP INSTANCE OR MMC
Install the license for QAS system and remove the PRD system license
Saplicence –show (display the license of both QAS and PRD system)
Saplicence –delete (delete the PRD system license)
Saplicence –install (install license for the QAS system)
5/5