feat: 完成 mysql 数据库备份与恢复功能

This commit is contained in:
ssongliu
2022-10-27 23:09:39 +08:00
committed by ssongliu
parent 325bb7bb5f
commit 8cf9c27f5f
21 changed files with 494 additions and 82 deletions

View File

@@ -4,6 +4,19 @@ export namespace Database {
export interface Search extends ReqPage {
version: string;
}
export interface SearchBackupRecord extends ReqPage {
version: string;
dbName: string;
}
export interface Backup {
version: string;
dbName: string;
}
export interface Recover {
version: string;
dbName: string;
backupName: string;
}
export interface MysqlDBInfo {
id: number;
createdAt: Date;