You can import and export feature flag configurations between environments within an instance or between different Unleash instances. This lets you migrate between self-hosted and cloud-hosted instances, move from open source version to Unleash Enterprise, or use import/export as part of a backup and restore strategy.
On the project-level, you can import and export:
On the environment-level, you can import and export:
For additional global configuration, you can import and export:
Not included in the export:

As a result, you’ll have a JSON export that includes the selected flags in the chosen environment.

As a result, you’ll have a JSON export that includes the selected flags in the chosen environment.

As a result, you’ll have a JSON export that includes the selected flags in the chosen environment.
Before you begin an import, ensure that you have met the following requirements:
413 Payload Too Large. Export in batches to stay under the limit.The import process runs in three stages: import file, validate configuration, and finish import.


See the full list of validation rules here.
When validation passes with no errors, you can commit the import by clicking Import configuration.
The target environment now contains the imported configuration. If change requests are enabled for the environment, Unleash creates a draft change request with all changes instead of applying them immediately.
Unleash enforces the following validation rules during import:
Context fields: If the import contains context fields with defined legal values, matching context fields must already exist in the target instance. The imported legal values must be a subset of the existing ones.
Segments: Segments referenced by name must already exist in the target instance. If not present, the import stops.
Dependencies: Parent features must already exist in the target instance or be included in the import file.
Custom strategies: If your import contains custom strategies, then custom strategies with the same names must already exist in the target Unleash instance. Note that Unleash doesn’t verify that the configuration parameters of the strategies match.
Existing features in other projects: If a feature exists in a different project on the target instance, the import is rejected.
Archived features: You can’t import any features that have already been archived on the target Unleash instance. You must either permanently delete those archived features from the target instance, or revive them.
To run an import you always need the Update feature flags permission. Depending on what your import changes, you may also need:
If change requests are enabled, permissions for activation strategies or variants are not required.
You can also import on startup by using an import file in a JSON format either through configuration parameters and environment variables.