› Fóruns › Banco de dados Oracle › Recuperação de base dados Oracle com RMAN › Recuperação de base dados Oracle com RMAN
Primeira tentativa
RMAN> RESTORE SPFILE FROM AUTOBACKUP;
Starting restore at 19-NOV-13
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=254 device type=DISK
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 11/19/2013 14:17:52
RMAN-06564: must use the TO clause when the instance is started with SPFILE
Segunda tentativa:
RMAN> RESTORE SPFILE FROM ‘/rman_bkp_oracle/c-658221577-20131117-02’;
Starting restore at 19-NOV-13
using channel ORA_DISK_1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 11/19/2013 14:20:15
RMAN-06564: must use the TO clause when the instance is started with SPFILE
Não esta funcionando, eu uso o catálogo de recuperação do RMAN, mas deste caso não estou me conectando no catálogo para a recuperação. Isso deveria funcionar mesmo não estando conectado no catálogo. Outra coisa que estou pensando, todos os caminhos tem que ser exatamente iguais aos caminhos do banco de produção para fazer a recuperação?
Caso algum caminho esteja diferente ocorre erro ao restaurar o banco?