{% extends "base.html" %} {% import "_macros.html" as m with context %} {% block title %}Move {{ p.domain }}{% endblock %} {% block content %}
{{ m.icon("up") }}{{ p.domain }}

Move into a container

The panel builds a copy next to the working website and tests it. Visitors are switched over only if the copy answers as the website does now. The old copy stays until you delete it.

{% for x in p.problems %}

{{ x }}

{% endfor %} {% if p.dbs is defined and p.size is defined %}

What moves

Files
{{ p.size|size }}, to /opt/web/{{ p.domain }}
Databases
{% for d in p.dbs %}{{ d.name }} found in {{ d["files"]|join(", ") }}
{% else %}None found in the website's files{% endfor %}
{% if p.cron %}
Scheduled tasks
{% for c in p.cron %}{{ c.command }}
{% endfor %}
{% endif %}
{% for n in p.notes %}

{{ n }}

{% endfor %} {% if p.dbs %}

Each database keeps its name, login and password. The panel changes the host name in the files above from localhost to the name of the new database server.

{% endif %}
{% if not p.problems %}
{{ m.csrf_field() }}
{% endif %}{% endif %} {% endblock %}