[Samba] sambatool online backups

Andrew Bartlett abartlet at samba.org
Tue Nov 2 19:27:23 UTC 2021

On Tue, 2021-11-02 at 12:00 -0700, Matt Ivie via samba wrote:
> The solution given in those threads was to do an offline backup using
> samba 4.10. I will likely upgrade to samba 4.10 at some point in the
> future but not at the moment. My question is whether anyone has come
> up
> with a way to resolve this issue, or if there is a different way I
> can
> backup.

I would *incredibly strongly* recommend an upgrade to a currently
supported version.

> Shouldn't I be able to shut down my samba service and make a full
> backup of the /var/run/samba directory?

Yes, you can do that but you can't restore from it unless you have
killed every other DC on the network first.

The backup tool is designed to get this process right and to automate

Andrew Bartlett

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 mailing list