Oracle
 sql >> Base de Dados >  >> RDS >> Oracle

Como importar um backupset Oracle 11g RMAN em um novo servidor de banco de dados?


Eu nunca usei essa ferramenta, mas eu googlei alguns minutos, talvez isso ajude você ...

Link direto: Importação RMAP
Here is the script I use to restore the database from the backup, (I always clean up the database before restoring it.)

* Startup nomout;
* Set dbid xxxxxxxx // This is the dbid of your database
* Run {
Set controlfile autobackup format for device type disk to ''; // e.g. '/ora101/oradata/TAR/%F'
Restore controlfile from autobackup;
}
* Alter database mount; // can't restore without the database mounted
* Restore database; // can't run recover without first restore
* Recover database; // if the backup was from incremental, RMAN will try to apply all the logfiles generated after the backup was started.
* Alter database open resetlogs; 

// EDIT:Aqui está outro link do OraFaq .