Skip to content

Helper to migrate the DB from latest version of nxs-chat-srv to Nixys Support Bot v1.0.0

License

Notifications You must be signed in to change notification settings

nixys/nxs-support-bot-migrate

Repository files navigation

nxs-support-bot-migrate

This tool helps you to migrate the DB from latest version of nxs-chat-srv to nxs-support-bot v1.0.0.

In text below lets use following conventions:

What this tool do:

  • Cleans up a data in new DB
  • Migrates necessary data from old MySQL to new
  • Migrates necessary data from old Redis to new
  • While migration all incorrect data from old to new will be skipped

Quickstart

Install

This app is a helper for nxs-support-bot. Please see nxs-support-bot readme for installation.

Settings

General settings

Option Type Required Default value Description
logfile String No stdout Log file path. Also you may use stdout and stderr
loglevel String No info Log level. Available values: debug, warn, error and info
pidfile String No - Pid file path. If pidfile is not set it will not be created
src Src Yes - Source (old) databases settings
dst Dst Yes - Destination (new) databases settings
Src settings
Option Type Required Default value Description
mysql MySQL Yes - MySQL settings
redis Redis Yes - Redis settings
Dst settings
Option Type Required Default value Description
mysql MySQL Yes - MySQL settings
MySQL settings
Option Type Required Default value Description
host String Yes - Host to connect
port Int Yes - Port to connect
db String Yes - DB name to connect
user String Yes - User to connect
password String Yes - Password to connect
Redis settings
Option Type Required Default value Description
host String Yes - Host to connect
port Int Yes - Port to connect

Feedback

For support and feedback please contact me:

License

nxs-support-bot-migrate is released under the Apache License 2.0.

About

Helper to migrate the DB from latest version of nxs-chat-srv to Nixys Support Bot v1.0.0

Resources

License

Stars

Watchers

Forks

Packages

No packages published