DFS Replication - Add but do not delete

Hi All,

We have a master DFS 2008 server and a replica. I'd like to add a third DFS server and configure it's replica as a sort of "running total" server, where new files are replicated, but deleted files are not removed.

Is this possible?

Thank you.
Who is Participating?
Leon FesterConnect With a Mentor Senior Solutions ArchitectCommented:
Robocopy is a valid option, but there is a scenario where the file deletion happens between the intervals that robocopy checks for file changes so files could be added and then deleted before the robocopy process re-starts.

It is important to remember that while we could answer the question correctly, you could be asking the wrong question.

It could be that you are using the wrong tool for whatever it is that you want to achieve.

What is the goal here?
Do you want to keep files so that you can restore them quickly in case of accidental deletion?
Do you need it for auditing purposes?

Auditing of DFS shares can be done and will show you who delete what files and when.

DFS supports Volume Shadow copy so you can restore files easily using the "Previous Version Client"
Leon FesterSenior Solutions ArchitectCommented:
You can setup read-only replication folders:

Another possibility is one-way replication but this is not supported by Microsoft Support services. So I wouldn't recommend it for a production implementation although it does have uses in data collection projects.
CUSD200Author Commented:
Thanks for your reply, I've researched read-only replication but it doesn't really apply to this scenario. I simply want to make sure deletions do not get replicated from master to backup replica.

Anyone else? In the meantime I'll look into one-way replication.

Thank you again.
DFS replication can't do it, because it will delete files that have been deleted. You can use robocopy to copy all of the files to a third site. The question is do files get edited. If they do, you need to think carefully about what happens when a file gets replaced by a newer version.

I use robocopy scripts to make copies of some critical documents which never get edited, though new ones get added, and sometimes they also get deleted. My backup copy has every file that ever existed at the source whenever the script is run. I may have 'extra' files that have been deleted at the source, but I am never missing a file.

robocopy \\sourceserver\sourceshare \\destinationserver\destinationshare /e
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.