Export ScadaBR database to KairosDB

If you're running ScadaBR and you would like to export your MySQL/MariaDB database to KairosDB, a modern NoSQL time series database that runs on top of Cassandra, then you're in the right place.

This small Python script will easily convert your ScadaBR database into a KairosDB database.

Installation / How to use?

It's very simple to use this script and it should work in any Linux distribution that has Python3 installed and mysql-connector-python [both are pre-requisite, please install mysql-connector-python].

1) Before start make sure that you are okay with all of the following items:

  1. MySQL/MariaDB server up and running.
  2. KairosDB server up and running.
  3. ScadaBR database inside your server.

2) Run the script in your Terminal (Ctrl+Alt+T):

chmod +x export.sh
./export.sh

3) Provide the credentials:

In order to export the database, our Python script must know your database name, your username and your password for MySQL/MariaDB database.

Now the script should do the work! Be patient and if you got any trouble, question, bug or want to suggest us a feature, feel free to contact me at fernandopalad@gmail.com (or via GitHub Issues).

About

This small script was developed by Fernando Paladini on 2015. Hope it help you :)