make tdbbackup use transactions
authorAndrew Tridgell <tridge@samba.org>
Tue, 16 Dec 2008 03:36:56 +0000 (14:36 +1100)
committerAndrew Tridgell <tridge@samba.org>
Tue, 16 Dec 2008 03:36:56 +0000 (14:36 +1100)
commit2e4247782bd5812bc8e7ea24194c8436748bb2fa
treea063d38c805dde2840ab028d73045fbe4d9fcd6e
parentf448fde4e35e56508ad93be8de9f60d88e8b8dcd
make tdbbackup use transactions

tdbbackup was originally written before we had transactions, and it
attempted to use its own fsync() calls to make it safe. Now that we
have transactions we can do it in a much safer (and faster!) fashion
lib/tdb/tools/tdbbackup.c