question

NisamAli-1651 avatar image
0 Votes"
NisamAli-1651 asked ·

How to resume DFS replication with existing data ?

Dear Team,

I have two file servers, Server A and Server B. Both servers are in different locations.
We used DFS for syncing the folder/files from server A to B and B to A.
It was working fine for the past 4 years, suddenly in server A, DFS DB got corrupted.

I have deleted all the DFS replication members and groups and reset DFS Sys Volume folder.

Now I need to sync the existing folders & files. The folder is in big size (420GB).

Site A and Site B have the same folder but Site A & B had some changes after the DB corruption.
Let’s say Site A have 420GB of data and site B have 419.5GB of data.

I am confused, how I will start the replication again. If I create a new group b/w site A and B then how it will react? I don’t want an initial synchronization because of the data size and internet bandwidth.

When I search I saw some pre-seed technique, I don’t know how it will work with my case.
How to solve this without initial sync? Please advise.


Server OS : Windows Server 2012 R2 Standard
Data directory: D:\DATA

windows-server-2012
· 2
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello @Quantum2021-0808,
How are things going on your end? Please keep me posted on this issue.
If you have any further questions or concerns about this question, please let us know.
I appreciate your time and efforts.

Best Regards,
Daisy Zhou

0 Votes 0 ·

Hello,

I am checking how the issue is going, if you still have any questions, please feel free to contact us.

Thank you so much for your time and support.

Best regards,
Hannah Xiong

0 Votes 0 ·

1 Answer

DaisyZhou-MSFT avatar image
0 Votes"
DaisyZhou-MSFT answered ·

Hello @Quantum2021-0808,

Thank you for posting here.

Here is the suggestion.

If server A's data partition is fixed or if you change a new server A. We can copy all the data from server B to server A using robocopy or xcopy at your convenience or during downtime.

Then remove the member of server A and recreate member of server A in DFS managemment.

So all the new data on server A will be replicated to server B from server A.

So all the new data on server B will be replicated to server A from server B.


References:

robocopy
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/robocopy

xcopy
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/xcopy

DFS Replication Initial Sync in Windows Server 2012 R2: Attack of the Clones
https://techcommunity.microsoft.com/t5/storage-at-microsoft/dfs-replication-initial-sync-in-windows-server-2012-r2-attack-of/ba-p/424877

DFS Replication: Copying Files to Preseed or Stage Initial Synchronization
https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-r2-and-2012/dn495052(v=ws.11)


Hope the information above is helpful.

Should you have any question or concern, please feel free to let us know.

Tip: It is best to simulate the current scenario in the test environment, first use this method above in the test environment, if everything is OK, use this method in the production environment if possible and needed.



Best Regards,
Daisy Zhou

· 1 ·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello @DaisyZhou-MSFT

Sorry for the late reply, Can you please explain more? I did not understand fully.

You mean, if server A's data partition is fixed then We can copy all the data( or changes from B> A) from server B to server A using robocopy or xcopy . right? after that what is next? please advice.


Thanks & Regards.

Nisam

0 Votes 0 ·