@Service public class DataSourceBackupServiceImpl extends Object implements DataSourceBackupService
| Constructor and Description |
|---|
DataSourceBackupServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
backup(String dsKey,
String targetDir)
数据源备份
|
List<DsBackup> |
listBackupRecords(String dsKey)
获取备份记录
|
List<DataSourceDTO> |
listDataSource(List<DataStoreTypeEnum> dataStoreTypes,
String keyword)
获取待备份数据源列表
|
public List<DataSourceDTO> listDataSource(List<DataStoreTypeEnum> dataStoreTypes, String keyword)
DataSourceBackupServicelistDataSource in interface DataSourceBackupServicedataStoreTypes - 数据存储类型keyword - 关键词public Boolean backup(String dsKey, String targetDir)
DataSourceBackupServicebackup in interface DataSourceBackupServicedsKey - 数据源keytargetDir - 目标文件夹public List<DsBackup> listBackupRecords(String dsKey)
DataSourceBackupServicelistBackupRecords in interface DataSourceBackupServicedsKey - 数据源keyCopyright © 2025. All rights reserved.