[Samba] rsync'ing samba shares
ned at redmonkeysoftware.com
Wed Feb 13 16:49:34 MST 2013
I have a slightly similar setup with a primary / slave samba server on
site, using DRBD for the data replication. And I nightly rsync the
directories to a third samba server offsite. I also then rsync that third
system with a backup server running ZFS on linux and then take a snapshot.
I would be using rsync with the a option or at least look into what the a
option implies. I would also be checking the permissions on the parent
directories, that caught me out once.
On 13 February 2013 23:35, Gregory Sloop <gregs at sloop.net> wrote:
> I know this has come up a bit in the past, but consider this
> Two Samba4 DC's - and I want to "mirror" the data shares to the
> "backup" DC in case we lose the primary DC and it's file shares.
> [A cheap, dirty, poor-mans semi-CTDB. How did you ever guess that Red
> Green was helping me?!]
> The easiest way is probably rsync'ing the data.
> However, will that include all the ACL's and extra data associated
> with the files. I understand that to a disk on part of the DC, it
> might not. But on the second DC, all the relevant users, AD group etc
> do all exist.
> So, is using rsync in such a situation reasonable/workable, or should
> we use some windows based utility - say robocopy to handle this?
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba
e. ned at redmonkeysoftware.com
t. 0845 867 3849
f. 0845 867 4127
Red Monkey Software | Superior Software Solutions
Red Monkey Software Ltd, 24 The Layne, Elmer Sands, Bognor Regis, West Sussex. PO22 6JL
Registered in England and Wales no 5923420
Registered Office: 20 Springfield Road, Crawley, West Sussex, RH11 8AD
More information about the samba