Use RMAN in NOARCHIVE

Use RMAN in NOARCHIVE

Hello, friends in this article I’m going to demonstrate to you how to use RMAN in NOARCHIVE mode steps by steps.

Use RMAN in NOARCHIVE

You must check  How to Restore RMAN Backup on New Server

As you know Oracle strongly recommended to run your database in archivelog mode for the database security.
If you running database in noarchivelog mode, you refused any recovery.

If you are trying to take database backup in noarchivelog mode you gote the following error.




There are few simple step to use RMAN if Database in NOARCHIVE.

RMAN> backup database;

Starting backup at 19-JUL-19
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=33 device type=DISK
channel ORA_DISK_1: starting full datafile backup set
channel ORA_DISK_1: specifying datafile(s) in backup set
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 07/19/2019 06:21:47
ORA-19602: cannot backup or copy active file in NOARCHIVELOG mode

So if you want to take database backup in noarchivelog mode, your database must be in mount mode. You must follow these steps.

Step-1. Shutdown Database.

SQL> shu immediate
Database closed.
Database dismounted.
ORACLE instance shut down.

Step-2. Startup mount

SQL> startup mount
ORACLE instance started.

Total System Global Area 839282688 bytes
Fixed Size 2233000 bytes
Variable Size 633343320 bytes
Database Buffers 201326592 bytes
Redo Buffers 2379776 bytes
Database mounted.

Step-3. Connect with RMAN and take backup.




[oracle@rhel6 ~]

$ rman target/

Recovery Manager: Release 11.2.0.3.0 – Production on Fri Jul 19 06:27:43 2019 Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved. connected to target database: DB11G (DBID=378903543, not open)

RMAN> backup database;

Starting backup at 19-JUL-19
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=20 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/db11g/system01.dbf
input datafile file number=00002 name=/u01/app/oracle/oradata/db11g/sysaux01.dbf
input datafile file number=00005 name=/u01/app/oracle/oradata/db11g/example01.dbf
input datafile file number=00003 name=/u01/app/oracle/oradata/db11g/undotbs01.dbf
input datafile file number=00006 name=/u01/app/oracle/oradata/db11g/ocpt01.dbf
input datafile file number=00004 name=/u01/app/oracle/oradata/db11g/users01.dbf
channel ORA_DISK_1: starting piece 1 at 19-JUL-19
channel ORA_DISK_1: finished piece 1 at 19-JUL-19
piece handle=/u01/app/oracle/fast_recovery_area/DB11G/backupset/2019_07_19/o1_mf_nnndf_TAG20190719T062755_gm25dmsj_.bkp tag=TAG20190719T062755 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:01:44
Finished backup at 19-JUL-19

Starting Control File and SPFILE Autobackup at 19-JUL-19
piece handle=/u01/app/oracle/fast_recovery_area/DB11G/autobackup/2019_07_19/o1_mf_s_1014013625_gm25hvt0_.bkp comment=NONE
Finished Control File and SPFILE Autobackup at 19-JUL-19

After this reading this article, now you understand how to use RMAN if Database in NOARCHIVE.

For more details watch below video.

You also interested to know how to split dumpfile.

Share this
Share

2 thoughts on “Use RMAN in NOARCHIVE”

Leave a Comment

Share