Backup Noarchivelog
- Setup ORACLE_SID and ORACLE_HOME
- Execute rman
- Connect
- Shutdown
- Startup mount
- Backup
- Open database
Setup ORACLE_SID and ORACLE_HOME
ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/12.1.0/dbhome_1; export ORACLE_HOME
ORACLE_SID=E1Local; export ORACLE_SID
Execute Rman
Rman
Recovery Manager: Release 12.1.0.2.0 - Production on Mon Oct 6 21:28:16 2014
Copyright (c) 1982, 2014, Oracle and/or its affiliates. All rights reserved.
RMAN>
Connect
RMAN> CONNECT TARGET /
connected to target database: E1LOCAL (DBID=3893839745)
RMAN>
Shutdown the database
RMAN> shutdown
database closed
database dismounted
Oracle instance shut down
RMAN>
Startup Mount
RMAN> startup mount
connected to target database (not started)
Oracle instance started
database mounted
Total System Global Area 629145600 bytes
Fixed Size 2927528 bytes
Variable Size 281019480 bytes
Database Buffers 339738624 bytes
Redo Buffers 5459968 bytes
RMAN>
Backup Database
RMAN> backup database;
Starting backup at 06-OCT-14
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=12 device type=DISK
channel ORA_DISK_1: starting full datafile backup set
channel ORA_DISK_1: specifying datafile(s) in backup set
input datafile file number=00001 name=/u01/app/oracle/oradata/E1LOCAL/datafile/o1_mf_system_b35rb73h_.dbf
input datafile file number=00003 name=/u01/app/oracle/oradata/E1LOCAL/datafile/o1_mf_sysaux_b35r8hrd_.dbf
input datafile file number=00004 name=/u01/app/oracle/oradata/E1LOCAL/datafile/o1_mf_undotbs1_b35rczq6_.dbf
input datafile file number=00006 name=/u01/app/oracle/oradata/E1LOCAL/datafile/o1_mf_users_b35rcyh0_.dbf
channel ORA_DISK_1: starting piece 1 at 06-OCT-14
channel ORA_DISK_1: finished piece 1 at 06-OCT-14
piece handle=/u01/app/oracle/fast_recovery_area/E1LOCAL/backupset/2014_10_06/o1_mf_nnndf_TAG20141006T222854_b36mz75z_.bkp tag=TAG20141006T222854 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:46
channel ORA_DISK_1: starting full datafile backup set
channel ORA_DISK_1: specifying datafile(s) in backup set
including current control file in backup set
including current SPFILE in backup set
channel ORA_DISK_1: starting piece 1 at 06-OCT-14
channel ORA_DISK_1: finished piece 1 at 06-OCT-14
piece handle=/u01/app/oracle/fast_recovery_area/E1LOCAL/backupset/2014_10_06/o1_mf_ncsnf_TAG20141006T222854_b36n0qdp_.bkp tag=TAG20141006T222854 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:01
Finished backup at 06-OCT-14
RMAN>
Open database
RMAN> alter database open;
using target database control file instead of recovery catalog
Statement processed
RMAN>