Migrate › Virtualmin
Migrate from Virtualmin
KyPanel converts Virtualmin account backups into KyPanel backups and restores them. It reads a top-level server with its sub-servers, in one file or one file per server (.tar.gz). The Virtualmin server is never modified, and KyPanel never connects to it.
Make the backup
As root on the Virtualmin server, back up the top-level server with its sub-servers in one file:
virtualmin backup-domain --domain DOMAIN --parent --all-features --dest /root/DOMAIN.tar.gz
Or use Backup Virtual Servers with the sub-servers selected. A file with several top-level servers is refused: back up each one on its own.
Convert and restore
In Ky Admin, open Import Tools › Convert Backup and upload the file or choose it from /home. The format is detected from the file. With Restore after converting on, the account is created as soon as the analysis finds no conflict. A username or domain already taken waits for you in the report, where you rename, skip or replace it.
Customers can also convert their own backup in their panel, under Files › Convert Backup.
How a Virtualmin account maps to KyPanel
- One top-level server becomes one account. Its user becomes the username and its domain the main domain.
- Sub-servers become addon domains or subdomains, and alias servers become parked domains.
- Files keep Virtualmin's paths:
~/public_html, with sub-servers in~/domains/DOMAIN/public_html. - Mailboxes with their mail, forwarders, the catch-all, databases with the server's MySQL login, DNS zones, SSL certificates and the server's cron jobs come along.
- Recent Virtualmin versions keep only hashed passwords, so the panel login and the mailboxes get new passwords, unless the server stores plain passwords.
Not converted
Autoreplies, PostgreSQL databases, and scripts installed by Virtualmin. Their files are in the home.
A password in a format KyPanel doesn't use is left out with a note in the report, and that login gets a new password after the restore.
If a backup doesn't convert as described here, send the conversion report to support@kypanel.com.
Before switching DNS
- Lower the DNS TTLs on the old server a day before the move.
- Check the sites on the new server first, for example with your
hostsfile pointing to its IP. - Point the nameservers or A records to the KyPanel server. AutoSSL issues certificates as soon as the names resolve there.
- Mail that reaches the old server during the switch stays there. Copy it again, or check both servers for a day.
Customers sign in at panel. on their domain and read webmail at webmail.. Bookmarks to the old panel's address stop working.
Docs: Import tools. Install KyPanel on the new server first: the 30-day trial covers the move.