How to Check DFS replication state
- Last updated: Dec 30, 2020
- OS : Windows 2012R2, 2016, 2019
From Windows server, it's not that simple to check DFS replication state. I don't think we can see it from a graphical window. So after some researches I found that we can have some informations from the command line.
- /SMem : The DNS name of the sender.
- /RMem : The DNS name of the receiver.
- /RGName : Replication group name.
- /RFName : Replication folder name.
- To make it clearer, the correspondence between the dfs manager and the options :
- Know number of files to replicate from SRV01 to SRV02
C:\Users\Administrator> dfsrdiag backlog /SMem:SRV01 /RGName:Rep_Folder /RFName:share /RMem:SRV02
- Print current updates for a specific server :
C:\Users\Administrator> dfsrdiag replicationstate /Mem:srv01
- Print current updates for all servers :
C:\Users\Administrator> dfsrdiag replicationstate /all