diff --git a/server/.env.example b/server/.env.example index ccf4332fd..b5d33f49c 100644 --- a/server/.env.example +++ b/server/.env.example @@ -48,6 +48,8 @@ DEMO_MODE=false # Demo mode - resets data hourly # BACKUP_UPLOAD_LIMIT_MB=500 # Max size (MB) of a backup archive you can upload when restoring. Raise it if your backup exceeds 500 MB. If you sit behind a reverse proxy, raise its upload limit too (e.g. nginx client_max_body_size). # TREK_DB_JOURNAL_MODE=WAL # SQLite journal mode (DELETE, TRUNCATE, PERSIST, MEMORY, WAL, OFF). WAL is fastest and the right choice on local disk. Set DELETE if the data directory lives on network storage (Azure App Service, an SMB/NFS volume on a NAS) — WAL coordinates writers through a shared-memory file that those filesystems do not implement reliably. The mode is stored inside the database file, so it survives a restart; changing this applies on the next boot. +# TREK_DB_PRE_MIGRATE_SNAPSHOT=true # Copy the database to data/pre-migrate--