I'm planning to setup a test server with production data. The intended actions are, making a cold backup & restoring it in the Test server.
The cold backup routine is
run
{
shutdown immediate;
startup mount;
backup database;
}
As I am restoring a cold backup, should be bothered about losing some data? The database is on Archive logging mode. Should I do a recover media as part of the restore process?
Best Answer
SHUTDOWN
SHUTDOWN
A cold backup is consistent already, requires no further recovery. All you need to do is open the restored database with:
You will have your database as it existed when you took the cold backup. If you need a state newer than that, only then you need to recover further the restored database.