Preparing restore

When you restore a user database from a backup, that database must not be in use because any data in the specified database is replaced by the restored data.

If you plan to restore master database , you have more things to do before restoration. 

Note : MSDE does not contain the Rebuild Master Database utility. To recreate the master and model databases if you are using MSDE, you must reinstall your MSDE-based application, and then restore the appropriate online backups.