[Samba] How to make an unattended backup

Rowland penny rpenny at samba.org
Wed Sep 11 18:41:47 UTC 2019


On 11/09/2019 19:35, Sergio Belkin via samba wrote:
> El mié., 11 sept. 2019 a las 15:14, Sergio Belkin (<sebelk at gmail.com>)
> escribió:
>
>> Hi,
>>
>> I use AptVanBelle repo for samba, is there a way to backup in unattended
>> way (I mean via cron) the DC?
>>
>> If I use
>> samba-tool domain backup online --targetdir=/srv/backup --server=
>> samba4.example.com  -k yes -d1
>>
>> It works, by it ask for password Administrator.
>>
>> What is the best practice to do it?
>>
>> Thanks in advance!
>> --
>> --
>> Sergio Belkin
>> LPIC-2 Certified - http://www.lpi.org
>>
> Shame on me :)
>
> I've found this wonderful thing:
>
> https://github.com/thctlo/samba4/tree/master/backup-script
>
Well, DO NOT use it.

Rowland





More information about the samba mailing list