[Samba] backup AD content

L.P.H. van Belle
2019-08-30T09:18:07Z

Hai Guys,

In addition to Andrews comment.

It might be handy to tell also about the versions..
samba-tool domain backup command as of samba 4.9+  ( except not the offline
command )
samba-tool domain backup offline as of samba 4.10+

That script is not adjusted for that yet but that is coming soon.

Greetz,

Louis


> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces at lists.samba.org] Namens
> Andrew Bartlett via samba
> Verzonden: vrijdag 30 augustus 2019 11:02
> Aan: Stefan G. Weichinger; samba
> Onderwerp: Re: [Samba] backup AD content
>
> On Fri, 2019-08-30 at 10:56 +0200, Stefan G. Weichinger via samba
> wrote:
> > I happily and trustfully use Louis' backup-script from
> >
> > https://github.com/thctlo/samba4
> >
> > to dump AD content via cronjob.
> >
> > Is it necessary/recommended to do that on *each* samba DC? Is there
> > something server-specific in the dump(s) or is it enough to do that
> > once
> > per domain?
>
> I'm very sorry to advise that this script is not race-free in the
> locking done on the AD databases, which is why we have written the
> 'samba-tool domain backup offline' tool which holds the correct
locks.
>
> You should only need to back up the domain on one DC as long
> as you are
> confident the DC is correctly synchronised, including sysvol.
>
> Andrew Bartlett
>
> --
> Andrew Bartlett                       https://samba.org/~abartlet/
> Authentication Developer, Samba Team  https://samba.org
> Samba Developer, Catalyst IT
> https://catalyst.net.nz/services/samba
>
>
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>
>