Utils convert and dump
- addition of backend converter utility - dump utility darcs-hash:20060130220742-86b55-0cba39429e4251ff9cce34a1dcd9df4515b973f1.gz
This commit is contained in:
27
README
27
README
@@ -1,6 +1,6 @@
|
||||
Installation :
|
||||
|
||||
- Get pyxmpp from http://pyxmpp.jabberstudio.org/ (work with snapshot pyxmpp-0.5.s20050506)
|
||||
- Get pyxmpp from http://pyxmpp.jabberstudio.org/ (version 1.0)
|
||||
|
||||
- edit jmc.xml to match jabber server configuration :
|
||||
- for jabberd2, port must match router.xml port
|
||||
@@ -22,4 +22,29 @@ Feedback :
|
||||
|
||||
Send me feedback and comments to dax at happycoders dot org
|
||||
|
||||
Utils :
|
||||
- backend_converter.py convert from one storage type to another.
|
||||
|
||||
$ python utils/backend_converter.py
|
||||
|
||||
give you the list of supported types.
|
||||
example of usage :
|
||||
|
||||
$ python utils/backend_converter.py \
|
||||
DBM \
|
||||
registered.db \
|
||||
SQLite \
|
||||
registered.sqlite
|
||||
|
||||
converts a DBM file (registered.db) to a SQLite file
|
||||
(registered.sqlite). Once converted, the new file copied in
|
||||
${spool_dir}/${service}/registered.db where ${spool_dir} and
|
||||
${service} are defined in jmc.xml configuration file.
|
||||
|
||||
- backend_dump.py dump a db file. example :
|
||||
|
||||
$ python utils/backend_dump.py DBM registered.db
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user