[Samba] Automated samba online backup.
abartlet at samba.org
Fri Mar 19 18:10:04 UTC 2021
On Thu, 2020-04-30 at 10:27 -0300, Daniel Lopes de Carvalho via samba
> I'm looking for a way to automate samba online backup with cron and
> asking admin password. I wish to have a daily backup from my AD.
> Is there a way to exec samba-tool domain backup without password or
> do I
> need to have a export a admin keytab or something like that.
(sorry for the late reply)
In theory a keytab might work, and from there something that refreshes
a credentials cache, but that is as sensitive as a password anyway.
An offline backup is what you want in cron, and we are currently
tidying up some of the rough edges on that. If you see any issues
using the offline backup in your situation please file a bug. We are
fixing the incompatibility with BIND9_DLZ.
I hope this clarifies things,
Andrew Bartlett (he/him) https://samba.org/~abartlet/
Samba Team Member (since 2001) https://samba.org
Samba Team Lead, Catalyst IT https://catalyst.net.nz/services/samba
Samba Development and Support, Catalyst IT - Expert Open Source
More information about the samba