{% extends "base.html" %} {% block title %}Backups - SQLite Admin{% endblock %} {% block content %}
Create a backup of your database. Backups are stored locally and can be uploaded to HF Bucket for persistence.
Directory: {{ backups.snapshot_dir }}
HF Bucket Repo: {{ backups.hf_bucket_repo }}
HF Token: {% if backups.hf_token_set %}โ
Set{% else %}โ Not Set{% endif %}
| Filename | Size | Modified | Actions |
|---|---|---|---|
| {{ snapshot.name }} | {{ snapshot.size_mb }} MB | {{ snapshot.modified }} | โฌ๏ธ Download |
No local snapshots yet. Create one above!
{% endif %}Use these API endpoints to test backup functionality:
GET /admin/api/diagnostics - Check HF setupPOST /admin/api/backup/test - Test backup creationPOST /admin/api/backup/upload - Upload to HF Bucket
Real-time replication to local file. Catches every write with max 1 second data loss.
On-demand atomic snapshots. Consistent backups while DB is in use. Compressed with gzip.
Persistent storage on HuggingFace. 100GB free private storage. Survives container restarts.