[Samba] Backup

Aaron E. ssureshot at gmail.com
Wed May 16 12:37:31 MDT 2012

On 05/16/2012 11:19 AM, Jorell wrote:
> 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.

This is an item I would have been smarter for having known 3 weeks ago 
lol.. Thanks for the tip.. I never would have thought to look at the 
upgrade provision script for this ..

More information about the samba mailing list