Migrating flex.bi Enterprise server
If you need to migrate your flex.bi Enterprise instance to a different server or host, you need to complete 3 easy steps.
Migrating flex.bi database
Before starting the migration process, stop flex.bi Enterprise service. For example, if you are using
systemd
 initialization script on Linux, run the following command:systemctl stop flexbi
Perform a full dump of the MySQL database. (Exchange
username
 andpassword
 with the actual credentials of your MySQL Server.)mysqldump -u username -p'password' --all-databases > /home/flexbi/flexbi_mysqldump.sql
Transfer the mysql dump file from the old server to the new one. For example, you can use rsync.
To do this, run this command on the old server.  (Exchange thenew_server_ip
 with the actual IP of the new server.)rsync -avz /home/flexbi/flexbi_mysqldump.sql root@new_server_ip:/home/flexbi/flexbi_mysqldump.sql
Import the transferred mysql dump file into the MySQL server on the new server. (Exchange
username
 andpassword
 with the actual credentials of your MySQL Server.)mysql -u 'username' -p'password' < /home/flexbi/flexbi_mysqldump.sql
Migrating flex.bi Enterprise files and import data
To migrate all of your files to your new server you should be able to just copy them from one server to another using rsync.
To do this, run this command on the old server. (Exchange thenew_server_ip
 with the actual IP of the new server.)rsync -avz /flexbi/* root@new_server_ip:/flexbi/
Adjusting flex.bi Enterprise configuration files
If you have changed MySQL database user or password used for flex.bi, then make the necessary adjustments in the
/flexbi_private/config/database.toml
 file.Âadapter = "mysql" database = "flexbi" host = "localhost" password = "password" username = "username"
If the hostname or internet protocol used for flex.bi Enterprise server has changed, adjust the following part of theÂ
/flexbi_private/config/eazybi.toml file.
[default_url_options] host = "flex.bi" #port = 8090 protocol = "https"
If you are using a web server making redirects to the flex.bi Enterprise server, adjust the configuration of the web server
Check if your SMTP email server will accept emails sent from the new flex.bi Enterprise server.