The File Replication Service May Delete Files, What Can I Do

Because NTBackup is failing on that server, I built a DFS to migrate some files to a new server more quickly. However, the event log states it may erase files on the HDD. What?! I've never had DFS remove files before?! What exactly does this mean? If it deletes those files, I'm screwed because I don't have a backup. A user accessing a share on Server1Home isn't supposed to be affected by this.

Best Answered by

Dany· Answered on Jan 12, 2023

Yes, DFS can delete files. When you first configure it, you choose a master, and all files are duplicated to the other server. There is no "master" after the initial replication; it operates on the most recently updated attribute. If you delete a file on one server, it will be replicated on the other to keep both servers' file sets consistent.

That message is simply a standard Windows caution. If you have Folder A on Server 1 (the source) and Folder B on Server 2, this will normally happen (if Server 1 is set as the primary or in an initial mesh setting). Folder A contains all of the files you require. Whatever is in Folder B will most likely be replaced once the contents of Folder A are duplicated into Folder B. Following the first configuration, anything deleted or created from either mesh will be deleted or copied on the other.

To transfer files from one server to another (or from old to new), you can use Microsoft's free File Server Migration Wizard. Here is the quick instruction for the application:

  • Create a "project,"
  • Select the old and new servers and shares
  • Optionally set it up as a DFS Namespace so that the existing mappings continue to operate
  • Then let it copy all the files (and their characteristics and ACLs).

You can do that portion multiple times in multiple passes, so you could start it on a weekday night and let it copy over the weekend, then wait until everything else is done, rerun it and let it copy only new/changed files from the last run, and then the final step, Finalize, is when it takes the old share offline, validates all the permissions and attributes and sets them on the destination accordingly, and then turns on the share on the new server.

If you delete the files mistakenly or if the file is lost due to server errors, you can try EaseUS Data Recovery Wizard for help, which enables you to quickly recover deleted files, even recover files from emptied recycle bin files.

Use EaseUS Data Recovery Wizard to recover deleted or lost files easily and quickly.

Tutorials on how to recover lost, deleted, or formatted data from HDD, SSD, USB, SD card, or other storage media on Windows and Mac.

People Also Ask

How to Delete Files Older Than X days Automatically

Are you tired of useless files on your computer yet eating up space? Then use this simple approach to delete files older than x days using File Explorer, CMD, and PowerShell. We can also assist you in recovering accidentally lost files on Windows 11/10.


Jan 06, 2023

How to Delete Subfolders and Files by GPP

You can overcome this problem by configuring a subfolder item by GPP. Using the GPP options, you can configure a subfolder to a file system object. Before creating a subfolder preference item, you should investigate the behavior of each type of action supported by this extension.


Jan 06, 2023

Lost Files After Moving and Undoing on Windows 8

Lost some files by pressing the Control and Z keys? Don't worry too much! You can recover Ctrl + Z lost files with EaseUS Data Recovery Wizard.


Dec 23, 2022

How to Recover Deleted Items with Windows File Recovery

Some files you cannot recover from the Recycle Bin can be recovered with third-party data recovery software or Windows File Recovery. Keep reading to learn the details.


Jan 03, 2023

How to Recover Files From Windows 10 Through Parallels Desktop on Mac

It is not simple to recover files from a virtual machine on Mac, you can recover all the Mac files, and some Windows files can be recovered with some methods. Keep reading to find the answer.


Dec 26, 2022

How to Delete Files Across a Domain Remotely

You can configure a shortcut item to solve this problem. Using the Shortcut preference settings, you can configure a shortcut to a file system object. Before you build a Shortcut preference item, you should examine the behavior of each sort of action that this extension supports.


Jan 05, 2023