Database Reference
In-Depth Information
e xeRCiSe 5.1 (continued)
10. Exit SQL*Plus:
SQL> quit
Disconnected from Oracle Database 12c
Enterprise Edition Release 12.1.0.1.0 - 64bit Production
With the Partitioning, OLAP, Advanced Analytics and Real Application Testing
options
C:\oracle>
11. Start RMAN. We will assume you are not using a recovery catalog during this exercise.
C:\oracle>rman target=/
Recovery Manager: Release 12.1.0.1.0 - Production on Fri Dec 27 10:23:32 2013
Copyright (c) 1982, 2013, Oracle and/or its affiliates. All rights reserved.
connected to target database (not started)
12. Start up the database with the STARTUP MOUNT command from RMAN:
RMAN> startup mount
Oracle instance started
database mounted
Total System Global Area 364081152 bytes
Fixed Size 1333228 bytes
Variable Size 264243220 bytes
Database Buffers 92274688 bytes
Redo Buffers 6230016 bytes
13. Restore the database files with the RESTORE DATABASE command:
RMAN> restore database;
Starting restore at 10/03/2013 00:38:55
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=155 device type=DISK
channel ORA_DISK_1: starting datafile backup set restore
channel ORA_DISK_1: specifying datafile(s) to restore from backup set
channel ORA_DISK_1: restoring datafile 00001 to
C:\ORACLE\ORADATA\ORCL\SYSTEM01.DBF
channel ORA_DISK_1: restoring datafile 00002 to
C:\ORACLE\ORADATA\ORCL\SYSAUX01.DBF
channel ORA_DISK_1: restoring datafile 00003 to
C:\ORACLE\ORADATA\ORCL\UNDOTBS01.DBF
channel ORA_DISK_1: restoring datafile 00004 to
C:\ORACLE\FAST_RECOVERY_AREA\ORCL\DATAFILE\O1_MF_USERS_4G2Q1YTC_.DBF
Search WWH ::




Custom Search