Re: What is exactly needed to backup a Samba domain

Peter Milesson via samba <[email protected]> Tue, 14 Apr 2026 04:52:53 +0200
Newsgroups gmane.network.samba.general
Organization Jaroslav Cankaƙ a syn ATMOS
Message-ID <[email protected]>
Hi Rowland,

Thanks a lot for the reassurance.

Best regards,

Peter

On 13.04.2026 21:32, Rowland Penny via samba wrote:
> 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