btt_xml2db8
Import infohash records from an xml document into a tracker database
Usage
btt_xml2db [--master]
[--verbose]
backup.xml
/path/to/tracker
Overview
btt_xml2db reads the XML document specified on the commandline and imports any "Infohash" records found into a mod_bt database. If any of the specified infohashes already exist in the tracker database, they will be replaced. The XML document should be one that was generated with btt_db2xml.
The "Peers", "Seeds", and "Shields" counts from the XML document are discarded; these fields are instead set to the counts of who is actually connected to the tracker, or "0" if this is a new infohash.
btt_xml2db can be used to create a new tracker database, like so:
mkdir /tmp/new_databasebtt_xml2db --master --verbose backup.xml /tmp/new_database
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.
- --verbose
-
Print the infohash string and filename of each infohash as it's being inserted into the database.
- --help
-
Displays brief usage instructions.