API Endpoint
Get List of Backup Files
Retrieve a list of all available backup files for a specific Opensolr index. Use this to find backup file names before downloading them.
Endpoint
GET https://opensolr.com/solr_manager/api/get_backup_files_list
Parameters
| Parameter | Status | Description |
|---|---|---|
email | required | Your Opensolr registration email address |
api_key | required | Your Opensolr API key |
core_name | required | The name of the index you wish to get the backup files list for |
Code Examples
cURL
curl -s "https://opensolr.com/solr_manager/api/get_backup_files_list?email=YOUR_EMAIL&api_key=YOUR_API_KEY&core_name=YOUR_INDEX"
PHP
$params = http_build_query([ 'email' => 'YOUR_EMAIL', 'api_key' => 'YOUR_API_KEY', 'core_name' => 'YOUR_INDEX', ]); $response = json_decode(file_get_contents( 'https://opensolr.com/solr_manager/api/get_backup_files_list?' . $params ), true); print_r($response);
Python
import requests response = requests.get( "https://opensolr.com/solr_manager/api/get_backup_files_list", params={ "email": "YOUR_EMAIL", "api_key": "YOUR_API_KEY", "core_name": "YOUR_INDEX", } ) data = response.json() print(data)
Related Documentation
Create Backup
Create a new backup snapshot of your Opensolr index.
Download Backup
Download a backup file to your local machine via HTTP.
Backup Guide
Complete guide to Opensolr backups: enable, create, restore, and download.
Need help with backups or disaster recovery? We can help.
Contact Support