API Gateway 10.15 | Administering API Gateway | Container-based Provisioning | Docker Configuration | Data Backup using Docker Container | Running the API Gateway Utility Container | Running the API Gateway Utility Container | Exiting the container after performing an operation | Keeping the container alive to perform multiple backup operations
 
Keeping the container alive to perform multiple backup operations
You need not exit the container, if you want to perform more than one backup operation.
*To perform a backup operation by running the API Gateway Utility container
1. Run the following command:
docker run -e apigw_elasticsearch_hosts=[host:port] [IMAGE] -i [COMMAND]
where,
*-e. Variable to specify the API Data Store or Elasticsearch host and port.
*[IMAGE]. API Gateway Image that you created following the steps in the section, Running the API Gateway Utility Container.
*-i. Variable to specify the backup command.
*[COMMAND]. The required backup command. For information on possible backup operations and the commands to be used with the apigatewayutil utility, see Backup Operation.
For example,
docker run -e apigw_elasticsearch_hosts=daeyaix1bvt01.eur.ad.sag:9240 apigwutil -i list backup
Note:
Ensure that the Elasticsearch port is accessible to run the backup command.