{% extends "admin/layout.html" %} {% block title %}Backups - Admin{% endblock %} {% block body %}

{% trans %}Backups{% endtrans %}

{% trans %}Create and manage database & file backups{% endtrans %}

{% trans %}What's included in 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 %}Available Backups{% endtrans %}

{% if backups %} {% for backup in backups %} {% endfor %}
{% trans %}Filename{% endtrans %} {% trans %}Size{% endtrans %} {% trans %}Actions{% endtrans %}
{{ backup.name }}
{{ backup.date }}
{{ backup.size }}
{% trans %}Download{% endtrans %}
{% else %}

{% trans %}No backups yet{% endtrans %}

{% trans %}Click "Create Backup" to make your first backup.{% endtrans %}

{% endif %}

{% trans %}Sync & Remote Backup{% endtrans %}

{% trans %}Local Path Sync{% 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 %}FTP Remote Backup{% endtrans %}

{% trans %}Push DB & uploads to a remote FTP server{% endtrans %}



{% trans %}Restore from Backup{% 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 %}

{% endblock %} {% block page_scripts %} {% endblock %}