lf dump
Dump all entities, evaluations and policies of an AI app into a directory. The dump can be recreated on the same or a different instance with lf restore.
Usage
lf dump [OPTIONS]Options
| Name | Type | Description | Default |
|---|---|---|---|
--app, -a |
text | Key of the AI app to dump. Defaults to the current context. | |
--to, -t |
path | Directory to write the dump to. Created if it does not exist. Overwritten if it exists. | |
--with-secrets |
boolean | Include secret values in the dumped evaluation bundles so the restored bundles are usable without re-entering credentials. Secrets will be recreated as secrets and will remain available for the tenant. Requires admin permissions. | False |