# Moving to Berth from Plesk, cPanel or DirectAdmin

> Take over a whole Plesk, cPanel, DirectAdmin or Berth server over read-only SSH, with passwords, mail UIDs and database hashes intact, an IP takeover so customers change nothing, and a way back.

Source: https://www.berthpanel.app/library/migration-overview/ · Category: migration · Updated: 2026-10-30

Berth was built to replace Plesk on a production server, and moving a full server is a first-class feature, not an afterthought. You copy everything while the old server keeps running, synchronise as often as you like, and switch over in a short maintenance window by taking over the old server's IP addresses. Customers change nothing: no DNS, no mail client settings, no new passwords. Import, nightly synchronisation, parity checks and a full cutover rehearsal have been run against a production Plesk server with 25 accounts.

This article explains the approach and what carries over. The step-by-step procedure is in [Migrating a server](https://www.berthpanel.app/library/migrate-a-server/).

## Which route fits

| You have | Route |
|---|---|
| A running server with Plesk, cPanel, DirectAdmin or Berth | the migration console, *Admin → Migration*: [Migrating a server](https://www.berthpanel.app/library/migrate-a-server/) |
| A Plesk backup file | [Importing backup files](https://www.berthpanel.app/library/import-backup-files/#plesk-backups) |
| A cPanel `cpmove` or DirectAdmin user backup | [Importing backup files](https://www.berthpanel.app/library/import-backup-files/#cpanel-and-directadmin-account-backups) |
| One subscription on another Berth server | a [transfer file](https://www.berthpanel.app/library/import-backup-files/#moving-a-subscription-between-berth-servers) |
| One website at a host without a panel | [*Import* on the domain page](https://www.berthpanel.app/library/import-backup-files/#a-single-website-over-ftp-or-sftp) |
| Mailboxes at another provider | [Mail import](https://www.berthpanel.app/library/mail-import-and-external-providers/) |

Imports need a valid licence or the trial period; see [Licence and trial](https://www.berthpanel.app/library/licence-and-trial/).

## The old server is never changed

A live migration reads from the source over **read-only SSH**. Berth installs a single identity on the source whose key is bound to a **forced command**: a small helper that can only read. It allows read-only rsync, listing databases and grants, `mysqldump`, `pg_dump` and measuring sizes, and refuses everything else. Every action runs at the lowest CPU and IO priority on the source and is logged.

You choose how that access gets there:

- **The root password, once.** Berth uses it to install the helper and a key that only works from this server and only for reading, and forgets the password immediately. It is never stored.
- **A script** that you paste and run as root on the old server yourself.
- **A key that is already there.**

Before connecting, you confirm the source's SSH host-key fingerprint, so you know you are talking to the right machine. Berth then detects which panel runs there (with version and number of accounts), and you confirm it.

Because the old server is only read, it keeps running exactly as before throughout the migration and remains available as the way back.

## What carries over

### Accounts and plans

- Customers, with their panel password hashes. They are re-hashed to argon2id the first time the customer signs in.
- Resellers, with their customers underneath. A reseller that does not exist yet is created.
- Plans become [packages](https://www.berthpanel.app/library/customers-and-packages/). Plesk limits (disk space, traffic, counts) become package values, with per-subscription overrides where a subscription differed.
- System users with the same name and uid, and their SFTP passwords.
- Suspension status.

### Websites

- Domains with document root, aliases, redirects and the preferred domain.
- PHP version and settings per domain, and the PHP-FPM process model.
- Extra nginx and Apache directives.
- Certificates and HSTS. Each sync picks up a certificate that the source renewed in the meantime, so every site has a valid certificate at the moment of switching.
- FTP accounts, protected folders, cron jobs and SSH keys.
- Encrypted PHP code (ionCube, SourceGuardian, Zend Guard) is detected and flagged when a loader is needed.

### Mail

- Mailboxes with the **same password hashes**, so nobody needs a new password. Passwords that Plesk stores reversibly are taken over and hashed immediately.
- Forwards, aliases, autoresponders, Sieve filters and DKIM keys.
- **Mail UIDs**: the `dovecot-uidlist` and UIDVALIDITY of every folder are kept, so mail clients see the same messages and do not download everything again.
- Webmail data from Roundcube (address books, contact groups, identities and signatures) and SpamAssassin preferences (whitelist, blacklist, threshold, subject marking), mapped onto Berth's spam settings.

The on-disk layout is the same as Plesk's (`/var/www/vhosts/<domain>`, Maildir under `/var/qmail/mailnames`, the `INBOX.` namespace), so content moves as it is; see [On-disk layout](https://www.berthpanel.app/library/on-disk-layout/).

### Databases

- MariaDB and PostgreSQL databases with the same names.
- Database users with the same password hashes, including users with access to several databases.

## Imported accounts wait until activation

An imported subscription is complete on Berth but **waiting**:

- cron jobs are off;
- the panel sends no mail to the customer;
- certificates are not requested or renewed here yet;
- inbound mail is answered with a temporary failure (`450`), so a sending server simply tries again later.

The old server stays the live one. You can sync as often as needed: each sync brings the content up to date and, for Plesk sources, also rebuilds the source's structure, so a domain, mailbox, database or FTP account that the customer added on the old server appears here too. Things removed on the source are **never** removed here automatically; they appear as a to-do with a button to remove them here as well. Settings that you changed here are not overwritten.

## Switching over: an IP takeover

When everything is in sync, the switch happens in one maintenance window, in two phases:

1. **Phase 1**: a final sync with table locks and a mail comparison per folder. Nothing is switched yet.
2. **Pause**: you take the old server off the network for the addresses that move (on the virtualisation host, or at the provider for a routed IP).
3. **Address check**: Berth checks on the network, with ARP for IPv4 and NDP for IPv6, that the old server no longer answers.
4. **Go / no-go.**
5. **Phase 2**: the addresses go onto this server's network interface, the router is told immediately (gratuitous ARP, unsolicited neighbour advertisement), and all accounts are activated.
6. **Optional test mode**: only the sources you allow reach the taken-over addresses; everyone else gets a TCP reset, so mail servers retry later and nothing from customers arrives yet.
7. **Open**: test mode off, customers are on Berth.

Berth can also take on the old server's **identity**: the outbound mail address and HELO name, the old server's own host names (`smtp.`, `imap.`, the old panel address) with valid certificates, and the default certificate for mail clients that send no server name.

If the old and new server cannot share addresses, the alternative is new addresses with a DNS change. Berth updates the records itself for domains at a connected [DNS provider](https://www.berthpanel.app/library/dns/), and you can then switch per account.

## The way back

Until you choose *Open*, going back costs nothing: customers have not written anything on Berth yet. The way back (*Rollback*) puts the accounts back into the waiting state and releases the addresses; you then give them back to the old server, which was never changed. After *Open* you can still go back, but what customers did on Berth in the meantime (mail, uploads, orders) stays only on Berth. For that case Berth can relay mail for those domains to the old server, and send mail that already arrived here back to it over SMTP.

## Checking it is the same

Before and after the switch, a [parity check](https://www.berthpanel.app/library/parity-checks/) compares the old and new server per domain: pages, certificates, mail reception and the mail and FTP services. A mail check compares message counts, UIDVALIDITY and UIDNEXT per folder. A timed log records every step for your own runbook.

## Related

- [Migrating a server](https://www.berthpanel.app/library/migrate-a-server/)
- [Parity checks](https://www.berthpanel.app/library/parity-checks/)
- [Importing backup files](https://www.berthpanel.app/library/import-backup-files/)
- [Compared with other panels](https://www.berthpanel.app/library/compared-with-other-panels/)
