Repair option 1
If you back up the data regularly, you may be able to restore the
data from the most
recent backup.
Note If you restore data to a volume that hosts a DFSR
content
set by
restoring the whole volume, all DFSR replicas will be synchronized in a nonauthoritative
manner.
Repair option 2
If you configured a replication member to replicate on an
infrequent schedule, you may
be able to restore data from a
site on
which the replication has
not occurred. Then, you can use the
Fence method of the
DfsrReplicatedFolderInfo Windows Management Instrumentation (WMI) class to reset the fence
value of the replicated folder.
To do this, follow these steps:
- Start the DFS Management (Dfsmgmt.msc) snap-in.
- On the Connections tab, right-click each
replication connection, and then click Disable. This stops
replication on the replicated folders.
- Back up the files in the replicated folder on the server
that was
not replicated and that hosts a correct replica of data.
- Reset the fence value of the files and folders in the
replicated folder. To do these, follow these steps:
- Query for the GUID of the replicated folder. To do
this, open a command prompt, type or paste the following command, and then
press ENTER:
dfsradmin rf list /rgname:<Replication Group Name> /attr:rfguid
Note The <Replication Group
Name> placeholder represents the actual name of your replication
group. - Note the GUID in the command output.
- At the command prompt, type or paste the following
command, and then press ENTER:
wmic /namespace:\\root\microsoftdfs path dfsrreplicatedfolderinfo.ReplicatedFolderGuid='<Replicated Group GUID>' call fence mode=2 isrecursive=true filepath='<Replicate Folder Path>'
Note The <Replicated Group GUID> placeholder represents
the GUID that you noted in step 4a. The <Replicate Folder Path> placeholder represents
the path of the replicated folder.
- Enable replication on the replicated group. To do this, on
the Connections tab, right-click each replication connection
that you disabled in step 2, and then click Enable.