Created
October 7, 2016 17:28
-
-
Save dotmaik1/8b3a91f67c2b819a51ac005aaf0f5e33 to your computer and use it in GitHub Desktop.
backup a database in NOARCHIVELOG
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| To backup a database in NOARCHIVELOG mode you have to shutdown it first, | |
| open in mount mode and only then you can start your backup process. | |
| [oracle@localhost ~]$ rman target / | |
| Recovery Manager: Release 11.2.0.2.0 - Production on Thu Jan 21 11:44:08 2016 | |
| Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved. | |
| connected to target database: ORCL (DBID=1229390655) | |
| RMAN> shutdown immediate; | |
| using target database control file instead of recovery catalog | |
| database closed | |
| database dismounted | |
| Oracle instance shut down | |
| RMAN> startup mount; | |
| connected to target database (not started) | |
| Oracle instance started | |
| database mounted | |
| Total System Global Area 456146944 bytes | |
| Fixed Size 1344840 bytes | |
| Variable Size 348129976 bytes | |
| Database Buffers 100663296 bytes | |
| Redo Buffers 6008832 bytes | |
| RMAN> backup database; | |
| Starting backup at 21-01-2016 11:45:06 | |
| allocated channel: ORA_DISK_1 | |
| channel ORA_DISK_1: SID=18 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=00002 name=/home/oracle/app/oracle/oradata/orcl/sysaux01.dbf | |
| input datafile file number=00001 name=/home/oracle/app/oracle/oradata/orcl/system01.dbf | |
| input datafile file number=00004 name=/home/oracle/app/oracle/oradata/orcl/users01.dbf | |
| input datafile file number=00003 name=/home/oracle/app/oracle/oradata/orcl/undotbs01.dbf | |
| input datafile file number=00005 name=/home/oracle/app/oracle/oradata/orcl/example01.dbf | |
| input datafile file number=00010 name=/home/oracle/app/oracle/oradata/orcl/APEX_2614203650434107.dbf | |
| input datafile file number=00006 name=/home/oracle/app/oracle/oradata/orcl/APEX_1930613455248703.dbf | |
| input datafile file number=00007 name=/home/oracle/app/oracle/oradata/orcl/APEX_2041602962184952.dbf | |
| input datafile file number=00008 name=/home/oracle/app/oracle/oradata/orcl/APEX_2610402357158758.dbf | |
| input datafile file number=00009 name=/home/oracle/app/oracle/oradata/orcl/APEX_2611417663389985.dbf | |
| channel ORA_DISK_1: starting piece 1 at 21-01-2016 11:45:07 | |
| channel ORA_DISK_1: finished piece 1 at 21-01-2016 11:48:52 | |
| piece handle=/home/oracle/app/oracle/flash_recovery_area/ORCL/backupset/2016_01_21/o1_mf_nnndf_TAG20160121T114506_cb2fb32q_.bkp tag=TAG20160121T114506 comment=NONE | |
| channel ORA_DISK_1: backup set complete, elapsed time: 00:03: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 21-01-2016 11:48:56 | |
| channel ORA_DISK_1: finished piece 1 at 21-01-2016 11:48:59 | |
| piece handle=/home/oracle/app/oracle/flash_recovery_area/ORCL/backupset/2016_01_21/o1_mf_ncsnf_TAG20160121T114506_cb2fk8ml_.bkp tag=TAG20160121T114506 comment=NONE | |
| channel ORA_DISK_1: backup set complete, elapsed time: 00:00:03 | |
| Finished backup at 21-01-2016 11:48:59 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment