Import DirectAdmin account metadata and hosting requests

This commit is contained in:
parkel committed 2026-11-21 00:03:04 +01:00
1 parent 0468db1cd8
commit 1a29340ebf
6 files changed
+351 -3

No files matched your search

+21
View File
@@ -383,6 +383,27 @@ for the selected domain. The `manual_review` list identifies other domains,
database names that need a mapping, and data that needs a separate migration,
including website files, DNS zones, mail files and SQL dumps.
### Import DirectAdmin account metadata
Apply the panel database migrations, then run the import on the panel host
with the backup and the same primary domain selection used for the preview.
```sh
python manage.py import_directadmin user.admin.customer.tar.zst
```
The import checks domain ownership again and creates the new hosting account,
supported database requests and selected domain's mailbox requests in one
transaction. The JSON report includes the new account ID and the MariaDB
names derived from the database requests. Use the account page to download
deployment manifests for the nodes. The `manual_review` list records the
website, DNS, mail and SQL data that needs a separate migration.
Replaying the same account and request selection reports `already_imported`
for the original account. A domain conflict or a change to the original
account's domain or requests can block the import. A blocked import prints
its report and exits with code `2`.
## Request an Apache configuration preview
Start RabbitMQ and set `COULOBRE_BROKER_URL` to its AMQP URL. The development