[Samba] How to make an unattended backup

Sergio Belkin sebelk at gmail.com
Wed Sep 11 18:14:13 UTC 2019


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

More information about the samba mailing list