Submitted by sapmin on Sun, 06/10/2018 - 10:29 Pro Licensee
I'm trying to migrate from server x to server y. I've done this several times before without issue, but now I'm stuck.
The backup works fine and without error.
I then ftp the backup files to the new server and use the Virtualmin "Restore Virtual Server"
When I select "local file" and point to the path, then click "Show what will be restore", the beautiful spinning wheel starts ... and never stops.
I've tried backing up to a single file (I have about 14 domains) and each domain to a separate file. The largest backup is 197mg and the smallest is 9mg. The only restore that functions properly is when I choose "upload to server", which is fine for the small files, but seems silly for 200mg.
Am I doing something wrong?
Submitted by andreychek on Sun, 06/10/2018 - 12:58 Comment #1
Howdy -- thanks for contacting us!
What if you look in /var/webmin/miniserv.error, do you see any errors logged in there while the restore is running?
Submitted by sapmin on Sun, 06/10/2018 - 13:12 Pro Licensee Comment #2
[09/Jun/2018:15:07:27 +0000] [xx.xx.xx.xx] /virtual-server/restore.cgi : Timeout : Waited more than 60 seconds for request data
Thanks. Now it's clear what is happening, but why is it limited to 60 seconds?
Submitted by JamieCameron on Sun, 06/10/2018 - 13:15 Comment #3
Looks like your browser took a long time to start uploading data, by which time Virtualmin timed out.
A work-around would be to upload the backup files to the server via FTP or SSH, and then restore from a local file.
Submitted by sapmin on Sun, 06/10/2018 - 13:20 Pro Licensee Comment #4
I am trying to use the "local file" but that's when I get the timeout. Only upload works, but that is not practical for the 300mg and larger domains. I've also tried using the Cloud Storage (I use Rackspace for servers and backups) but that also times out.
Submitted by JamieCameron on Sun, 06/10/2018 - 18:14 Comment #5
Does that "Waited more than 60 seconds for request data" error appear in
miniserv.erroreven when restoring from a local file?
Submitted by sapmin on Sun, 06/10/2018 - 19:12 Pro Licensee Comment #6
The answer is yes.
To be sure that I'm accurate, I just retested, in the following order. -local file -rackspace cloud files -upload (it worked, so no log entry)
[10/Jun/2018:23:28:38 +0000] [xx.xx.xx.xx] /virtual-server/restore.cgi : Timeout : Waited more than 60 seconds for request data [10/Jun/2018:23:47:15 +0000] [xx.xx.xx.xx] /virtual-server/restore.cgi : Timeout : Waited more than 60 seconds for request data
Submitted by JamieCameron on Mon, 06/11/2018 - 22:48 Comment #7
Which browser are you using there, and on which OS?
Submitted by sapmin on Tue, 06/12/2018 - 05:28 Pro Licensee Comment #8
My primary is MacOS High Sierra 10.13.4
I've also tried chrome
Submitted by JamieCameron on Wed, 06/13/2018 - 00:20 Comment #9
Is there any kind of proxy server or firewall between the system running your browser and Virtualmin?
Submitted by sapmin on Thu, 06/14/2018 - 23:01 Pro Licensee Comment #10
No there isn't.
Is there any kind of logging mode that I can turn on?
Submitted by JamieCameron on Sat, 06/16/2018 - 09:59 Comment #11
If you're using the Chrome browser, it might be useful to use the network debug tools to look at the timeline of the request.