carta
btt_db2xml(8)

btt_db2xml8

Dump a tracker's infohash data as xml.

Usage

btt_db2xml [--master] /path/to/tracker > tracker-backup.xml

Overview

btt_db2xml will print an XML document to standard output, containing an "Infohash" tag for each infohash encountered in a mod_bt tracker database. This XML document serves as a backup and can be later be read by the btt_xml2db utility to populate a mod_bt tracker.

Switches

--master

Connect to the database as it's master; you should use this option only if no other processes are connected to the database.

--help

Displays brief usage instructions.

Bugs

The path to the tracker must be an absolute path, relative paths are not permitted. This is a limitation of Berkeley DB that will be addressed in a future version.

There's no formal XML schema or DTD for the tracker XML format (yet). It's fairly simple though!

License

Copyright 2006 Tyler "Crackerjack" MacDonald <[email protected]> This is free software; you may use it under the terms of the Apache License 2.0, included with the mod_bt distribution.

From libbttracker-utils 0.0.19+p4.2296-1 in Debian 4.0 (Etch). Parsed by carta from the page's man source.