---
name: "btt_db2xml"
section: "8"
platform: "linux"
package: "libbttracker-utils"
version: "0.0.19+p4.2296-1"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/btt_db2xml"
---

# btt\_db2xml(8)

Dump a tracker's infohash data as XML.

## NAME

btt\_db2xml - Dump a tracker's infohash data as XML.

## SYNOPSIS

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

## DESCRIPTION

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 \<tyler@yi.org\> This is free software; you may use it under the terms of the Apache License 2.0, included with the mod\_bt distribution.

## SEE ALSO

btt\_xml2db
