- 13 Jun 2024
- 1 Minute to read
- Print
- DarkLight
Backing up and restoring a Data model
- Updated on 13 Jun 2024
- 1 Minute to read
- Print
- DarkLight
This topic describes how to backup and restore a Data model.
Board's native backup and restore functions allow you to make a full backup of your Data model in a few clicks.
The backup function creates a snapshot of the Data model by making a copy of its files in a backup directory. The backup function ensures the consistency of the Data model: if any update operation is in progress, the backup function waits for it to complete and then safely makes a copy of the files by temporarily stopping the execution of other queued update operations.
When the backup function is executed, users will still be able to work on the Data model, with no downtime.
A backup copy of a Data model includes everything that has been created in it (Entities, Relationships, Cubes, Procedures, Rules, Data readers, etc.): it's an exact and complete copy of the source Data model.
Backup
To back up a Data model, proceed as follows:
Click on the vertical 3 dots in the upper right corner of a Data model tile
Select "Backup"
A confirmation popup window will appear, click "YES" to back up the Data model.
The backup function can also be triggered from a Procedure using the "Backup Data model" action.
Restore
To restore a Data model from an existing backup copy, proceed as follows:
Click on the vertical 3 dots in the upper right corner of a Data model tile
Select "Restore"
Select the desired backup copy from the list. You can choose to restore any existing backup copy of any Data model: the name of each backup copy is the same as that of the source Data model
A confirmation popup window will appear, click "YES" to restore the selected backup copy.
The restore function can also be triggered from a Procedure using the "Restore database" action.
When you restore a Data model from a backup copy, you overwrite the data in the Data model with the data from the backup copy: this action cannot be undone.