This document describes how to migrate the BellaDati application server or database to a different system.
To migrate only the application server without changing the database, follow the appropriate installation instructions to set up your new application server. Configure it to connect to your existing database. After starting the server and logging in, move the mouse over your username and click the link to your domain. On the left side, reindex your reports and data sets.
To migrate BellaDati to a different database installation, backup the database contents using the PostgreSQL dump command:
Copy the backup file to your new system and restore it in the target database:
Different Application Server and Database Server
To migrate both your database and application server:
- Migrate old database to new database as described above.
- Install a new application server following the appropriate installation instructions, using your new database.
- Delete the current indexes directory from the file system.
- Re-index your reports and data sets in the new installation.
- Restart BellaDati
Different Database Server
If you continue using your existing application server, configure it to use the new database.
- Login to the administration console (by default running on 4848 or see Installing BellaDati on GlassFish).
Resources->JDBC->Connection Poolsand click on the connection pool you configured for BellaDati.
- On the right side, click
- Update the ServerName, DatabaseName, User and Password to match your new database and click Save.
Optionally, you can modify directly configuration file BELLADATI_INSTALLATION_DIRECTORY/glassfish4/glassfish/domains/domain1/config/domain.xml.
If you used the BellaDati Standalone, update the
application.properties file in your BellaDati installation directory and set new database connection parameters.
Use the GlassFish administration console as described in Installing BellaDati on GlassFish and follow the same process as installing BellaDati using installer.
When running in a custom Jetty instance, you can find the configuration inside the WAR archive at the path
WEB-INF/classes/conf/application.properties. Follow the instructions from Installing BellaDati on Jetty for detailed steps to update the configuration file.
Configure the BellaDati context defined in your Tomcat installation.
- Open the file
- In the Resource tag, update the url, username and password to match your new database.
- Restart Tomcat.