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.
-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.