Creating a recovery storage group and database

Creat a new storage group

New-StorageGroup –Server <database server> –LogFolderPath “<Path to your log folder” –Name “Recovery Storage Group” –SystemFolderPath “<path to your database>” –Recovery

Creat a new database

New-MailboxDatabase –MailboxDatabaseToRecover “<database>” –StorageGroup “<database server><storage group name>” –EDBFilePath “<path to the database file>”

 Allow file restore

Set-MailboxDatabase -Identity “ServerNameRecovery Storage GroupDatabase” -AllowFileRestore
$true
 
Mount-Database –Identity “<server>Recovery Storage Group<database>”

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply