[Samba] How to make an unattended backup

Rowland penny rpenny at samba.org
Wed Sep 11 18:43:06 UTC 2019

On 11/09/2019 19:36, Andrew Bartlett via samba wrote:
> On Wed, 2019-09-11 at 15:14 -0300, Sergio Belkin via samba wrote:
>> 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?
> The offline backup can be done unattended.
> It may also be possible to to the online backup unattended using the
> DC's own password using --machine-pass, but I've not tried that yet
> (sorry).
> Andrew Bartlett
I have, it doesn't work ;-)


More information about the samba mailing list