Monday, June 8, 2015

Restoring DFSR (Distributed File System Replication) Data with Backup Exec

Problem

Restoring Distributed File System Replication (DFSR) Data with Backup Exec

Solution


 
In Backup Exec 11d and above, Windows 2003 R2 DFSR data is protected by using  the Microsoft DFS Replication Service Writer. For configurations that use DFSR, you can protect the replicated data by running a Shadow Copy Components Distributed File System Replication backup of the replicated data on any server that is hosting the replicated data. DFSR information is backed up and restored by selecting Shadow Components - User Data - Distributed File System Replication selections.
 


Figure 1- Backup
 

Figure 2- Restore
 



By default DFSR data is restored back to the original location assuming the DFSR "Replicated Folder" was not removed from the DFS Management Console or DFSR information was not removed from Active Directory.
With the Default Restore options checked, the DFSR data will be restored back to the "replicated folder" Preexisting folder (\DfsrPrivate\Preexisting). This will prevent the data being restored from unintentionally being replicated out to other members of the DFSR replication group.

After DFSR data is restored a DFS Replication Event will inform you to move the data from the DfsrPrivate\Preexisting folder to the replicated folder if replication to other DFSR replication members is desired.


DFS Replication Events after a restore:


Event Type: Information
Event Source: DFSR
Event Category: None
Event ID: 4104
Date: 6/17/2008
Time: 9:17:44 AM
User: N/A
Computer: CORP-FS
Description:
The DFS Replication service successfully finished initial replication on the replicated folder at local path D:\corp\home\users.

Any local pre-existing content in this replicated folder that did not exist on the primary member for Users_Home has been moved to the hidden system folder DfsrPrivate\Preexisting under the replicated folder root.

Content in the DfsrPrivate\Preexisting folder will not be replicated to other members of the replication group, and will not be deleted by the DFS Replication service during any automatic clean-up. If you would like this content to be replicated to other members, please move the content into the replicated folder outside the DfsrPrivate folder.

Replicated Folder Name: Users_Home



 
If it is desired for the DFSR data to be restored back to the original "replicated folder" and not to DfsrPrivate\Preexisting folder then an authoritative DFSR restore must be performed.
 

In the restore job properties under Advanced Setting check the box "Mark this server as primary arbitrator for replication when restoring folders managed by the File Replication Service or when restoring SYSVOL in system state".

 
This authoritative restore will restore the data back to the original "replicated folder" and replicate this restored data out to other DFSR replication members.  A series of DFS Replication Events will occur on the server where the restore is being performed and DFSR replication member servers.
 

DFS Replication events (Target server):

Event Type: Information
Event Source: DFSR
Event Category: None
Event ID: 4106
Date: 6/17/2008
Time: 11:58:13 AM
User: N/A
Computer: CORP-FS
Description:
The DFS Replication service detected that an authoritative restore was performed on the replicated folder at local path D:\corp\home\users and is processing the restore. Replication has been paused until the restore completes.

Additional Information:
Replicated Folder Name: Users_Home
Replicated Folder ID: 5A11FE16-B411-47FD-B2F5-91F061112147
Replication Group Name: CorpReplicationGroup
Replication Group ID: CC316971-DD82-4D98-BD6C-92FE1BC3FB3B
Member ID: 3906ACAA-7E8F-47A0-B3AF-17C5DB5E1345

-------------------------------------------------------------------------------------------------------------------------------

Event Type: Information
Event Source: DFSR
Event Category: None
Event ID: 4108
Date: 6/17/2008
Time: 11:58:13 AM
User: N/A
Computer: CORP-FS
Description:
The DFS Replication service successfully processed an authoritative restore for the replicated folder at local path D:\corp\home\users.

Additional Information:
Replicated Folder Name: Users_Home
Replicated Folder ID: 5A11FE16-B411-47FD-B2F5-91F061112147
Replication Group Name: CorpReplicationGroup
Replication Group ID: CC316971-DD82-4D98-BD6C-92FE1BC3FB3B
Member ID: 3906ACAA-7E8F-47A0-B3AF-17C5DB5E1345

-------------------------------------------------------------------------------------------------------------------------------


 
If an authoritative restore is performed DFSR will determine if the data being restore will replicate out and overwrite existing files on DFSR replication members through a (winning/losing) conflict resolution process.
 

The losing file or file version will be moved to the DfsrPrivate\ConflictAndDeleted folder.



DFS Replication Events (Replication Members)


Event Type: Information
Event Source: DFSR
Event Category: None
Event ID: 4412
Date: 6/17/2008
Time: 12:05:04 PM
User: N/A
Computer: BRANCH-FS
Description:
The DFS Replication service detected that a file was changed on multiple servers. A conflict resolution algorithm was used to determine the winning file. The losing file was moved to the Conflict and Deleted folder.

Additional Information:
Original File Path: D:\Users_Home\DOCS
New Name in Conflict Folder: DOCS-{0C9542D1-F31D-49D8-B57E-9247A4E862DA}-v1153
Replicated Folder Root: D:\Users_Home\DOCS
File ID: {0C9542D1-F31D-49D8-B57E-9247A4E862DA}-v241
Replicated Folder Name: D:\Users_Home
Replicated Folder ID: 5A11FE16-B411-47FD-B2F5-91F061112147
Replication Group Name: CorpReplicationGroup
Replication Group ID: CC316971-DD82-4D98-BD6C-92FE1BC3FB3B
Member ID: 3D394569-C7EF-4EF5-AE45-4D9CE5F48AA0





DFSR Redirection:

In Backup Exec 11d it is NOT possible to redirect DFS backup sets to alternate replication folders, files systems, or servers.
If the DFS replicated folders were removed from Active Directory or DFS Management then an System State restore will need to be performed on the Domain Controller to restore the DFS information back into Active Directory.  See related documents.

In Backup Exec 12 and above, DFSR Redirection is possible, BUT only to a file system on a server with an active DFSR writer.  Previous DFSR backup sets from Backup Exec 11d and current backup sets from Backup Exec 12 and above can be redirected to a drive/folder and then moved to DFS "replication folders" if desired. The original DFSR structure does not have to exist to redirect restore DFSR backups sets to a file system.

No comments:

Post a Comment