API Gateway 11.1 | Administering API Gateway | Operating API Gateway | Data Management | Data Backup | Advanced Backup Options | Viewing Backup Files List
 
Viewing Backup Files List
You can view the list of backup files in a repository using the _all endpoint.
*To view the list of backup files
1. Ensure your external Elasticsearch cluster is up and running.
2. View the backup files list using the following command:
GET http://es-host:es-port/_snapshot/repo-name/_all
In this command, replace es-host and es-port with the hostname and port of your external Elasticsearch cluster. Replace repo-name with the name of your backup repository.
A sample command to view the backup files list is as follows:
curl -s -X GET http://es-host:es-port/_snapshot/repo-name/_all
In this example:
*The external Elasticsearch cluster is assumed to be running on es-host with port es-port.
*The command retrieves the list of snapshots stored in the repo-name respository.
Review the list of backups to understand which snapshots exist in the repository. Use this information to manage and monitor your backups effectively, such as verifying completion status, checking indices included, and identifying any failed backups that may require attention.