Ir para conteúdo

POWERED BY:

Arquivado

Este tópico foi arquivado e está fechado para novas respostas.

Gofmam

Erro no RMAN

Recommended Posts

Pessoal, estou tentando utilizar o RMAN para fazer backup hot em um banco de dados.

Pelas configurações que achei em um site, segue abaixo as configurações que estou utilizando:

 

RMAN> show all;

 

os parÔmetros de configuraþÒo RMAN sÒo:

CONFIGURE RETENTION POLICY TO REDUNDANCY 3;

CONFIGURE BACKUP OPTIMIZATION ON;

CONFIGURE DEFAULT DEVICE TYPE TO DISK;

CONFIGURE CONTROLFILE AUTOBACKUP ON;

CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO 'D:\Backup_O

';

CONFIGURE DEVICE TYPE DISK PARALLELISM 2;

CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default

CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default

CONFIGURE MAXSETSIZE TO UNLIMITED; # default

CONFIGURE SNAPSHOT CONTROLFILE NAME TO 'D:\ORACLE\ORA92\DATABASE\SNCFZYON.OR

# default

 

RMAN> backup database plus archivelog;

 

 

Iniciando backup em 20/11/07

canal alocado: ORA_DISK_1

canal ORA_DISK_1: sid=13 devtype=DISK

canal liberado: ORA_DISK_1

RMAN-00571: ===========================================================

RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============

RMAN-00571: ===========================================================

RMAN-03002: failure of backup command at 11/20/2007 08:51:58

RMAN-06181: multiple channels require Enterprise Edition

 

RMAN>

 

Dai então aparece esse erro, alguém saberia como me ajudar?

 

Obrigado.

Compartilhar este post


Link para o post
Compartilhar em outros sites

Consegui resolver alterando :

 

CONFIGURE DEVICE TYPE DISK PARALLELISM 2; para 1.

 

 

Agora o estado é esse :

 

RMAN> show all;

 

os parÔmetros de configuraþÒo RMAN sÒo:

CONFIGURE RETENTION POLICY TO REDUNDANCY 3;

CONFIGURE BACKUP OPTIMIZATION ON;

CONFIGURE DEFAULT DEVICE TYPE TO DISK;

CONFIGURE CONTROLFILE AUTOBACKUP ON;

CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO 'D:\Backup_ON\%F

';

CONFIGURE DEVICE TYPE DISK PARALLELISM 1;

CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default

CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default

CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT 'D:\Orabk\Backup_ON\ora_df%t_s%s_s%p

';

CONFIGURE CHANNEL 1 DEVICE TYPE DISK FORMAT 'D:\Orabk\Backup_ON\rman_%n_%T_%s_

%p';

CONFIGURE MAXSETSIZE TO UNLIMITED; # default

CONFIGURE SNAPSHOT CONTROLFILE NAME TO 'D:\ORACLE\ORA92\DATABASE\SNCFZYON.ORA';

# default

 

 

RMAN> backup tablespace users;

 

Iniciando backup em 20/11/07

utilizando o canal ORA_DISK_1

canal ORA_DISK_1: iniciando conjunto de backups do arquivo de dados full

canal ORA_DISK_1: especificando arquivo(s) de dados no conjunto de backups

fno=00009 name=D:\ORACLE\ORADATA\ZYON\USERS01.DBF do arquivo de dados de entrada

 

canal ORA_DISK_1: iniciando o componente 1 em 20/11/07

canal ORA_DISK_1: componente 1 finalizado em 20/11/07

handle de componente=D:\ORABK\BACKUP_ON\RMAN_ZYONXXXX_20071120_15_1 comentßrio=N

ONE

canal ORA_DISK_1: conjunto de backups concluÝdo, tempo decorrido: 00:01:16

Finalizado backup em 20/11/07

 

Iniciando Control File and SPFILE Autobackup em 20/11/07

RMAN-00571: ===========================================================

RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============

RMAN-00571: ===========================================================

RMAN-03009: failure of Control File and SPFILE Autobackup command on ORA_DISK_1

channel at 11/20/2007 11:02:25

ORA-19504: falha ao criar arquivo "D:\Backup_ON\c-1596397654-20071120-03"

ORA-27040: skgfrcre: erro de criaþÒo, nÒo Ú possÝvel criar arquivos

OSD-04002: nÒo Ú possÝvel abrir arquivo

O/S-Error: (OS 3) O sistema nÒo pode encontrar o caminho especificado.

 

Se alguém poder me ajudar agradeço.

Compartilhar este post


Link para o post
Compartilhar em outros sites

Faz um teste assim:

 

run {
allocate channel t1 type disk format 'c:\BACKUP';
backup incremental level 0 database include current controlfile tag 'BKP_L0';
release channel t1;
}

Verifique se existe realmenete a pasta C:\BACKUP, caso não, crie ela no SO.

 

Abraços,

Compartilhar este post


Link para o post
Compartilhar em outros sites

Faz um teste assim:

 

run {
allocate channel t1 type disk format 'c:\BACKUP';
backup incremental level 0 database include current controlfile tag 'BKP_L0';
release channel t1;
}

Verifique se existe realmenete a pasta C:\BACKUP, caso não, crie ela no SO.

 

Abraços,

.....

fno=00004 name=D:\ORACLE\ORADATA\ZYON\DRSYS01.DBF do arquivo de dados de entrada

 

fno=00007 name=D:\ORACLE\ORADATA\ZYON\ODM01.DBF do arquivo de dados de entrada

fno=00008 name=D:\ORACLE\ORADATA\ZYON\TOOLS01.DBF do arquivo de dados de entrada

 

canal t1: iniciando o componente 1 em 22/11/07

canal liberado: t1

RMAN-00571: ===========================================================

RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============

RMAN-00571: ===========================================================

RMAN-03009: failure of backup command on t1 channel at 11/22/2007 07:48:57

ORA-19504: falha ao criar arquivo "c:\BACKUP"

ORA-27038: skgfrcre: arquivo existe

OSD-04010: opþÒo <criar> especificada, arquivo existente

 

RMAN>

 

Abraço

Compartilhar este post


Link para o post
Compartilhar em outros sites

Ops Desculpa... falto dizer a nomeclatura do arquivo.

 

Novo script:

 

run {
allocate channel t1 type disk format 'c:\BACKUP\%d_%t_%s.bkp';
backup incremental level 0 database include current controlfile tag 'BKP_L0';
release channel t1;
}

Pode executar novamente.

 

Abraços,

Compartilhar este post


Link para o post
Compartilhar em outros sites

×

Informação importante

Ao usar o fórum, você concorda com nossos Termos e condições.