Restore¶
Usage¶
You can find the restore command usage down the cxcli agent restore
command. You can read the documentation about this command here.
File format to be restored
Now you can restore your agents in blob
or json
format. When you choose json
format, the input file has to be a zip
file with a proper Dialogflow CX structure.
Example¶
This a simple example of the cxcli agent restore
command:
cxcli agent restore test-agent --project-id test-cx-346408 --location-id us-central1 --input agent.blob
The command above will give you an output like this one:
$ cxcli agent restore test-agent --project-id test-cx-346408 --location-id us-central1 --input agent.zip
INFO Agent restored
are you running this command in a CICD pipeline?
If this is the case, we recommend you to execute with the --output-format
parameter set to json
.
Useful Links¶
If you want to learn more about Dialogflow CX restores, check the official documentation.