Backup and Restore¶
Ella Core stores all persistent data in an embedded database. You can create backups of this database to protect your data and restore it in case of data loss.
- Open Ella Core in your web browser.
- Navigate to the Backup and Restore tab in the left-hand menu.
- Click on the Backup button.
- The backup file will be downloaded to your computer. Store this file in a safe location.
Note
This operation can also be done using the API. Please see the backup API documentation for more information.
Warning
Restoring a backup will overwrite all existing data in your Ella Core installation. This path is disabled in HA mode. Clustered deployments use the disaster-recovery flow described below.
On a new installation of Ella Core, you can restore a backup to recover your data.
- Open Ella Core in your web browser.
- Navigate to the Backup and Restore tab in the left-hand menu.
- Click on the Upload File button.
- Select the backup file you want to restore.
Note
This operation can also be done using the API. Please see the restore API documentation for more information.
Disaster recovery for HA clusters¶
- Stop every voter in the cluster.
-
On one node, drop the backup archive into the data directory as
restore.bundle:sudo mv backup.tar.gz /var/snap/ella-core/common/restore.bundle sudo chmod 600 /var/snap/ella-core/common/restore.bundle -
Start the daemon on that node:
sudo snap start --enable ella-core.cored -
Add the remaining nodes via the join-token flow.