Web lists-archives.com

Re: [Samba] Sync sysvol




I use Unison (http://www.cis.upenn.edu/~bcpierce/unison/) over ssh (with
keys) which is available in the default Ubuntu repositories.  There is a
caveat though.  Unison doesn't sync extended file attributes, so you need
to use rsync to do the actual copying of files to get the extended file
attributes to sync.  Also, if you only change the attributes without
actually changing the files, Unison will not "see" the change, and so won't
initiate rsync to copy it.  You can have Unison use rsync for the syncing
of files with profile options similar to:

copyprog = rsync --archive --acls --xattrs --inplace --compress
copyprogrest = rsync --archive --acls --xattrs --inplace --compress
--partial

Hope that helps,

Mike E.


On Tue, Jan 15, 2019 at 5:27 PM Gregory Sloop via samba <
samba@xxxxxxxxxxxxxxx> wrote:

> What's the current wisdom on sync of sysvol to other (samba) DC's?
>
> [I should probably search, but I don't recall seeing discussion on sysvol
> sync details hit the list recently.]
>
> A quick search dud turn up this wiki article - is that current
> best-practice?
> https://wiki.samba.org/index.php/Rsync_based_SysVol_replication_workaround
>
> I'm running the Ubuntu 18.04 packaged Samba 4.7.6, IIRC. [And yes, I'm
> aware of Louis' packages - but at least for now I want to stay on an
> officially supported distro version.]
>
> Is there anything about Samba versions that impacts sysvol syncs and the
> info in the wiki?
>
> [Essentially I plan to have the main DC have the master sysvol and will
> sync everything one-way to the "secondary" DC's.]
>
> TIA
> -Greg
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba


On Tue, Jan 15, 2019 at 5:27 PM Gregory Sloop via samba <
samba@xxxxxxxxxxxxxxx> wrote:

> What's the current wisdom on sync of sysvol to other (samba) DC's?
>
> [I should probably search, but I don't recall seeing discussion on sysvol
> sync details hit the list recently.]
>
> A quick search dud turn up this wiki article - is that current
> best-practice?
> https://wiki.samba.org/index.php/Rsync_based_SysVol_replication_workaround
>
> I'm running the Ubuntu 18.04 packaged Samba 4.7.6, IIRC. [And yes, I'm
> aware of Louis' packages - but at least for now I want to stay on an
> officially supported distro version.]
>
> Is there anything about Samba versions that impacts sysvol syncs and the
> info in the wiki?
>
> [Essentially I plan to have the main DC have the master sysvol and will
> sync everything one-way to the "secondary" DC's.]
>
> TIA
> -Greg
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba