[Samba] Sysvol replication between DC

Rowland penny rpenny at samba.org
Fri Aug 16 14:53:38 UTC 2019


On 16/08/2019 15:41, Marcio Demetrio Bacci via samba wrote:
> Hi,
>
> I have opted to replicate Sysvol with a simple script, as follows:
>
> rsync ---dry-run -XAavz --delete-after -e 'ssh -p 25000'
> /var/lib/samba/sysvol/empresa.com.br/* root at samba4-dc2
> :/var/lib/samba/sysvol/empresa.com.br
>
> Is there a problem doing this way?
>
One, possibly two ;-)

It wont actually do anything because of '--dry-run' and you will also 
have to sync 'idmap.ldb' between DCs

Rowland




More information about the samba mailing list