Server failing, migration issues [urgent]

Currently working on moving off old Virtualmin box to newly configured one.

Old: Ubuntu 8.04 LTS, Virtualmin installed via install.sh

New: Debian 6.0, virtualmin installed via install.sh

I’m not aware I can just have the new server import the files, messages, databases, and virtual servers from the old, so I’m doing a backup to restore on the new server.

However, the command:

virtualmin backup-domain --dest /home/migrationbackups/ --all-domains --all-features --newformat --all-virtualmin

…fails with one of the servers:

Copying Apache virtual host configuration ..
.. no Apache virtual host found!

This is the most crucial server that it fails on.

It’s happening via the shell and via the Virtualmin web interface. I absolutely have to have this moved off - and therefore a successful backup - in the next five hours.

So far all the similar support I’ve found has been related to SSL. This vhost has no SSL, it’s just a http website.

Thanks in advance.

Further investigation shows that somehow there is no virtual host in Webmin > Servers > Apache or /etc/apache2/sites-available (or -enabled).

Added one with correct user and group and now it’s backing up.

Why would there be no Apache virtual host, and why has this never been an operational issue?

Howdy,

It definitely sounds like there’s some sort of configuration issue there… it would take some digging to understand how exactly that issue occurred, and why there wasn’t an entry for it in sites-enabled.

But, it sounds like you’re saying it’s working for you now? And all the other domains are importing correctly?

Also, note that there are migration instructions here if you’re interested:

https://www.virtualmin.com/documentation/system/migrate