Records
API/CLI
You can export the records in your indices using one of these methods:
- Use the browse method with an API client
- Use the algolia objects browse command with the Algolia CLI
Dashboard
This is not currently possible.
Settings, Rules, Synonyms
API/CLI
You can export the configuration settings, Rules and synonyms with the following methods:
- Use the getSettings, exportRules and exportSynonyms method with an API client
- Use the algolia settings get, algolia rules browse or algolia synonyms browse command with the Algolia CLI
Dashboard
The documentation is here for settings, Rules and synonyms.
Automated backups
It is recommended that you backup regularly to avoid any loss of data. You will be able to write a script that keeps snapshot backups of your data.
In this repo, we have provided a few starter scripts in different programming languages (for example this one in JavaScript).
If you do not need to backup your records, we have a full backup of settings, synonyms and Rules using GitHub Actions and the Algolia CLI here that leverages the Algolia CLI setup by github.com/marketplace/actions/setup-algolia-cli.