Backup Server Restoration Step

Published on June 2016 | Categories: Documents | Downloads: 48 | Comments: 0 | Views: 194
of 4
Download PDF   Embed   Report

Comments

Content

Backup Servers Restoration Guide

2
Backup Server Restoration Guide – ETS

Database Restoration Steps (Linux)
1. Copy latest database dump file from web server (“D:\FTP\bkp”) to backup database server
at oracle home (“/export/home/oracle/”) using FTP (WinSCP) in binary mode.

2. Now login to backup database server (Linux) with user oracle using putty. Connectivity
details given below Server IP Address - 10.50.20.53 User Name – oracle Password - oracle

3. Unzip the dump using following command on shell prompt
gunzip “zip file name” i.e. gunzip expedtsfinal.dmp.gz

4. Login into the oracle with sysdba user using following command on shell prompt
sqlplus / as sysdba 5. Start the oracle service by using following command startup 6. Drop EDTS database user using following command on sql prompt
Drop USER EDTS CASCADE;

7. Drop tablespace using following command on sql prompt
DROP TABLESPACE EDTS_DATA INCLUDING CONTENTS AND DATAFILES;

8. Create the tablespace using following command on sql prompt
CREATE TABLESPACE EDTS_DATA DATAFILE '/export/home/oracle/edts_data/edts_data01.dbf' SIZE 4GB AUTOEXTEND ON NEXT 512MB EXTENT MANAGEMENT LOCAL;

9. Create user EDTS using following command on sql prompt
CREATE USER EDTS IDENTIFIED BY Edtsisl007 DEFAULT TABLESPACE EDTS_DATA TEMPORARY TABLESPACE TEMP ACCOUNT UNLOCK;

10. Give the rights to the EDTS user using following command on sql prompt

Version 2.0

Page2 of 4

3
Backup Server Restoration Guide – ETS
GRANT RESOURCE, CONNECT, DBA, CREATE ANY TRIGGER, SELECT ANY DICTIONARY TO EDTS; GRANT READ, WRITE ON DIRECTORY LOADER TO EDTS;

11. Now exit from sqlplus using following command on sql prompt
EXIT

12. Now import the dmp file in edts user using following command on shell prompt
imp edts/Edtsisl007 file=expedtsfinal.dmp full=n fromuser=edts touser=edts ignore=y grants=n log=edts.log buffer=1024000

Note: - Replace expedtsfinal.dmp with correct dump file name before executing the command. Check step 3 output for the dump file name.

13. Connect to sqlplus through EDTS user using following command on shell prompt
sqlplus EDTS/Edtsisl007

14. Run following commands on sql prompt

a. SET SERVEROUTPUT ON b. CALL MUN_ERROR_PROC_COMPILE('PROCEDURE','EDTS');

Version 2.0

Page3 of 4

4
Backup Server Restoration Guide – ETS

Web Server Restoration Steps (Windows)
1. Login to the backup web server using RDC. 2. Copy the latest web application from main windows server to backup windows server. The
application will be present in “c:\inetpub\wwwroot\viom” and should be copied to the respective location in backup server. 3. Open Network properties & assign the main web server IP to backup server. Details are given below IP Address – 10.50.20.36 Subnet Mask – 255.255.252.0 Default Gateway – 10.50.20.101 DNS Server – 10.50.58.51/52

Version 2.0

Page4 of 4

Sponsor Documents

Or use your account on DocShare.tips

Hide

Forgot your password?

Or register your new account on DocShare.tips

Hide

Lost your password? Please enter your email address. You will receive a link to create a new password.

Back to log-in

Close