Linux

Where Does Unleash Store Flags?

Where self hosted Unleash keeps flags in database on Linux servers. See the folder table below. More below.

Last updated

Unleash is feature flags with server storage. The database holds toggles, strategies, and segments. SDKs cache evaluations locally per app.

Same database means same flags. Exact paths vary by Docker versus managed database installs. Keep backups of the database on schedule. One missing table restores flags without history. For moves, stop writes first to avoid split evaluations during copies. Check the in app storage readout when sizes look wrong on different releases. When in doubt, verify paths inside the app before trusting a remembered folder.

Where Unleash Flags stores this, by platform

Linux
/var/lib/unleash (database, paths vary by install)

Flags live in the server database with strategies attached. Back up the database stopped. Match releases before restore. SDKs cache evaluations locally.

Frequently asked questions

How do I migrate Unleash to a new server?

Back up the Unleash database with services stopped, then install the same release on the new server before restore. Flags follow the database. Mixed releases can refuse old schemas, so match versions first. Keep admin keys separate from shared copies.

Does Unleash back up flag history?

Yes, in the server database per flag with strategy history attached. The host holds a working copy plus SDK cache. Views rebuild after restore. Export JSON files from admin settings for records, since the data directory alone is working state.

Notice an outdated path? Let us know.