[Samba] Joining a new Samba AD DC

Rowland Penny rpenny at samba.org
Tue Jul 25 18:38:08 UTC 2023



On 25/07/2023 19:33, Mark Foley via samba wrote:
> On Jul 24 13:30:11 2023 Rowland Penny via samba <samba at lists.samba.org> wrote:
> 
>>> Did you also sync Sysvol ?
>>> On a newly joined DC, there is very little in sysvol, it needs to be
>>> synced from a DC that holds all the GPO's.
>>
>> The wiki says, "You will now need to sync Sysvol to the new DC." I thought then
>> sysvolreset was that. Is there a wiki/howto on how to sync Sysvol?
> 
> To "sync Sysvol to the new DC", can I just rsync from the current DC to the new
> DC?
> 
> rsync -tvr /var/lib/samba/sysvol/ DC1://var/lib/samba/sysvol
> 
> or tar the old sysvol and untar on the new DC?
> 
> sysvol has ACLs and ATTRs that I don't think
>>

There are a few ways of syncing sysvol, see here:

https://wiki.samba.org/index.php/SysVol_replication_(DFS-R)

Rowland




More information about the samba mailing list