ORA-19602:无法在NOARCHIVELOG模式下备份或复制活动文件

Nee*_*rma 3 database oracle oracle11g database-backups

我们正在使用Oracle 11gWindows 8和10 OS环境中的数据库.我们需要转储(备份)数据库,然后将该转储文件恢复到另一个oracle数据库,所以我们正在尝试Recovery Manager (RMAN)它.我们发出以下命令:

C:\Users\Admin>rman
Recovery Manager: Release 11.2.0.1.0 - Production on Tue Mar 8 17:24:43 2016
Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
RMAN> connect target /
connected to target database: MYEMP (DBID=42934358)
RMAN> backup database;

Starting backup at 08-MAR-16
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=133 device type=DISK
channel ORA_DISK_1: starting full datafile backup set
channel ORA_DISK_1: specifying datafile(s) in backup set
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 03/08/2016 17:25:00
ORA-19602: cannot backup or copy active file in NOARCHIVELOG mode
continuing other job steps, job failed will not be re-run
channel ORA_DISK_1: starting full datafile backup set
channel ORA_DISK_1: specifying datafile(s) in backup set
including current control file in backup set
including current SPFILE in backup set
channel ORA_DISK_1: starting piece 1 at 08-MAR-16
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 03/08/2016 17:25:02
ORA-19504: failed to create file "C:\USERS\ADMIN\DESKTOPTEST\DATABASEBACKUP"
ORA-27038: created file already exists
OSD-04010: <create> option specified, file already exists
Run Code Online (Sandbox Code Playgroud)

我试过这些来解决这个问题:

RMAN> run {
shutdown immediate;
startup mount;
backup database;
alter database open;
}
Run Code Online (Sandbox Code Playgroud)

但没有任何事情发生,我们正在犯错.如何使用RMAN备份Oracle数据库?或任何(脚本),可以帮助我在我的oracle服务器上生成大数据库?

Joh*_*eau 5

我知道这是一篇较老的帖子,但我今天遇到了它,因为我有同样的问题,并发现提供的答案未能提供原始帖子试图做的一件事的决议,即设置状态备份完成后打开的数据库.

据甲骨文说

要更改处于NOMOUNT或MOUNT状态的目标数据库的状态,必须使用SQL*Plus或使用RMAN SQL命令发出SQL语句,如以下示例所示:

RMAN> SQL 'ALTER DATABASE OPEN';
Run Code Online (Sandbox Code Playgroud)

https://docs.oracle.com/cd/B19306_01/backup.102/b14192/setup002.htm

所以你应该能够做类似的事情

RMAN> run 
2> {
3> shutdown immediate
4> startup mount
5> backup database;
6> SQL 'ALTER DATABASE OPEN';
7>}
Run Code Online (Sandbox Code Playgroud)


小智 0

请尝试单独发出 RMAN 命令,而不是在单个运行块中发出。谢谢萨比哈