Export resources and services to a file.
The iagctl db export command exports services and resources to a file. Use this command to move services and resources from one gateway instance to another.
The following example exports all services and resources and displays the output in the terminal:
Use the -f flag to switch between JSON and YAML output. YAML is the default format:
Use the --file flag to save the output to a file:
The following example shows the structure of an exported service file: