Migrating PaperCut to a New Server
Migrating primary servers is considered a large administration tasks. Network administrators should block out at a minimum three hours, or more if you have a very large database, and should select a time where downtime will be of minimum disruption to end-users.
This article describes how to migrate the PaperCut (NG or ChargeBack) primary server to a new system so that all data is moved to the new system. To ensure a smooth migration it is strongly recommended (actually required for versions prior to 7.2) to ensure that the versions of PaperCut on both the old and new servers is the same. The easiest way to achieve this is to upgrade the old server to the latest version, and then install the latest version on the new server.
NOTE: If you are running PaperCut on and external database (like SQL Server or PostgreSQL) on a different machine to PaperCut follow our external database migration process.
The simplest way to migrate data to the new server is to use the backup and restore process.
[app-path]/server/bin/<platform>/stop-server
[app-dir]/server/server.properties file from the old server to the new server. This file contains the built-in admin user password.
papercut user.
If the server's name and/or IP address is changing then it will be necessary to update these connection details for user clients, secondary servers, and release stations.
If user clients are being run from the share on the PaperCut server, you just need to ensure that the clients are run from the share on the new server.
If clients have been installed locally on workstations, then the connection details need to be edited in the "config.properties" file in the user client install directory. On Mac clients, the "config.properties" file is embedded in the ".app" package and install the client again by copying it off the new server is often the easiest solution.
If you have secondary print servers, then the ApplicationServer= setting in the "print-provider.conf" file on these servers need to be updated to point to the new machine's network address.
For all release stations, the "connection.properties" file located in the release station installation directory must be updated to reflect the machine's new network address.
If you have secondary Internet servers, then the "connection.properties" file on these servers need to be updated to point to the new machine's network address.
Categories: PaperCutNG
Keywords: migrate, migration, upgrade, move, moving to a new server, changing servers, transfer