ART doesn't provide any in-built tools to migrate the repository from one database to another. The following are suggested techniques for such a migration.
To migrate between the same RDBMS e.g. from a MySQL database to another MySQL database, use the backup/restore tools provided for your RDBMS
To migrate between different RDBMSs e.g. from a PostgreSQL database to a MySQL database, use an ETL tool e.g. Pentaho Data Integration
These steps illustrate the steps to migrate an ART repository database on PostgreSQL to MySQL.
update art_jobs set migrated_to_quartz='N'
The migration is done. You can now launch ART and define this new database as your ART repository.
If you want to use custom fonts in a jasper report, take the following steps to ensure the text is displayed correctly, especially in pdf view mode.
C:\windows\fonts\arialuni.ttf
and click on NextIdentity-H
would enable the display of text in most languages. You can select the option to Embed the font in the PDF document if your users may not have the font installed on their machines. This results in larger PDF files.C:\temp\arialuni.jar
Legend Font
etc. Preview the report in iReport to confirm that the report displays as desired. Ensure to also use the PDF Preview to confirm how pdf output will look like..jrxml
fileOn a linux server, if you have strange characters displayed for a Chart report type, try and install msttcorefonts. See https://sourceforge.net/p/art/discussion/352129/thread/b3b80ead/
The ART_LOGS table can get quite large so you may consider backing it up and deleting old records from time to time
When using the SQL Server driver (Microsoft driver), you may need to add ;trustServerCertificate=true
or ;encrypt=false
at the end of the JDBC URL for connections to work. Refer online for the implications of these settings or what else you can do to set up SSL connections with your SQL Server instance.
Discussion: Upgrade ART 2.3.1 to 2.4: issues with internal hsqldb DB upgrade