Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

Use clone style in BackupTable since we are going to clone to a new database using the selected backup instead of restore to the same database.

天舟612cc90f24fd
diff --git a/frontend/src/components/BackupTable.vue b/frontend/src/components/BackupTable.vue
index b38dfb2b82..f314d7b40b 100644
--- a/frontend/src/components/BackupTable.vue
+++ b/frontend/src/components/BackupTable.vue
@@ -92,10 +92,10 @@
<BBTableCell>
<BBButtonConfirm
v-if="backup.status == 'DONE'"
- :style="'RESTORE'"
+ :style="'CLONE'"
:requireConfirm="true"
- :okText="'Restore'"
- :confirmTitle="`Are you sure to restore '${backup.name}' to database '${database.name}'?`"
+ :okText="'Clone'"
+ :confirmTitle="`Are you sure to clone a new database '${database.name}' based on backup '${backup.name}'?`"
:confirmDescription="''"
@confirm="restoreBackup(backup)"
/>
@@ -131,7 +131,7 @@ const columnList: BBTableColumn[] = [
title: "Creator",
},
{
- title: "Restore",
+ title: "Clone",
},
];