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.

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

Error in Noarchive Mode

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

Take RMAN Backup in Noarchive mode

There are few simple step to use RMAN if Database in NOARCHIVE. So if you want to take database backup in noarchivelog mode, your database must be in mount mode. Use below these steps to take RMAN backup.

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

$ rman target/

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

This time your RMAN backup completed.

Read – How to restore archive logs from RMAN backup

Connect with me on:

Instagram: https://www.instagram.com/shripaldba
Linkedin: 
https://www.linkedin.com/in/shripal-singh
Twitter: 
https://twitter.com/ocptechnology
Facebook: 
https://www.facebook.com/ocptechnology
YouTube: 
https://www.youtube.com/ocptechnology

3 thoughts on “Use RMAN in NOARCHIVE”

Leave a Comment

%d bloggers like this:
Enable Notifications    OK No thanks