{% extends "baseTemplate/index.html" %} {% load static %} {# Import a .sql/.sql.gz dump into an owned database, or export one as a #} {# gzip download. See databases.views.importExport / submitDatabaseImport / #} {# getDatabaseImportStatus / exportDatabase. #} {% block title %}Import / Export{% endblock %} {% block content %}
Load a .sql or .sql.gz dump into one of your databases, or download a fresh gzip export of one.
Both actions below act on the database picked here.
Up to {{ maxImportMB }} MB, plain or gzip-compressed.
The import replays every statement in the file against the selected database. It does not empty the database first, so a dump that re-creates tables the database already has will fail on the collision unless the file itself drops them first.
{$ importFile.name $} ({$ importFile.size | cpBytes $})
A fresh mysqldump, gzip-compressed.
The dump is generated on the server, streamed to your browser, then deleted from the server — nothing is kept behind after the download finishes.