First I had some issues because git module and google analytics module were not installed on the new server.
I installed both modules but since I have about 10 servers and 20 sub-servers and the backup files totalled about 120Gigs it took hours to do.
I then decided to migrate one server after another. I have restored one server and 2 sub-servers belonging to that server. When I restored I got no error message and everything appeared to run OK. However I see only the top level server and don’t see the sub-servers. Is there some setting that is causing this?
What you’re doing above should work… the migrations are normally pretty straight forward.
When you’re logging into Virtualmin on the new server, are you doing so as root? And then, as root, you’re saying you only see one domain listed in the drop-down on the top-left?
Yes Andrei, Thanks for responding. I see only the parent domain in the drop down. I don’t see the sub-server.
I am indeed logging in as root. Should I delete the parent level and retry?
When I first ran the restore it errored out after importing some domains. I think I might want to delete all the domains that have been created and then re-run one by one?
Do you have a method to delete all the files that have been imported? Thanks again
[root@web3 tonewserver]# virtualmin restore-domain --source /backup/tonewserver/***change.com.tar.gz --all-virtualmin --allocate-ip --reuid --all-features
Checking for missing features …
… all features in backup are supported
[root@web3 tonewserver]# virtualmin restore-domain --source /backup/tonewserver/au*****.***change.com.tar.gz --all-virtualmin --allocate-ip --reuid --all-features
Checking for missing features …
… all features in backup are supported
At the moment, it’s only looking for saved Virtualmin features to restore. The “–all-domains” option will tell it to restore the actual domains stored in that particular backup.
Eric, It worked !!! Thanks so much. I am now doing a backup from source and restoring to the new server again.
One more related question.
Let us say I do a full backup on Day 1
Next I do an incremental backup on Day 2
Then an incremental backup on Day 3
Then I restore the full backup to a new server. To make sure the new server has all the changes on Day 3 should I first do a restore of Day 2 and then restore the Day 3 incremental backup? Or is it sufficient to restore ONLY the Day 3 incremental backup to keep the destination current with the source server?