[Samba] Backup

Jorell JorellF at fastmail.net
Wed May 16 09:19:18 MDT 2012


On 5/15/2012 12:36 PM, Aaron E. wrote:
>
> You can copy /usr/local/samba/private and /usr/local/samba/etc
> directories to the new machine with the new samba compiled install.
>
> You will also need to rsync /usr/local/samba/var/locks/sysvol to the new
> machine but you need to do this with ntacl support using rsync I have
> found works as it is provisioned with specific permissions and it's a
> bitch to get them back to normal..
>
> That being said samba ships with a backup script
> /usr/local/src/samba-master/source4/scripting/bin/samba_backup .. you
> can tailor for your environment.. I stopped it from backing up the
> sysvol as it wasn't backing up the ntacls..
>
>
> On 05/15/2012 02:50 PM, sandy.napoles at eccmg.cupet.cu wrote:
>> Hello list, I have to change the PC where run my samba4 as PDC, the cause
>> is that this PC will change all hardware, if i copy the /usr/local/samba
>> to new pc everything work succeful????? or I must make other change?
>> thanks
>>
>>
>
>

upgradeprovision has the option "--fixntacl" 'Only fix NT ACLs in sysvol 
/ netlogon share'.
It has a few other items that might also be of intrest.



More information about the samba mailing list