add ltdbtool - a standalone ltdb tool
authorGregor Beck <gbeck@sernet.de>
Thu, 14 Apr 2011 10:51:59 +0000 (12:51 +0200)
committerMichael Adam <obnox@samba.org>
Wed, 4 May 2011 10:48:50 +0000 (12:48 +0200)
commitefcf2815711cd5371633614fb91273bd0a786da0
treefa33ea84604dacf62cffbb181d9d43d1578fae71
parent2b5cb0841fd813cd54be170c305a828885e0f038
add ltdbtool - a standalone ltdb tool

This this is a tool to handle (dump and convert) ctdb's local tdb
copies (ltdbs) without connecting to a ctdb daemon.

It can be used to

* dump the contents of a ltdb, printing
  the ctdb record header information

* dump a non-clustered tdb database (like tdbdump)

* convert between an ltdb and a non-clustered tdb
  (adding or removing ctdb headers)

* convert between 64 and 32 bit ltdbs
  (the ctdb record headers differ by 4 bytes of padding)

usage: bin/ltdbtool dump [-p] [-s{0|32|64}] <idb>
       bin/ltdbtool convert [-s{0|32|64}] [-o{0|32|64}] <idb> <odb>

Pair-Programmed-With: Michael Adam <obnox@samba.org>
Makefile.in
tools/ltdbtool.c [new file with mode: 0644]