mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-04 23:18:44 +08:00
feat(settings): configure migration backups (#687)
This commit is contained in:
@@ -106,6 +106,7 @@ const SystemSettings = ref<any>({
|
||||
DB_BACKUP_PATH: null,
|
||||
DB_BACKUP_RETENTION_DAYS: 30,
|
||||
DB_BACKUP_MAX_COUNT: 30,
|
||||
DB_BACKUP_ON_UPGRADE: true,
|
||||
// 媒体
|
||||
RECOGNIZE_PLUGIN_FIRST: false,
|
||||
MEDIA_RECOGNIZE_SHARE: true,
|
||||
@@ -2537,6 +2538,14 @@ watch(currentLlmSnapshotKey, (snapshotKey, previousSnapshotKey) => {
|
||||
prepend-inner-icon="mdi-backup-restore"
|
||||
/>
|
||||
</VCol>
|
||||
<VCol cols="12">
|
||||
<VSwitch
|
||||
v-model="SystemSettings.Advanced.DB_BACKUP_ON_UPGRADE"
|
||||
:label="t('setting.system.dbBackupOnUpgrade')"
|
||||
:hint="t('setting.system.dbBackupOnUpgradeHint')"
|
||||
persistent-hint
|
||||
/>
|
||||
</VCol>
|
||||
</template>
|
||||
<VCol cols="12">
|
||||
<VSwitch
|
||||
|
||||
Reference in New Issue
Block a user