feat: 完成 mysql 从上传恢复功能

This commit is contained in:
ssongliu
2022-11-09 15:08:38 +08:00
committed by ssongliu
parent c49d2ef243
commit 581c940336
18 changed files with 295 additions and 196 deletions

View File

@@ -17,6 +17,12 @@ export namespace Database {
dbName: string;
backupName: string;
}
export interface RecoverByUpload {
mysqlName: string;
dbName: string;
fileName: string;
fileDir: string;
}
export interface MysqlDBInfo {
id: number;
createdAt: Date;
@@ -167,7 +173,7 @@ export namespace Database {
createdAt: string;
size: string;
}
export interface RedisBackupDelete {
export interface FileRecordDelete {
fileDir: string;
names: Array<string>;
}