[Samba] Automated samba online backup.
abartlet at samba.org
Fri Mar 19 19:57:57 UTC 2021
On Fri, 2021-03-19 at 18:48 +0000, Rowland penny via samba wrote:
> On 19/03/2021 18:27, Andrew Bartlett via samba wrote:
> > I would strongly recommend against this 'solution'. Unless you
> > lock
> > the Samba DB during the backup, you cannot know that the DB is in a
> > consistent state to take the backup.
> > The same concerns expressed for PostgreSQL apply to Samba:
> > https://www.postgresql.org/docs/9.1/backup-file.html
> > Andrew Bartlett
> I am not entirely sure what the difference is between 'samba-tool
> backup online' and 'samba-tool domain backup offline', apart from
> first works and the second doesn't (until the fix going through
> now is added) 😁
> the online version does work, you just have to use kerberos and add
The online backup makes RPC calls just like joining a new domain
controller over the network, the offline backup takes locks on the
database files and copies them at the tdb or mdb level.
If there are any more combinations that don't 'just work' please file
bugs with clear directions to reproduce or point me at them, Joseph is
making very good progress on some of the issues here so it would be
good to knock them all off at once.
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