Welcome  |  Sign In     | 
Microsoft TechNet
     
Storage Group and Databas...
Exchange Server 2003
Storage Group and Database Naming Considerations

Along with matching the names, as described in the previous section, you must also consider the name of the storage group, the logical name of the database, and the names of the actual database files. The specific rules for matching names of original and destination storage groups depend on two factors: How you move the database files (for example, using offline backups or normal file copies or restoring from online backup), and whether you restore to an ordinary storage group or to a recovery storage group.

First, look at the following guidelines for moving databases between ordinary storage groups. With a good understanding of these rules, you will be ready to understand the differences that apply to recovery storage groups.

General Considerations for Moving FilesGeneral Considerations for Moving Files
Moving a Database Using an Online BackupMoving a Database Using an Online Backup

Moving the databases by using an online backup is a more complicated approach than just copying .edb and .stm files from one location to another.

If you are restoring from an online backup to a different storage group, the destination storage group name and the logical database name must match the original names. The restore API queries the destination server to find out if it has a storage group and database matching the ones selected in the backup set. If a match is not found, the API assumes that you have selected the wrong server. This makes the restore operation straightforward in most instances because the administrator can select the restore server without having to specify anything else.

However, when restoring from online backup, you do not have to match the database file names on the destination server with the original file names. Exchange will actually rename the files on the backup tape to match the new file name if there is a difference. In other words, the name matching required when you restore from online backup is almost the opposite of that required when you use offline or file copy backups. When you use an online backup, the logical names of the storage group and database are critical, but the actual file names of the databases do not matter. With an offline backup, only the names of the files are important. The storage group and logical database names are unimportant.

After a database has been restored from online backup, at least one transaction log file must be committed to the database to make the database consistent (to put it into a Clean Shutdown state). You can be certain that this has happened after you have successfully mounted and disconnected from the database once. With the restored database disconnected, you can move the .edb and .stm files to a different storage group, if you want, by copying them into place (subject to the rules for moving copies of databases between storage groups).


©2007 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
 
Page view tracker