Displaying 4 results from an estimated 4 matches for "offline_tdb_copy".
2019 Nov 13
2
"samba-tool backup offline" stuck
On 2019-11-13 09:30, Andrew Bartlett wrote:
> Regarding your problem, on linux I use lslocks to debug from here, you
> can normally work out which process is holding the lock, which lock it
> is waiting on (if any, marked with a *) and gdb that to work out what
> is the matter with it, and perhaps why it is in that situation.
Hmm...
I have no lslocks on FreeBSD; will lsof do?
In
2019 Nov 21
0
"samba-tool backup offline" stuck
..._dir, lp, logger):
>         secrets_path = os.path.join(private_dir, 'secrets')
>         secrets_obj = Ldb(secrets_path + '.ldb', lp=lp)
>         logger.info('Starting transaction on ' + secrets_path)
>         secrets_obj.transaction_start()
>         self.offline_tdb_copy(secrets_path + '.ldb')
>         self.offline_tdb_copy(secrets_path + '.tdb')
>         secrets_obj.transaction_cancel()
Could the problem be here?
I'm not attempting to alter this, before understanding it fully, though.
  bye & Thanks
	av.
2019 Nov 21
1
"samba-tool backup offline" stuck
...gt;         secrets_path = os.path.join(private_dir, 'secrets')
> >         secrets_obj = Ldb(secrets_path + '.ldb', lp=lp)
> >         logger.info('Starting transaction on ' + secrets_path)
> >         secrets_obj.transaction_start()
> >         self.offline_tdb_copy(secrets_path + '.ldb')
> >         self.offline_tdb_copy(secrets_path + '.tdb')
> >         secrets_obj.transaction_cancel()
> 
> Could the problem be here?
> I'm not attempting to alter this, before understanding it fully, though.
Is tdbbackup the one prov...
2020 Jul 23
3
samba-tool domain backup offline stalls
On Thu, July 23, 2020 15:56, Andrew Bartlett  wrote:
>
> Clearly there is, as otherwise we could not be in waitpid on it.
> The process is not a python process, it will be tdbbackup.  The
> command line arguments to that process will be instructive.
Here it is:
root 36800  0.8  0.0  12556  2788  1  SJ   16:49   0:00.01
/usr/local/bin/tdbbackup -s .copy.tdb