Skip to main content
Version: v7

Local storage and backups

Chibisafe v7 stores its SQLite database at /app/database/local.db and its files under /app/uploads. Keep those mounts when replacing the image. Compose uses named volumes by default. Use separate volumes for testing upgrades.

Back up an instance​

  1. Stop Chibisafe so uploads and database writes are paused.
  2. Back up the database volume and the uploads volume together. Preserve the uploads directory structure, including thumbnails and quarantine.
  3. Keep the deployment configuration and environment secrets in a separate private backup. Restrict access to backups. They contain account and file metadata as well as uploaded files.
  4. Restore into a test deployment and verify login, file listings, downloads, and a sample share. Start the original deployment again after collecting the backup.

Keep the volume owner writable by the application user, UID/GID 1000. Running docker compose down preserves named volumes. Adding -v removes them.

The v7 exporter requires local v6 uploads. See upgrade from v6 for unsupported storage configurations and v6 storage for legacy S3 instructions.