Re: What is exactly needed to backup a Samba domain

Rowland Penny via samba <[email protected]> Mon, 13 Apr 2026 20:32:38 +0100
Newsgroups gmane.network.samba.general
Message-ID <[email protected]>
On Mon, 13 Apr 2026 21:09:04 +0200
Peter Milesson via samba <[email protected]> wrote:

> 
> 
> On 13.04.2026 20:58, Rowland Penny via samba wrote:
> > On Mon, 13 Apr 2026 20:02:19 +0200
> > Peter Milesson via samba <[email protected]> wrote:
> >
> >> Hi folks,
> >>
> >> What exactly do I need to backup to be able to make a fully working
> >> restore of a Samba AD domain?
> >>
> >> Using "samba-tool domain backup online" is self evident.
> >> But should I also back up the sysvol directory separately, or is
> >> that included in the online backup?
> >> Anything else to backup?
> >>
> >> Best regards,
> >>
> >> Peter
> >>
> >>
> > 'samba-tool domain backup online' backs up the AD domain and sysvol,
> > you then use 'samba-tool domain backup restore' to create a new
> > domain. It does not backup an individual DC, you end up with the
> > first DC in the domain.
> >
> > Rowland
> >
> Thanks Rowland,
> 
> Are user and machine passwords retained in the online backup? Or
> should I schedule offline backups to retain those?

The user passwords are stored in AD, so yes they are retained and as a
computer is just a user with an extra objectclass, I will let you guess
where the machine passwords are stored.

Rowland

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba