BackPrevious Page Next PageNext

Migrating Server Data from One Machine to Another

JReport Server resources such as catalogs, reports, users, security, scheduling, etc. can be migrated from one computer to another by simply Backing up and Restoring the Server Database.

To migrate JReport Server from the development environment on computer A to the production environment on computer B, you need to back up the server database data on computer A, move the backup files to computer B, and then restore the backup data to the server on computer B. You cannot migrate from one platform to another, for examples Windows to Linux or Linux to Windows.

The following example is based on Windows: 

  1. Back up the server database data including system, realm and profiling databases on computer A. Choose either of the following methods:
  2. Install JReport Server on computer B and then configure the server database. Note that the server databases on both computer A and B must be different. For example, when computer A uses MySQL database f, then computer B cannot use database f unless they are on different servers.
  3. Copy the files created in the step 1 from computer A to the D disk on computer B:

    D:\systemtables.dat
    D:\realmtables.dat
    D:\profiling.dat

  4. Restore the server database data using DBMaintain.bat in <server_install_root>\bin on computer B. In a DOS window switch to the <server_install_root>\bin folder, and then run the following commands:

    DBMaintain -Rrealmtables:D:\realmtables.dat -Rprofiling:D:\profiling.dat -Rsystemtables:D:\systemtables.dat

  5. Start the server on computer B. The migration will be completed.

BackPrevious Page Next PageNext