这是备份数据库的命令:
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很新,所以我自己无法解决这个问题。你能告诉我怎么解决这个问题吗?感谢。
答案 0 :(得分:1)
您无法备份存档日志,因为您处于' NOARCHIVELOG'模式。当您的数据库处于NOARCHIVELOG模式时,使用RMAN备份它的唯一方法是关闭它并进行冷备份。
如果要将数据库置于存档日志模式,请从sqlplus命令提示符处作为DBA:
shutdown immediate;
startup mount;
alter database archivelog;
alter database open;