Moving Kwok Information Server to another system

To move the installation from one server to another server, you need to copy all data (database data and file attachments) to the new server.

To copy database

You can do a backup from the source PostgreSQL database, then restore the backup to the target database.

You can use pgAdmin to do that. To backup, go to pgAdmin's Tools menu > Backup, simply choose default options. To restore, go to Tools > Restore.

Several user submitted instruction:

To copy file attachments

Look at Administration > Application Settings to see where you store attachments. Then, copy all directories to the new server.

Remaining setup

  • Setup Java, Tomcat, and Tomcat/webapps/kwok on the new server.
  • Update Application.properties file with correct database name, server, port, user and password.
  • Start Tomcat.