RMAN-06149: cannot BACKUP DATABASE in NOARCHIVELOG mode

RMAN-06149: cannot BACKUP DATABASE in NOARCHIVELOG mode

Cause:

RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of backup command at 02/18/2021 13:39:48
RMAN-06149: cannot BACKUP DATABASE in NOARCHIVELOG mode

Workaround:

Incremental backup needs archivelogs to be enabled

SQL> archive log list
Database log mode              No Archive Mode
 <=======
Automatic archival             Disabled
Archive destination            USE_DB_RECOVERY_FILE_DEST
Oldest online log sequence     315
Current log sequence           317

Check if your database is in archivelog mode

Else enable archivelog in your database

SQL> shu immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup mount;
ORACLE instance started.

Total System Global Area 1644167168 bytes
Fixed Size                  2925024 bytes
Variable Size             989859360 bytes
Database Buffers          637534208 bytes
Redo Buffers               13848576 bytes
Database mounted.
SQL> alter database noarchivelog;

Database altered.

SQL> alter database open;

Database altered.

Verify the change

SQL> archive log list;
Database log mode              Archive Mode
Automatic archival             Enabled
Archive destination            USE_DB_RECOVERY_FILE_DEST
Oldest online log sequence     315
Next log sequence to archive   317
Current log sequence           317

Check this post for more info!

https://wordpress.com/post/alphaoragroup.com/2276

Leave a Reply

%d bloggers like this: