Exchange 2007 database restore operation to a Recovery Storage Group (RSG) fails with VSS errors if multiple databases are selected in the restore job.

Article:TECH59599  |  Created: 2008-01-14  |  Updated: 2013-03-23  |  Article URL http://www.symantec.com/docs/TECH59599
Article Type
Technical Solution

Product(s)


Issue



Exchange 2007 database restore operation to a Recovery Storage Group (RSG) fails with VSS errors if multiple databases are selected in the restore job.

 


Error



Writer Name: Exchange Server, Writer ID: {76FE1AC4-15F7-4BCD-987E-8E1ACB462FB7}, Last error: 0x800423f3, State: 0013. A failure occurred querying the Writer status.

 


Solution



A restore operation to an Exchange 2007 Recovery Storage Group can fail with the above error if multiple databases are selected to be restored in one job.

Backup Exec version 11d and 12.x  can restore only one mailbox database at a time to an Exchange 2007 RSG.
 
Backup Exec 2010 R1 and 2010 R2 can restore multiple mailbox databases at a time to an Exchange 2007 RSG. This will require additional Eseutil (Exchange Server Database Utility) commands to be ran to resolve RSG Database Mount issues post restore.
 
Please see the following Symantec TechNote article to resolve RSG Database mount issues after successful RSG Restore:
 
This article provides additional workarounds to resolve the errors.

Before proceeding please refer to the following Microsoft articles to understand the recommendations made by Microsoft in relation to Exchange 2007 and RSG:
 

 

Here is an example of workarounds for such a scenario:

Exchange 2007 Server name: Ex2k7
Mailbox database name: MailDB1, MailDB2 located in the same Storage Group.
RSG name: RSG1
RSG path:
D:\RSG1

In this example, there is a need to restore both mailbox databases to a RSG.


Workaround 1: Create one restore job  for each mailbox database and mount it one at a time.

1. To create an RSG, execute the following command in Exchange Management Shell console:

New-StorageGroup -Server Ex2k7 -SystemFolderPath "D:\RSG1" -LogFolderPath "D:\RSG1" -Name 'RSG1' -Recovery

2. To create mailbox database in a RSG, execute the following command in Exchange Management Shell console:

New-MailboxDatabase -MailboxDatabaseToRecover 'MailDB1' -StorageGroup 'Ex2k7\RSG1' -Edbfilepath 'D:\RSG1\MailDB1.edb'

3. Create a restore job in Backup Exec. Select <MailDB1> <Logs> in the Selection list. (Figure 1)

Figure 1
 

4. Modify the "Microsoft Exchange Redirection" in the Restore Job Properties. (Figure2)

Figure 2
 

5. Modify the "Microsoft Exchange" in the Restore Job Properties. (Figure 3)

Figure 3
 

6. Confirm the restore job is successful.

7. Recover the user data.

8. To remove the mailbox database mounted to RSG, execute the following command in Exchange Management Shell console:

Remove-Mailboxdatabase -id 'Ex2k7\RSG1\MailDB1'

9. Delete all files in the path "D:\RSG1".

10. The second database MailDB2 can now be recovered using the steps documented in 2 to 9.

11. To remove RSG, execute the following command in Exchange Management Shell console:

Remove-StorageGroup -id "ex2k7\RSG1"

 

Workaround 2: Run one restore job with one mailbox database at a time and then mount all databases in the end.

1. To create an RSG, execute the following command in Exchange Management Shell console:

New-StorageGroup -Server Ex2k7 -SystemFolderPath "D:\RSG1" -LogFolderPath "D:\RSG1" -Name 'RSG1' -Recovery

2. To create mailbox database in a RSG, execute the following command in Exchange Management Shell console:

New-MailboxDatabase -MailboxDatabaseToRecover 'MailDB1' -StorageGroup 'Ex2k7\RSG1' -Edbfilepath 'D:\RSG1\MailDB1.edb'

3. Create a restore job in Backup Exec. Select <MailDB1> <Logs> in the Selection list. (Figure 4)

Figure 4
 

4. Modify the "Microsoft Exchange Redirection" in the Restore Job Properties.  (Figure 5)

Figure 5
 

5. Modify the "Microsoft Exchange" in the Restore Job Properties. (Figure 6)

Note: Do not select the option "Mount database after restore".

Figure 6
 

6. Confirm the restore job is successful.

7. Remove the mailbox database using the following command and DO NOT delete all files in "RSG1"

Remove-Mailboxdatabase -id 'Ex2k7\RSG1\MailDB1'

8. To create mailbox database "MailDB2" in "RSG1", execute the following command in Exchange Management Shell console:

New-MailboxDatabase -MailboxDatabaseToRecover 'MailDB2' -StorageGroup 'Ex2k7\RSG1' -Edbfilepath 'D:\RSG1\MailDB2.edb'

9. Create a restore job in Backup Exec. Select <MailDB2> <Logs> in the Selection list. (Figure 7)

Figure 7
 

10. Modify the "Microsoft Exchange Redirection" in the Restore Job Properties. (Figure 8)

Figure 8
 

11. Modify the "Microsoft Exchange" in the Restore Job Properties.  (Figure 9)

Note: Do not select the option "Mount database after restore".

Figure 9
 

12. To create mailbox database "MailDB1" in "RSG1" again, execute the following command in Exchange Management Shell console.

New-MailboxDatabase -MailboxDatabaseToRecover 'MailDB1' -StorageGroup 'Ex2k7\RSG1' -Edbfilepath 'D:\RSG1\MailDB1.edb'

Click OK when the following message is displayed:

WARNING: The recovery database 'MailDB1' was created using the existing file: D:\RSG1\MailDB1.edb. The database must be brought into a clean shutdown state before it can be mounted.

13. To mount all mailbox databases, execute the following commands in Exchange Management Shell console.

Mount-Database -id 'RSG1\MailDB1'
Mount-Database -id 'RSG1\MailDB2'

14. Recover the user data.

15. To remove the mailbox database mounted to RSG, execute the following commands in Exchange Management Shell console.

Remove-Mailboxdatabase -id 'Ex2k7\RSG1\MailDB1'
Remove-Mailboxdatabase -id 'Ex2k7\RSG1\MailDB2'

16. Delete all files in "D:\RSG1".

17. To remove RSG, execute the following commands in Exchange Management Shell console.

Remove-StorageGroup -id "ex2k7\RSG1"



 

Symantec Corporation has acknowledged that the above-mentioned issue is present in the current version(s) of the product(s) mentioned at the end of this article. Symantec Corporation is committed to product quality and satisfied customers.
 
This issue is currently under investigation by Symantec Corporation. Pending the outcome of the investigation, this issue may be resolved by way of a patch or hotfix in current or future revisions of the software. However, this particular issue is not currently scheduled for any release. If you feel this issue has a direct business impact for you and your continued use of the product, please contact your Symantec Sales representative or the Symantec Sales group to discuss these concerns. For information on how to contact Symantec Sales, please see  http://www.symantec.com
 
Please be sure to refer back to this document periodically as any changes to the status of the issue will be reflected here.

Supplemental Materials

SourceError Code
Value991491
Description

E2k7: Restore to RSG will not accept more than a single database


SourceError Code
Value0xe000fed1
Description

A failure occurred querying the Writer status


Description

A failure occurred querying the Writer status



Legacy ID



302838


Article URL http://www.symantec.com/docs/TECH59599


Terms of use for this information are found in Legal Notices