add ltdbtool - a standalone ltdb tool
authorGregor Beck <gbeck@sernet.de>
Thu, 14 Apr 2011 10:51:59 +0000 (12:51 +0200)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Thu, 12 May 2011 08:55:52 +0000 (18:55 +1000)
commitcc95efaf132225b466fc01d7b732fee3aa8a6d46
treeb6c1a05207ad0690cb338ed00289a102f830a029
parent348ea1d93a261e6d5e26790bdd599e20c98ab333
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]