Simple Windows file replication?

Status
Not open for further replies.
Long story short: I have a server with files on it that need to be very frequently (at least every 15-30 minutes), if not continuously, replicated to an identical server at a DR site. If a new file is saved to server A, it needs to be replicated to server B; if the file is deleted from server A, it also needs to be deleted from B. There are no clients who would connect directly to either server, so I don't need to worry about namespaces. My gut reaction is to use DFS file replication, but is there something simpler/better/more efficient? (I was contemplating getting rsync involved, but is DFS as bad as I think it is?)
 

gusgizmo

Ars Praefectus
3,057
Subscriptor
Robocopy or DFS. If you are on server 2012, DFSR is a solid choice in my eyes, since it will de-duplicate data and send differentials with potentially huge bandwidth savings. With 2008 it's marginally better than Robocopy for some use cases.

Main things you need to know if you haven't broken in a DFSR system before-- above all keep solid backups. Learn the command line tools for DFS status and health. Be patient as configuration changes propagate via AD. Deleting and recreating a group is always a bad idea.
 
[url=http:/civis/viewtopic.php?p=28675007#p28675007:3a0ua2ie said:
gusgizmo[/url]":3a0ua2ie]Main things you need to know if you haven't broken in a DFSR system before-- above all keep solid backups.

Well...part of the idea for having two boxes with replication is specifically to avoid having to run backups. The use case is for video files; we're at 10TB and growing, and it's getting expensive to keep it on the SAN and back it up. The proposal is to have all of the files write to one box, then replicate them over to the "backup" server for DR purposes. Users never manipulate the files directly, so minimal worries about accidental deletion. But if DFS-R is finnicky, ugh.
 

afidel

Ars Legatus Legionis
18,433
Subscriptor
[url=http:/civis/viewtopic.php?p=28676231#p28676231:6cx5i6qj said:
DrWebster[/url]":6cx5i6qj]
[url=http:/civis/viewtopic.php?p=28675007#p28675007:6cx5i6qj said:
gusgizmo[/url]":6cx5i6qj]Main things you need to know if you haven't broken in a DFSR system before-- above all keep solid backups.

Well...part of the idea for having two boxes with replication is specifically to avoid having to run backups. The use case is for video files; we're at 10TB and growing, and it's getting expensive to keep it on the SAN and back it up. The proposal is to have all of the files write to one box, then replicate them over to the "backup" server for DR purposes. Users never manipulate the files directly, so minimal worries about accidental deletion. But if DFS-R is finnicky, ugh.
Replication is NOT a backup, any fat finger, intentional delete, software bug, corruption, etc that happens at the source side can and most likely will corrupt the replication target. 10TB is chump change by todays standards, it almost fits on one HDD and will only take 4 LTO6 tapes to store (would be two but you're dealing with mostly incompressible data)
 

ImRaptor

Ars Scholae Palatinae
830
[url=http:/civis/viewtopic.php?p=28676231#p28676231:2tfsudzw said:
DrWebster[/url]":2tfsudzw]

Well...part of the idea for having two boxes with replication is specifically to avoid having to run backups.
This and

this
if the file is deleted from server A, it also needs to be deleted from B.

don't work together.
Replication is absolutely not backup. Replication is a high availability mechanism.
 
[url=http:/civis/viewtopic.php?p=28692277#p28692277:6hb37sqn said:
ImRaptor[/url]":6hb37sqn]
[url=http:/civis/viewtopic.php?p=28676231#p28676231:6hb37sqn said:
DrWebster[/url]":6hb37sqn]

Well...part of the idea for having two boxes with replication is specifically to avoid having to run backups.
This and

this
if the file is deleted from server A, it also needs to be deleted from B.

don't work together.
Replication is absolutely not backup. Replication is a high availability mechanism.

I should have clarified:

Right now we're at 1 server + backup. Backup is to cover if server blows up. No users touch files, no risk of accidental deletion. The end goal is to simply cover if server blows up, have another up-to-date copy of the data.

That said, I may have an ace up my sleeve -- seems like I might just be able to run two independent servers, with the files being written to both concurrently, no need for replication.
 

ImRaptor

Ars Scholae Palatinae
830
[url=http:/civis/viewtopic.php?p=28692769#p28692769:142qaih8 said:
DrWebster[/url]":142qaih8]

That said, I may have an ace up my sleeve -- seems like I might just be able to run two independent servers, with the files being written to both concurrently, no need for replication.

That sounds like a cluster without a quorum. In that scenario, what happens when the data differs on the two units? What decides which unit wins?


If you are after high availability DFS-R works great with proper configuration.
 
Status
Not open for further replies.