nxs-support-bot-migrate

command module
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 21, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

README

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.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
ds
modules
routines

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL