Skip to content

(M) Tool allowing easy migration data to Tigase XMPP Server from other XMPP servers

License

AGPL-3.0, AGPL-3.0 licenses found

Licenses found

AGPL-3.0
License.html
AGPL-3.0
COPYING
Notifications You must be signed in to change notification settings

tigase/tigase-database-migrator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

database-migrator screenshot

Tigase Logo Build Status

Tigase Database Migrator

Tigase Database Migrator is component allowing migration of different types of data from various XMPP servers. Currently supports following servers and data:

  • ejabberd
    • User data (authentication, roster)
    • MUC (multi user chat)
    • PubSub

Usage

Complete guide available in documentation

Migrator is a command-line utility. Main class: tigase.db.converter.Converter, if executed without any parameters will display help with all parameters explained:

$ java -cp jars/*:. tigase.db.converter.Converter [options]

Converter options

Following options are supported

  • -I or --interactive (optional) - Enable interactive mode, which will result in prompting for missing parameters
  • -R value or --repository-class=value - allows specifying DataRepository implementation used for reading data from source; must implement tigase.db.DataSource (default: tigase.db.jdbc.DataRepositoryImpl)
  • -S value or --source-uri=value - URI of the source do the data: jdbc:xxxx://<host>/<database>…
  • -T value or --server-type=value - type of the server from which import will be performed, possible values: [ejabberd, ejabberd_new]
  • -D value or --destination-uri=value - URI of the destination for the data: jdbc:xxxx://<host>/<database>…
  • -C value or --components=value (optional) - additional component beans names that should be activated
  • -H value or --virtual-host=value - allows specifying Virtual-host / domain name used by source installation (for example in case of old ejabberd installations)

Support

When looking for support, please first search for answers to your question in the available online channels:

If you didn't find an answer in the resources above, feel free to submit your question to either our community portal or open a support ticket.

Downloads

Migrator is included in every distribution of Tigase XMPP Server. Dedicated binaries can be downloaded from our Maven repository

Compilation

It's a Maven project therefore after cloning the repository you can easily build it with:

mvn -Pdist clean install

License

Tigase Tigase Logo Official Tigase repository is available at: https://github.com/tigase/tigase-database-migrator/.

Copyright (c) 2004 Tigase, Inc.

Licensed under AGPL License Version 3. Other licensing options available upon request.