{% extends "hosting/workspace_page.html" %} {% load panel_assets %} {% block extra_scripts %} {{ block.super }} {% endblock %} {% 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 a backup

Use a TAR, TAR.GZ or TAR.ZST account backup up to 1 GiB. Preflight shows what can be imported without making any changes to hosting accounts.

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

Recent imports

{% for previous in recent %} {% endfor %}
RequestedDestinationStatusActions
{{ previous.requested_at|date:"j M Y, H:i T" }} {% if previous.selection.domain %} {{ previous.selection.domain }}{% if previous.selection.destination_name and previous.selection.destination_name != previous.selection.domain %} · {{ previous.selection.destination_name }}{% endif %} {% else %}Not selected{% endif %} {{ previous.get_state_display }} {% if previous.state == "review" %}Review preflight{% elif previous.finished_at %}View import result{% else %}View import progress{% endif %}
{% 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 job.selection.domain %}

Destination · {{ job.selection.domain }}{% if job.selection.destination_name and job.selection.destination_name != job.selection.domain %} · {{ job.selection.destination_name }}{% endif %}

{% 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.

{% if "dns" in job.selection.components and job.account %}

Review DNS drafts

{% endif %} {% endif %} {% if job.work %}
{% for item in job.work %} {% endfor %}
ComponentDestinationState
{{ item.kind|capfirst }}{{ item.label }}{% if item.status %}{{ item.status }}{% elif job.finished_at %}Not completed{% else %}Waiting{% endif %} {% if item.receipt %}
{% if "files" in item.receipt %}{{ item.receipt.files }} files{% elif "messages" in item.receipt %}{{ item.receipt.messages }} messages{% endif %}{% if "bytes" in item.receipt %}{% if "files" in item.receipt or "messages" in item.receipt %} · {% endif %}{{ item.receipt.bytes|filesizeformat }}{% endif %}
{% endif %}
{% endif %} {% if not_started %}

Not started · {{ not_started|join:", " }}

{% endif %} {% if not_selected and job.finished_at %}

Not requested · {{ not_selected|join:", " }}

{% 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 }} file{{ counts.files|pluralize }} · {{ counts.bytes|filesizeformat }}
  • {% empty %}
  • No supported website files found.
  • {% endfor %} {% for mailbox in domain.mailboxes %}
  • {{ mailbox.address }} · {{ mailbox.messages }} message{{ mailbox.messages|pluralize }} · {{ mailbox.folders }} folder{{ mailbox.folders|pluralize }} 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 record{{ domain.zone.records|pluralize }} 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 unsupported links or special entries ({{ job.report.skipped_non_regular_entries }}). Website or mail components containing them may be rejected.

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

Choose what to import

Choose a destination and the data to restore. The import does not create a customer login or recover mailbox and database passwords.

{% if form.errors %} {% endif %}
Source and components
{{ form.domain.as_field_group }}
{% if form.extra_domains %}
{{ form.extra_domains.as_field_group }}
{% endif %}
{{ form.components.as_field_group }}
{{ form.source_root.as_field_group }}
Hosting destination
{{ form.target.as_field_group }}
{% for domain in job.report.domains %}

{{ domain.name }} · {% if domain.existing_account %}Matching account {{ domain.existing_account_name }}.{% else %}No matching hosting account.{% endif %} {% if domain.destination_problem %}{{ domain.destination_problem }}{% endif %}

{% endfor %}
New account settings
{{ form.hosting_plan.as_field_group }}
{{ form.name.as_field_group }}

To restore more than one website, select a package that permits it. Assign a customer or manager after import if needed.

Importing mail activates the destination mailboxes before any public DNS change. Set new passwords and update site configuration before going live.

{{ form.reviewed.as_field_group }}
{% endif %} {% endif %}
{% endif %} {% endblock %}