Oracle
 sql >> Datenbank >  >> RDS >> Oracle

Wie importiere ich ein Oracle 11g RMAN-Backupset auf einem neuen Datenbankserver?

Ich habe dieses Tool nie benutzt, aber ich google ein paar Minuten, vielleicht hilft dir das weiter ...

Direkter Link: RMAP-Import

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:Hier ist ein weiterer Link von OraFaq .