[Samba] How to make an unattended backup
abartlet at samba.org
Wed Sep 11 18:36:48 UTC 2019
On Wed, 2019-09-11 at 15:14 -0300, Sergio Belkin via samba wrote:
> 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
Andrew Bartlett http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
Samba Developer, Catalyst IT http://catalyst.net.nz/services/samba
More information about the samba