[Samba] How to make an unattended backup
Andrew Bartlett
abartlet at samba.org
Wed Sep 11 18:57:46 UTC 2019
On Wed, 2019-09-11 at 19:43 +0100, Rowland penny via samba wrote:
> On 11/09/2019 19:36, Andrew Bartlett via samba wrote:
> > On Wed, 2019-09-11 at 15:14 -0300, Sergio Belkin via samba wrote:
> > > 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?
> > 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
> > (sorry).
> >
> > Andrew Bartlett
> >
> I have, it doesn't work ;-)
That's a pity. I do wonder why, because this (and the offline that you
keep on saying prompts for a password) just worked for me in a master
testenv.
Very odd.
Andrew Bartlett
--
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
mailing list