[Samba] samba4 PDC to BDC file replication

Jeremy Allison jra at samba.org
Fri Mar 1 11:25:39 MST 2013


On Thu, Feb 28, 2013 at 09:13:39PM -0800, Gregory Sloop wrote:
> 
> I'm in the same boat, and I'm only aware of two possibilities.
> 
> 1) Robocopy - using a Windows client.
>    BUT Robocopy doesn't do file deltas - changed files are copied in
>    their entirety. Which isn't a problem if you don't have large
>    files. But if you've got a 10G file that changes often, then this
>    probably isn't the best alternative.
> 
> 2) http://www.bvckup.com/support/ [Bvckup]
>    This also appears to be a Windows utility, but does handle file
>    delta's. I have never used this tool and so can't vouch for it in any
>    way.
> 
> If you find a functional solution, that preferably can be used on the
> two Linux/Samba boxes to do file-deltas and still maintain the
> permissions - that would be best.
> 
> One other option that might work:
> Rsync the data, and use robocopy to simply duplicate the permissions
> structure. [I believe this is possible.]

rsync using -A (preserve ACLs) and -X (preserve extended attributes)
and -o (preserve owner (super-user only)) and -g (preserve group)
should copy thing perfectly.


More information about the samba mailing list