[Samba] How to make an unattended backup

Sergio Belkin sebelk at gmail.com
Wed Sep 11 18:35:24 UTC 2019


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

-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org


More information about the samba mailing list