Files
coulobre/docs/migration-sources.md
T

5.1 KiB

Migration sources

Coulobre v0.6 imports supported data from a DirectAdmin account archive. The DirectAdmin workflow describes the supported formats and destination checks. For cPanel and Plesk, the mappings below are candidates based on vendor documentation. The next test for each candidate needs an archive generated by the source product from a disposable account populated with synthetic data.

cPanel and WHM

Start with one full, unsplit Linux account archive produced by pkgacct or the account's Full Backup interface. The archive can carry an account-specific root directory. Create separate examples with and without website, mail, and database contents to distinguish omitted components from empty components. Incremental copies, split archives, PostgreSQL, and remote MySQL accounts would need separate support. cPanel archive contents · pkgacct options

Resource Candidate mapping
Account Read cp/USERNAME for the primary domain and account metadata. Identify parked, addon, and subdomains separately before choosing any Coulobre aliases.
Website Map homedir/public_html to the primary managed document root. Use the per-domain metadata to identify non-default roots.
Database Restore account-scoped logical MySQL dumps from the MySQL component into fresh managed databases. Report omitted dumps, schema-only exports, and renamed databases. Generate new logins and grants.
Mail Pair accounts in the domain mail settings with virtual Maildirs inside homedir/mail. Reuse the DirectAdmin Maildir destination checks and create fresh credentials.
DNS Convert dnszones/DOMAIN.db through the same DNS record mapping and preview used for DirectAdmin. Treat signing keys and extra record types as manual work.

Decision. Prioritize cPanel for a future importer when a maintainer or pilot customer can supply genuine full backups for both packaging routes. Start with inventory and dry-run mapping. Its file layout is close enough to reuse the existing Coulobre destination logic.

Plesk Obsidian on Linux

Start with a full single-subscription export from Backup Manager or plesk bin pleskbackup. The export contains XML descriptors and nested content archives. The storage tree uses separate pieces for configuration and payloads. Incremental chains, password-protected or multivolume exports, server or reseller backups, and Windows data add distinct cases. Plesk export options · Plesk Linux backup structure

Resource Candidate mapping
Account Read the subscription info XML for the primary domain and site identities. Map subscriptions individually and review owner and plan assignments.
Website Read the domain's user-data archive referenced in the descriptor. Use the documented domain and site hierarchy for paths other than the default httpdocs.
Database Locate each database component through its descriptor and restore compatible logical MySQL dumps into new managed databases.
Mail Map mailbox identities and message components from the subscription descriptor. Confirm the Linux payload format before treating it as Maildir data.
DNS Convert subscription DNS information from the descriptor into a Coulobre zone preview. Confirm whether the export records DNS settings or uses a separate component for the selected Plesk version.

Decision. Defer a Plesk importer until there is a migration request with one or more genuine Linux exports. Confirm the descriptor and payload mapping first. The XML references and nested compression need a source adapter before the existing destination checks can be reused.

Produce representative fixtures

Use a newly created account or subscription with an example.net domain, a public page and a secondary domain, a small SQL database, an inbox and a separate mail folder, and a DNS zone with A, AAAA, MX, TXT, and CNAME records. Use synthetic file, row, and message contents, and record the source version and backup options with the fixture. Generate the export with the vendor tool and confirm its contents before using it in importer tests. Keep credentials, keys, and customer archives out of the repository.

Source Fixture to request
cPanel Full account backup from the account interface and an unsplit pkgacct backup of the same account. Include a custom document root and a database omitted by backup options in supplementary fixtures.
Plesk Full Linux subscription export from Backup Manager plus a full CLI export of the same subscription. Include website content, mail, a MariaDB database, and a DNS configuration.

Public documentation and documentation-derived examples describe the expected layout. Compatibility checks will use source-generated exports once a source installation is available.