r23981: Make tdb_validate_and_backup try harder to end up with a valid tdb:
authorMichael Adam <obnox@samba.org>
Fri, 20 Jul 2007 16:39:42 +0000 (16:39 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:28:52 +0000 (12:28 -0500)
commitf81f2bf480a955213be8461636ee6f81643f17b8
tree0122c1eb2966e717df3851998843f49a576cc34c
parentde0ef9134650e3e7cc5b5cfec9e8dd8510bd6677
r23981: Make tdb_validate_and_backup try harder to end up with a valid tdb:

If restoring a backup fails due to lack of space, remove the
corrupt tdb previously moved away to "name.corrupt", and retry.
If restoring still fails, move the backup in place instead of
copying it.

Michael
source/lib/util_tdb.c