Migrate 3cx to new cloud server

peerdev

Customer
Joined
May 11, 2021
Messages
6
Reaction score
0
Hi,
We are planning to migrate our 3cx instance to a new cloud server (Hetzner). I found online that you can simply restore a backup.

  • Is there anything I need to keep in mind during the restoration on the new server?
  • Should I point the DNS to the new server before restoring?
  • What happens to the licence key? Can two servers be activated temporarily?
  • I use SBC for the telephones: Do I need to change anything there too?
  • What about the connected 3cx apps softphones?
  • Will the SIP trunks remain active?
I came up with the following procedure:
  1. Reduce TTL of domain.
  2. Install 3cx on new server via ISO (up to setup wizard).
  3. Create backup of old server.
  4. Upload ZIP backup to new server using scp.
  5. Shut down old server.
  6. Change DNS to new one.
  7. Restore backup to new server.
  8. Start new server.
  9. Return domain TTL to default.
Thanks for the help!
 
If you dont want to do a straight up cutover, you could set up your Hetzner server as your standby server and then failover when you're ready to move.

https://www.3cx.com/docs/manual/backup/

Considerations:

Turn off admin console restriction or add the IP of the new location before the backup.

Clear off logs and archive recordings if you can to make the backup as small as possible.

You will need to do a license refresh on your original server once you've set up your standby as the DNS may temporarily go to the 2nd server.

You dont need to use WinSCP to move the backup because part of the set up wizard asks you to upload a backup (fresh install method).

Your SIP provider may be restricted to IP of original server - dont forget to update this

SBCs may need a restart to push them along but as long as they're using the FQDN, everything should come back up.
 
  • Like
Reactions: bitn2
1. Check console restrictions to be correct
2. no
3. this is in the backup and no, it's like the Highlander "there can only be one"
4. no
5. they will work
6. check with your sip provider if you have to tell them the new ip address

Second part:

Do you use an 3cx fqdn or your own?

Than the sequence is 1-3-5-6-2-7-9

You need to restore the backup during installation, not with scp. Remember to have the certificates ready to upload them
 
  • Like
Reactions: fxbastler
Thanks for the help! I'll give it a try over the next couple of days. I'll let you know as soon as I notice anything.

Do you use an 3cx fqdn or your own?
I use my own.
 
Thanks for the help! I'll give it a try over the next couple of days. I'll let you know as soon as I notice anything.


I use my own.
Than check my last post, thats what to do
 
  • Like
Reactions: peerdev