Submitted by faisalasif on Sun, 04/16/2017 - 13:54
Hello Friends,
I am migrating To a New Server. Both the old and the new server are running CentOS6.
I was following instructions available at https://www.virtualmin.com/documentation/system/migrate
everything went fine until I reached "Restore your domains"
the first command "virtualmin restore-domain --source /home/scaled/backups/virtualmin.tar.gz --all-virtualmin" ran without any errors.
whereas the second command " virtualmin restore-domain --source /home/scaled/backups/ --all-domains --all-features" generates the following error:
sh: file: command not found Failed to read backup file : /home/scaled/backups//thinkersforumpakistan.sql : Not a valid tar or tar.gz file
Can someone help??? Please ...
Status:
Active
Comments
Submitted by JamieCameron on Sun, 04/16/2017 - 14:47 Comment #1
Make sure that the directory
/home/scaled/backups
doesn't contain any files other than the Virtualmin tar.gz backup files.Submitted by faisalasif on Tue, 04/18/2017 - 06:16 Comment #2
Well... Thank you but now i am stuck with the process halfway ... 10 out of 17 have been restored successfully whereas there was an error which stopped the whole process right after the 9th domain ...
For reference the error is given below:
" Re-loading MySQL database 8solar .. Creating MySQL database 8solar .. .. done
"
Should i start all over again or how can i restart the process from where it has stopped?
Submitted by andreychek on Tue, 04/18/2017 - 08:17 Comment #3
Are you perhaps restoring to an older MySQL/MariaDB version?
Was the database upgraded to a different version on the source server?
You may want to check that by running this command on both servers:
mysql -V