question

GloriaGu-MSFT avatar image
0 Votes"
GloriaGu-MSFT asked XiaoweiHe-MSFT answered

DFS-R configure to restore deleted files on data-center server

I have a data-center server and one member server running DFS-R. I know it is not recommended/supported by Microsoft support services but I would like to achieve the following nevertheless.

Current configuration: If an end user deletes a file on the data-center server DFS-R deletes the file on the member server. Is it possible to maintain replication but only to replicate additions or changes to files but not deletions on the data-center server?

This would enable me to copy an accidentally deleted file on the data-center server from the member server.

FYI - I can't configure read-only folders on the data-center server because I need to allow the end-users to delete files.

Thread source link: https://social.technet.microsoft.com/Forums/windowsserver/en-US/41091605-1edf-4c81-93e4-f060690b284f/dfsr-configure-to-restore-deleted-files-on-datacenter-server?forum=winserverfiles%27

windows-server-storage
5 |1600 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.

1 Answer

XiaoweiHe-MSFT avatar image
0 Votes"
XiaoweiHe-MSFT answered

Hi,

I'm afraid for general normal dfs replication work mechanism, we couldn't do this operation.  DFSR uses the update sequence number (USN) journal to detects changes on the volume, and then dfsr replicates the changes only after the file is closed.

If the latest operation is delate operation. This should be logged in USN journal. And after you close this file. The change should be synced to other dfs replication members.

Sometimes, multiple users do the operation for the same files. And the new change may not be logged and another new change is doing. Then there's the conflict files/folder. And will be moved to this folder. For how long will this folder kept, based on my knowledge, generally it will be cleared automatically when it arrive to the set size.

Best Regards,

5 |1600 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.