Skip to content

Backup and Restore

niketchandra edited this page Nov 27, 2026 · 1 revision

Backup and restore

What to keep safe

What Where
APP_KEY /app/storage/.env in the atglance_app-storage volume. Encrypts stored secrets
Database atglance_db-data volume (MySQL)
Stored files atglance_app-storage volume
Settings .env next to docker-compose.yml (passwords)

Backups in the console

Site Settings › Backup & Restore schedules database and configuration backups to local storage, S3, Azure Blob Storage or NFS. See docs/scheduled-backups.md and docs/BACKUP_FORMAT.md.

Backups by the updater

Every upgrade first writes <dir>/backups/update-<time>/ with the database dump, the app's .env and the compose files. See Rollback to use them.

Manual database dump

docker exec ce-atglance-db sh -c 'MYSQL_PWD="$MYSQL_ROOT_PASSWORD" mysqldump -uroot -P23306 --single-transaction atglance' | gzip > atglance-$(date +%F).sql.gz
docker exec ce-atglance-app grep APP_KEY /app/storage/.env > app-key-$(date +%F).txt

Clone this wiki locally