Professional Documents
Culture Documents
EGCB Restore System Guide V1.0
EGCB Restore System Guide V1.0
Changed
Version Date Changed Summary of Changes Change Reference
by
V1.0 20-10-2020 HuynhDV3 Create new document
1.2. Solutions
1.2.1. Stop sap instance
- Step1: Login QAS servers (10.2.12.61) by root user via ssh tool.
- Step2: Switch to the administrator user by su command:
- Step3: Execute the command stopsap R3
[root@qas-erp ~]# su - qasadm
qas-erp:qasadm 10> stopsap R3
1.2.2. Copy backup file from PRD system to QAS system
- Step1: Login PRD database servers (10.2.13.21) by root user via ssh tool.
- Step2: Execute the command scp to copy backup file to QAS server
o Note:
PRD backup folder: /backup/daily_backup_egcb/PRD
How to use scp command:
https://linuxize.com/post/how-to-use-scp-command-to-securely-transfer-files/
1.2.3. Restore QAS database from backup file
- Step1: Login servers by root user via ssh tool.
- Step2: Switch to the administrator user by su command:
- Step3: Execute the command:
[root@qas-erp ~]# su - sybqas
[sybqas@qas-erp ~]$ cd /sybase/QAS/
[sybqas@qas-erp ~]$ source SYBASE.csh
[sybqas@qas-erp ~]$ isql -Usapsa -SQAS -X -PAbc12345
1> use master
2> go
1> load database QAS from '/backup/16102020_backupPRD/PRD_DB/
2> go
2> go