This task is similar to creating the regular storage group from earlier in
this chapter. The inclusion of the recovery parameter is what makes it different from a regular storage group.
New-StorageGroup -Server mb100 -LogFolderPath c:\rsg -name RSG -SystemFolderPath
c:\rsg -Recovery
The Get-StorageGroup shows how the newly created storage group is marked for recovery.
(See Figure 8 - 3 .)
Figure 8-3
Chapter 8: Confi guring the Mailbox Server Role
227
Create the RSG Database
Next, create the recovery database with New-MailboxDatabase . The MailboxDatabaseToRecover
parameter is what links the RSG to the target database. Figure 8 - 4 shows the results of the following
cmdlet that creates a new RSG:
New-MailboxDatabase -MailboxDatabaseToRecover ???Mailbox Database??? -StorageGroup
mb100\rsg -EdbFilePath c:\rsg\rsg.edb
< rsg new db.tif >
Figure 8-4
If needed, mark the mailbox database to allow overwrites. Setting this value to true allows a database
that does not match the information in Active Directory to mount. Forcing administrators to explicitly set
the database overwrite flag prevents accidentally mounting an incorrect database.
Set-MailboxDatabase -Identity ???mb100\RSG\mailbox database??? -AllowFileRestore:$true
Restore the Database
Restore the database file from tape or disk.
Pages:
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334