Follow these steps when performing a hot backup.
The high-level procedure and order for a hot backup is:
- Backup the Solr 6 indexes first.
- Then backup the database.
- Finally backup the contentstore.
Solr 6 indexes have to be backed up first and before the database because if new rows are added in the database after the Solr 6 backup is done, a Solr 6 reindex (AUTO) can regenerate the missing Solr 6 indexes from the database transaction data.
Database backup should be done before backing up the contentstore because if your database points to a missing file, then you’ll not be able to retrieve content for that node. Also, if you have a file without the database data, this just means that the user has added the file too late to be included in a backup and the file will be orphaned.
It is critical to perform hot backups in the following order:
Content Services includes a background job responsible for backing up the Solr 6 indexes that (by default) is configured to run at 3am each night. The hot backup process must not run concurrently with this background job, so you should either ensure that the hot backup completes by 3am, or wait until the index backup job has completed before initiating a hot backup.