备份 Oracle 数据库出错

Back up Oracle db gives error

这是我备份数据库的命令:

RMAN> backup as backupset database plus archivelog;

这是我得到的错误:

Starting backup at 18-APR-17
ORACLE error from target database:
ORA-00258: manual archiving in NOARCHIVELOG mode must identify log

using channel ORA_DISK_1
specification does not match any archived log in the repository
backup cancelled because there are no files to backup
Finished backup at 18-APR-17

Starting backup at 18-APR-17
using channel ORA_DISK_1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of backup plus archivelog command at 04/18/2017 11:59:03
RMAN-06149: cannot BACKUP DATABASE in NOARCHIVELOG mode

我是 Oracle 的新手,所以我自己无法解决这个问题。你能告诉我如何解决这个问题吗?谢谢

您无法备份存档日志,因为您处于 'NOARCHIVELOG' 模式。当您的数据库处于 NOARCHIVELOG 模式时,使用 RMAN 备份它的唯一方法是将其关闭并进行冷备份。

如果您想将数据库置于归档日志模式,作为 DBA 从 sqlplus 命令提示符:

shutdown immediate;
startup mount;
alter database archivelog;
alter database open;