{% extends "admin/layout.html" %} {% block title %}Backups - Admin{% endblock %} {% block body %}
{% trans %}Create and manage database & file backups{% endtrans %}
{% trans %}SQLite database (all settings, pages, FAQs, reviews, profiles) + uploaded files (logos, favicons, images) + blog images{% endtrans %}
{% trans %}Tip:{% endtrans %} {% trans %}Download your backup before deleting the Docker container. When you recreate it, use the "Upload Backup" button to upload your ZIP file, then restore it from this page.{% endtrans %}
| {% trans %}Filename{% endtrans %} | {% trans %}Size{% endtrans %} | {% trans %}Actions{% endtrans %} |
|---|---|---|
|
{{ backup.name }}
{{ backup.date }}
|
{{ backup.size }} |
{% trans %}No backups yet{% endtrans %}
{% trans %}Click "Create Backup" to make your first backup.{% endtrans %}
{% trans %}Mirror DB & uploads to a local directory (e.g. mounted public_html){% endtrans %}
{% trans %}Recommended: use a fixed container path so your docker command is always the same{% endtrans %}
{% trans %}Set path to{% endtrans %} /website/backup {% trans %}and add this volume flag to your docker run command:{% endtrans %}
-v $(pwd):/website/backup
{% trans %}Run docker from your site directory and backups appear directly as{% endtrans %} ./storage/ {% trans %}and{% endtrans %} ./static/ {% trans %}— no path changes needed per site.{% endtrans %}
{% trans %}Push DB & uploads to a remote FTP server{% endtrans %}
{% trans %}Use these buttons to restore the database and uploaded files in case of data loss or corruption. You will be asked to confirm before any data is overwritten.{% endtrans %}