[Samba] AD Backup in cron

Andrew Bartlett abartlet at samba.org
Fri Dec 9 07:19:09 UTC 2022

On Wed, 2022-12-07 at 08:43 +0100, Stefan G. Weichinger via samba
> I use Louis' scripts from https://github.com/thctlo/samba4 to backup my 
> DCs per cronjob.
> Can't remember when but I remember someone (Louis himself?) to notice 
> that his backup script wasn't good enough anymore or something.
> The Samba Wiki brings this:
> https://wiki.samba.org/index.php/Back_up_and_Restoring_a_Samba_AD_DC
> So what is the recommended way to automate this?
> Run the command for the online-backup from a script, with the password 
> in the script?
> What is best practice here? Thanks in advance, Stefan

samba-tool domain backup offline should be entirely reasonable to run
from cron.

Andrew Bartlett

Andrew Bartlett (he/him) https://samba.org/~abartlet/
Samba Team Member (since 2001) https://samba.org
Samba Developer, Catalyst IT https://catalyst.net.nz/services/samba

More information about the samba mailing list