In previous posts we have seen how to backup Mailbox database and restore single item from the backup.
In this post we will explore how to restore the entire database to its original location, although you might ask why would I do that when I can restore the item that I want directly from my backup set, Well there might be some scenarios where you want to restore an entire database:
– Database corruption either physically or logically.
– reseed operation.
– restoring to restore database for finer search and extraction.
we will use the same backup we did last time to restore the entire database, let us start:
User one received 2 emails (Diff 1 and Diff2):
It looks that those emails some how caused a Database corruption, and the database is dismounted and can’t be mounted again (this simulates a logical or physical corruption at the database level):
If I try to mount it I get the error:
Also there is an error in the event viewer:
Now I need to restore the entire database, from the Backup Exec management console Select the Exchange server and click restore, in the restore type, select Microsoft Exchange databases or storage groups:
In the Resource view, select the backup job you want to restore:
In the restore location, I will choose the original location since I want to restore it on top of the current one since the current one is corrupted, you might want to restore it to another location or the recovery database or to another server in case of dial-tone recovery.
In the overwrite page, I will choose to overwrite existing DB and logs, if you trust that logs are ok and your DB is having troubles due to a corrupted harddisk for example you can restore the database set and keep exiting logs and when the replay starts it will restore the database into the most recent status, however in my case there is a logical corruption caused by bad emails thus bad logs, so I don’t want these and I will overwrite them:
In the Temporary location, I will chose the default location, but you need to make sure that the selected location has enough space to hold the restored data:
In the next screen, you have the option to wait to start mounting the database, if you are restoring from differential backup or you want to run eseutil before mounting the database for example you might want not to mount the database otherwise, the backup exec will mount the database and start playing the logs directly, in my case I will choose to mount the database:
In the job name and schedule, set your options and click next:
on done, go to the Job list, select the restore job and click run now, the job will start restoring your database:
after the restore completes, the DB is mounted and everything is back to track :
User1 can login now to his mailbox, but you will note that Diff1 and Diff2 emails (the problematic ones) are not restored since they are weren’t backed up:
In the next post we will see how to restore differential backup, we have been talking about the full backups and we will see how to configure and restore differential backups.