github.com/1aal/kubeblocks@v0.0.0-20231107070852-e1c03e598921/docs/user_docs/backup-and-restore/restore/restore-data-from-backup-set.md (about)

     1  ---
     2  title: Restore from backup set
     3  description: How to restore data from backup set
     4  keywords: [backup and restore, restore, backup set]
     5  sidebar_position: 6
     6  sidebar_label: Restore from backup set
     7  ---
     8  
     9  # Restore data from backup set
    10  
    11  KubeBlocks supports restoring data from a backup set.
    12  
    13  ## Option 1. Restore by kbcli cluster restore command
    14  
    15  1. View the backup set.
    16  
    17     ```bash
    18     kbcli cluster list-backups
    19     ```
    20  
    21  2. Specify a new cluster and a backup set to restore data.
    22  
    23     ```bash
    24     kbcli cluster restore new-mysql-cluster --backup backup-default-mysql-cluster-20230418124113
    25     ```
    26  
    27  3. View this new cluster and make sure it is `Running`.
    28  
    29     ```bash
    30     kbcli cluster list new-mysql-cluster
    31     ```
    32  
    33  ## Option 2. Restore by kbcli cluster create command
    34  
    35  ```bash
    36  kbcli cluster create --backup backup-default-mycluster-20230616190023
    37  ```