ByteHouse provides a data backup function, which solves the problem of restoring data after accidental deletion or modification, and enables disaster recovery in extreme cases. ByteHouse supports full and incremental backups. You can configure backup strategies as needed to ensure data security and improve data recovery efficiency. This article will guide you on how to configure backup strategies, restore data, and manage backup sets in the ByteHouse console.
Details | Important notes |
|---|---|
Supported databases and tables |
|
Costs |
|
Log in to the ByteHouse cloud data warehouse console, click the top Tenant management, and then click the Data backup tab. When you access for the first time, a welcome prompt will appear. Click the OK button on the prompt page to enable the data backup function. The welcome prompt for first-time access is shown in the following figure.
On the Data backup page, click the Backup policy tab and then the Create backup policy button.
In the pop-up page, fill in the information to create a backup strategy.
Enter basic information, including the backup strategy name and the virtual warehouse to use.
Select the backup object. You can back up a database or an entire data table.
Configure the backup plan.
Parameter | Configuration description |
|---|---|
Backup method | Supports setting as full backup or full backup plus incremental backup.
|
Backup set retention period | Set the retention duration for the backup set. Supports retention for up to 90 days. |
Execution time zone | Set the time zone referenced for backup execution. This time zone determines the actual execution time of the backup task. |
Execution period | Full backup must be set. Supports setting as one-time or periodic.
|
Execution time | One-time full backup must be set. This parameter is used to set the execution time for the one-time full backup task. |
Repeat period | Periodic full backup and full+incremental backup must be set. This parameter specifies the time for periodic execution of the backup task. You can select the repeat period from the drop-down list as needed. |
Full backup | Full+incremental backup must be set. This parameter is used to set the execution time for the full backup. After configuration is complete, you can check in the preview area whether the configured period meets your requirements. |
Incremental backup | When full+incremental backup and weekly incremental backup are selected, you need to set which day of the week to execute the incremental backup. |
Click Create.
Successfully created tasks will appear in the backup strategy list. When the scheduled time arrives, the system will automatically execute the backup task.
You can click the Backups tab to view completed backup sets.
After the backup task is automatically completed, you can view the status of the backup in the backup set. If the backup is not successful, you can click the corresponding backup set task name to view task details, including the scope of failed backup data and the reason for failure.
After executing the backup task, you can restore data in the backup set.
Procedure:
You can view all executed backup sets in the Backups tab. For redundant backup sets that are no longer needed, you can click the Delete button at the end of the corresponding backup set to delete it and reduce storage costs.
warning
The actions to delete backup sets are irreversible, so please proceed with caution.