Migrating to a New Server (Docker)

This document is intended for users moving their Docker deployment from one server to another.

Steps

This guide uses our built-in backup and restore functionality. Larger installation, may find it faster, to use other technologies to migrate their data.

Migrate from the old server to the new server

Perform these steps on your old server:

  1. Visit Settings in the operator panel and enable the "Maintenance Mode" option.
  2. Disable the Cron Job.
  3. Create a backup of your help desk.
    Please use the --online option. This ensures that background services are not restarted after the backup has completed.
  4. Copy the backup file to your new server. One way to do this is via the scp Linux command. The below command is an example, placeholders (capitalised), and paths should be replaced for actual usage depending on your scenario:
    scp /home/user/backup/APP.TAR.GZ USER@IP.IP.IP.IP:/home/user/backup/APP.TAR.GZ

Login to the new server, and follow the below steps:

  1. Browse to the parent directory of the backup/app.tar.gz file that was created earlier, and restore the backup.
  2. Login to the SupportPal client area and re-issue your license so that it is unlocked.
  3. Login to the operator panel.
  4. Visit Settings and disable the "Maintenance Mode" option.
  5. If your SupportPal URL has changed you will also update your brand URL (Settings > General > Brands > Website (tab) and update the System URL option).
  6. Enable the SupportPal cron job.
    Verify the tasks are running by visiting Settings -> Core -> Scheduled Tasks and refreshing every few minutes.
  7. If you restored using root database credentials, please revert back to the supportpal user credentials by manually updating config/production/database.php within the container.