|
@@ -739,8 +739,9 @@ public class FileServiceImpl implements FileService {
|
|
|
reportZipFile.getParentFile().mkdirs();
|
|
reportZipFile.getParentFile().mkdirs();
|
|
|
}
|
|
}
|
|
|
// 先将整个目录压缩,再备份该压缩文件
|
|
// 先将整个目录压缩,再备份该压缩文件
|
|
|
- ZipUtils.zipFolder(dynamicProperties.getLocalBaseDir(), reportZipFile.getPath(), fileFilter);
|
|
|
|
|
- FileUtils.backup(reportZipFile, 10);
|
|
|
|
|
|
|
+ // dynamicProperties.getLocalBaseDir()路径取错,先暂时关闭定时备份
|
|
|
|
|
+ // ZipUtils.zipFolder(dynamicProperties.getLocalBaseDir(), reportZipFile.getPath(), fileFilter);
|
|
|
|
|
+ // FileUtils.backup(reportZipFile, 10);
|
|
|
} catch (IOException e) {
|
|
} catch (IOException e) {
|
|
|
logger.error("备份失败", e);
|
|
logger.error("备份失败", e);
|
|
|
}
|
|
}
|