![]() ![]() Moving the Target Database to a New Host with the Same File System.Restoring the Database to its Default Location.This chapter contains the following topics: To create a test database using backups of your target database, use the duplicate command (see Chapter 7, "Creating a Duplicate Database with Recovery Manager" for complete instructions). To move your target database to a new host, rename the datafiles as needed using set newname. To restore the database to its default location, issue the restore database command. Test restore and recovery procedures by creating a database based on backups of your target database.Move the database to a new host because of a media failure.Restore the database to its default location because of a media failure.When restoring a target database, you can: "restore" for restore syntax, and "set_run_option" for set newname syntax. ![]() Restoring in Preparation for Incomplete Recovery.This section contains the following topics: Unless you issue a switch command to point the control file to these copies, they are considered valid copies for use in future restore operations. If you restore datafiles to a new location, then RMAN considers them datafile copies and records them in the repository. A new location specified by the set newname command.The default location, which overwrites the files with the same name.If the appropriate type of device is not allocated, then you may not be able to find a candidate backup set or copy to restore, and the restore command fails. Allocate the appropriate disk or ' sbt_tape' channel when restoring files.Allocate a channel of type disk if you use the from copy option.Specify multiple channels to parallelize the restore operation. Allocate at least one channel before restoring backups or copies.RMAN restores backups from disk or tape, but image copies only from disk. Use the RMAN restore command to restore datafiles, control files, or archived redo logs from backup sets or image copies. Restoring Datafiles, Control Files, and Archived Redo Logs "Monitoring RMAN Jobs" to learn how to monitor restore and recovery operations. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |