Issues - Migrating from Host to Onprem

Grandozer

Trial User
Joined
Sep 11, 2026
Messages
1
Reaction score
0
I'm looking for advice migrating a live 3CX system from a hosted environment to an on-premises deployment while keeping the production system running until cutover.
I have already created a separate test 3CX instance using a temporary FQDN (e.g. test-fqdn.3cx.com.au) but have not yet activated the trial licence.

Current Production Environment
  • 3CX V20 hosted on a cloud VPS by the previous MSP.
  • Production system is currently active and handling calls.
  • Phones, SIP trunk and mobile apps are all using the hosted PBX.
  • Existing FQDN is e.g production-fqdn.3cx.com.au
  • We have access to recent backups and can take a fresh backup before cutover.

New Environment Being Built
  • New 3CX VM running on On-premises Hypervisor
  • Debian 12 / 3CX V20.
  • Intended final IP will be on Voice VLAN.
  • Current build/testing to be done on a separate LAN subnet to avoid conflicts.

What Happened During Initial Testing

My first attempt was to restore the production backup directly onto the new 3CX VM while it had internet access. The restore completed, however it appeared to cause issues with the existing hosted system:
  • We lost access to the hosted 3CX management portal.
  • Phones continued to work.
  • The previous MSP had to power-cycle the VM to restore management access.
  • It appeared the new PBX may have attempted to process the same licence/FQDN as the hosted instance.
This has made me cautious about performing another restore.

Second Attempt
To avoid this issue, we then tried restoring the backup while blocking internet access from the new VM.
However, the restore failed with:
"Unable to connect to 3CX License Server. Check network connection."
This suggests internet connectivity is required during the restore process. but then it conflicts with the live/production 3CX.

Proposed Migration Approach
I am now considering the following:
  1. Build the new 3CX VM on a separate subnet.
  2. Use a temporary FQDN and/or trial licence during testing.
  3. Restore the production backup to validate:
    • Extensions
    • Ring Groups
    • Queues
    • IVRs
    • Voicemail
    • General configuration
  4. Keep the hosted old PBX running as production.
  5. On cutover day:
    • Shut down the hosted PBX.
    • Enable the final VLAN/IP and firewall rules.
    • Switch to the production licence and FQDN.
    • Test inbound and outbound calls.
Questions
  • Is it safe to restore a production backup using a temporary FQDN and trial licence for testing purposes? Will it restore correctly since the license, FQDN are different and will mismatch?
  • Can the temporary FQDN and trial licence later be changed to the original production FQDN and licence during cutover? Is changing FQDN allowed or possible?
  • What is the recommended way to prevent the new PBX from interfering with the existing hosted PBX while still allowing the restore process to complete?
  • What is the recommended method for restoring a backup from a live production 3CX system to a new on-prem server for testing purposes while ensuring the existing hosted PBX remains unaffected?
 
Hello,

For an intermediary step while the current PBX must remain up, a command line backup is easier to work with than the full backup provided via the UI: https://www.3cx.com/docs/backup-restore-command-line/

Restoring a backup to an secondary system will always cause some problems, if both are up at once. Any SIP Trunk registrations will be firing off from both causing call delivery issues, as an example.

What exactly do you want to verify on the new system/location before the move? Answering this will help to figure out the best path forward for you. If for example you have certain hours of the day where the system overall is idle, then a full backup -> shutdown current PBX -> restore to new -> test -> shutdown new -> restart current cycle will let you check everything during that window.

The key thing is that you should at no time have two "identical" PBXs up.

If you are not comfortable performing this, you can always reach out to a 3CX Partner local to you than can assist you with the move. https://www.3cx.com/ordering/find-reseller/
 

Forum statistics

Threads
112,059
Messages
590,531
Members
165,009
Latest member
dgtollett