{% extends "hosting/workspace_page.html" %} {% block title %}DirectAdmin import · Coulobre Panel{% endblock %} {% block page_title %}DirectAdmin import{% endblock %} {% block workspace_selector %}{% endblock %} {% block page_actions %} {% if job %}Back to imports{% endif %} {% endblock %} {% block page_content %} {% if not job %}
{% csrf_token %}

Upload an account backup in TAR, TAR.GZ or TAR.ZST format (up to 1 GiB). Coulobre checks the archive and shows what can be imported before making any changes.

{{ form.as_div }}
{% if recent %}

Recent imports

{% for previous in recent %} {% endfor %}
RequestedDestinationStatus
{{ previous.requested_at|date:"j M Y, H:i T" }} {{ previous.account|default:"Not selected" }} {{ previous.get_state_display }}
{% endif %} {% else %}

{{ job.get_state_display }}

{% if job.account %}Open hosting account{% endif %} {% if job.state == "review" and request.headers.x_coulobre_status %} Review preflight {% endif %}
{% if pending %}

{% if job.state == "inspect_queued" or job.state == "inspecting" %} Coulobre is checking the archive. No services or accounts are changed during preflight. {% else %} The import runs in the background. You can close this page and return from Recent imports. {% endif %}

{% elif job.problem %} {% if job.work %}

Changes already applied are not undone. Check the destination and the component status below.

{% endif %} {% elif job.state == "complete" %}

Review the imported data before updating DNS. Existing public DNS and the source account were not changed.

{% endif %} {% if job.work %}
{% for item in job.work %} {% endfor %}
ComponentDestinationState
{{ item.kind|capfirst }}{{ item.label }}{{ item.status|default:"Waiting" }}
{% endif %}
{% if job.state == "review" and form %}

Archive contents

Source account {{ job.report.username }} · {{ job.size|filesizeformat }} upload. Choose a primary domain and any additional domains to restore. Database dumps belong to the whole source account.

{% for domain in job.report.domains %}

{{ domain.name }}

    {% for root, counts in domain.websites.items %}
  • {{ root }} · {{ counts.files }} files · {{ counts.bytes|filesizeformat }}
  • {% empty %}
  • No supported website files found.
  • {% endfor %} {% for mailbox in domain.mailboxes %}
  • {{ mailbox.address }} · {{ mailbox.messages }} messages · {{ mailbox.folders }} folders with messages · {{ mailbox.bytes|filesizeformat }}
  • {% empty %}
  • No named mailboxes found.
  • {% endfor %} {% if domain.unrecognized_mailbox_entries %}
  • {{ domain.unrecognized_mailbox_entries }} unrecognized mailbox entries will not be imported.
  • {% endif %} {% if domain.zone.manifest %}
  • {{ domain.zone.records }} DNS records can be saved as a draft. Review and update source DNS records before publishing.
  • {% elif domain.zone.problem %}
  • {{ domain.zone.problem }}
  • {% else %}
  • No DNS zone found.
  • {% endif %} {% if domain.destination_problem %}
  • {{ domain.destination_problem }}
  • {% elif domain.existing_account %}
  • Matching hosting account: {{ domain.existing_account_name }}. Remaining checks depend on the selected components.
  • {% endif %}
{% if domain.zone.unsupported %}
DNS records that will not be imported
    {% for record in domain.zone.unsupported %}
  • {{ record.name }} · {{ record.type }}
  • {% endfor %}
{% endif %}
{% empty %}

The archive has no supported source domain.

{% endfor %}

Database dumps

    {% for database in job.report.database_requests %}
  • {{ database.source }} · {{ database.bytes|filesizeformat }}
  • {% empty %}
  • No supported database dumps found.
  • {% endfor %}
{% if job.report.unsupported_databases %}

Some database dumps have unsupported names or are empty or duplicated. They are not imported.

{% endif %} {% if job.report.home_archive %}

Nested home archives are not imported.

{% endif %} {% if job.report.skipped_non_regular_entries %}

The archive contains {{ job.report.skipped_non_regular_entries }} links or special entries. Selected website or mail files containing unsupported entries may be rejected.

{% endif %}
{% if job.report.domains %}
{% csrf_token %}

Choose what to import

After creating a hosting account, open it to assign a customer or manager. This import does not create a customer login. To restore more than one website, use a hosting package that permits them. Imported mailbox and database passwords are not recovered from the backup. Set new passwords and update site configuration before going live.

Importing mail activates the destination mailboxes on this installation even before public DNS changes.

{{ form.as_div }}
{% endif %} {% endif %}
{% endif %} {% endblock %}