This is the procedure of restoring to the database having that has the same directory structure as the one the backup was created at. To restore the database by creating a new one: - Make sure the database environment is healthy. Check the existing database, the database server that hosts the existing database, and the computer that hosts the database server.
- Stop database:
OS> dbshut $ORACLE_HOME - Install Oracle database according to «InfoWatch Traffic Monitor. Installation Guide» document.
- Perform the following tasks:
- Delete all content of /u02/oradata/ and , /u02/oradata1/ and /u01/app/oracle/oradata/iwtm/ directories
- Copy the content of /opt/IWTM_Backup_Files/Oradata/ directory to /u02/oradata/ directory
- Copy the content of /opt/IWTM_Backup_Files/IWTM/ directory to /u01/app/oracle/oradata/iwtm/ directory
- Rename control01.ctl file located in in /opt/IWTM_Backup_Files/OradataIWTM/ directory directory to control02.ctl and copy it to /u01/app/oracle/flast_recovery_areaoradata/iwtm/ directory
- Check permissions.
- If Change them if necessary change them:
OS> chown -R oracle:oinstall /u02/oradata –R
OS> chown oracle:oinstall /u01/app/oracle/oradata/iwtm/ -R
OS> chown oracle:oinstall /u01/app/oracle/fast_recovery_areaoradata/iwtm/ -R - Start database:
OS> dbstart $ORACLE_HOME
|