[PATCH] [WIP] AD DC backup and restore tool

Andrew Bartlett abartlet at samba.org
Wed May 16 10:00:17 UTC 2018


On Wed, 2018-05-16 at 10:53 +0100, Rowland Penny wrote:
> > 
> > Running tdbbackup -r won't change a shell script into one that locks
> > the whole DB.  This is because a transaction lock (or at least a
> > global read lock) needs to be taken out correctly over the DB while
> > the databases are being copied.
> 
> I think what you are trying to point out here is, even with 'tdbbackup
> -r', you only get a lock on the file being backed up, but the others
> could change whilst the file is backed up.

Yes.  The -r thing is just to have tdbbackup use a read lock that is
compatible with the overall transaction lock so both can co-exist and
the backup proceed. 

I trust this clarifies things,

Andrew Bartlett

-- 
Andrew Bartlett                       http://samba.org/~abartlet/
Authentication Developer, Samba Team  http://samba.org
Samba Developer, Catalyst IT          http://catalyst.net.nz/services/samba




More information about the samba-technical mailing list