Migrate - Restore does not work for large file

Status
Not open for further replies.

jreddy

Forum User
Joined
Jun 20, 2017
Messages
45
Reaction score
4
I am migrating a system from google to Hetzner. Followed the process for the 3cx install in Hetzner, (https://computingforgeeks.com/how-to-install-and-configure-3cx-pbx-on-debian/) and then when the final step came up in the browser, I chose restore a previous backup and uploaded the backup file which is 1.5GB in size. The restore does not work. I have followed the reset process in another thread twice bit it does not work.

What you must do to restart the process is:
  1. Stop all 3CX Services (Linux command: sudo 3CXStopServices)
  2. Restart them all (Linux command: sudo 3CXStartServices)
  3. Then reset the installation to start over (Linux command: sudo /usr/sbin/3CXWizard --clean)
    Step #3 will purge all 3CX data currently on the server
Then you can start over again.

The regular backup of the system is only 100mb. But I think one account has a lot of voicemails. Its a small system. But still 1.5gb is not that large. I have high speed upload so that is not the issue. The new VPS is 2gb Ram, 80GB with 1gbps bandwidth speed. Any ideas on how to migrate the system.

Thanks
 
A backup of size 1.5GB should not be an issue for the restore process, provided of course that the required hardware resources are available and that 3CX's installation has been performed as per our guides. I do have to mention that the guide you're referring to was not published by 3CX and is not a recommended method of installation. For 3CX hosted on a Debian 9 machine you will need to use the 3CX ISO to deploy. Since you are using a hosting provider you might want to check with them if they support uploading your own ISOs for deployment or use one of 3CX's supported Hosting providers instead.

Alternatively, you could even use 3CX as your hosting provider for a more carefree experience since a huge chunk of management will be handled by us: https://www.3cx.com/docs/hosted-pbx-deployment/
 
I would also note that you must be patient when the restore is going.

I've found in the past that although it looks like it's not doing anything, it actually is.

Can you tell me how much time you let pass before you decided its not working?

Unless you get an error stating upload failed or timed out you must assume the upload is still going.
 
  • Like
Reactions: ChrisC_3CX
I would also note that you must be patient when the restore is going.

I've found in the past that although it looks like it's not doing anything, it actually is.

Can you tell me how much time you let pass before you decided its not working?

Unless you get an error stating upload failed or timed out you must assume the upload is still going.
Thanks for the details. Couple of things. Our network provider is not registered 3CX, so we could not use your hosted solution. We have a couple of datacenter partners for our cloud business. In anycase, I let it run for a 2+ hours before doing the restart. Does it make sense to deploy a fresh install with the license and then restore the backup? The current backup is one update behind, so I am thinking I need to update it to the latest version. Also if 2gb Ram is not enough I can up the size. The system only has about 10 users. Also hetzner does allow downloading a custom ISO, mounting it and deploying from there, but won't that have the same issue as well? I can complete the installation with a fresh install. Thought?
 
First off, If you can use the 3CX ISO then by all means do. Since the backup you are using is of an older version, restoring it during the installation process will be necessary.

You could potentially use the backup to restore on a local test machine during installation, then take a backup from that new PBX, shut it down and consequently end up with a 3CX backup of the latest version. That way, you could deploy the machine, install 3CX without any configuration, and then use the backup to restore. You will have to make sure that the backup you are using has no License Key information.
 
Last edited by a moderator:
Status
Not open for further replies.