{% extends "base.html" %} {% block title %}Pre-update backups{% endblock %} {% block head %} {{ super() if super }} {% endblock %} {% block content %}

Pre-update backups

Snapshots taken automatically by update.sh before each upgrade. Restore .env or the production DB from any one of them.
{% if not restore_available %}
The restore helper isn't installed at {{ helper_path }}. Delete is available; Restore buttons need deploy/run_restore.sh plus the sudoers grant for it. Re-run update.sh on this release to install both.
{% endif %} {% if not rows %}
No backups on disk yet. Backups land at /tmp/anetbbs-backup-* the moment you start the next upgrade. They survive reboots only if your distro persists /tmp across boots (most don't).
{% else %}
{% for r in rows %} {% endfor %}
CreatedVersion changeSize FilesActions
{{ r.created_str }}
{{ r.name }}
{{ r.from_version }} {{ r.to_version }} {{ r.size_human }} {% for f in r.files %}{{ f }}{% endfor %} {% if restore_available %} {% if '.env.bak' in r.files %}
{% if csrf_token %}{% endif %}
{% endif %} {% if 'anetbbs.db.bak' in r.files %}
{% if csrf_token %}{% endif %}
{% endif %} {% endif %}
{% if csrf_token %}{% endif %}
{% endif %}
{% endblock %}