同步任务
全局仪表盘
同步目标
同步任务
同步日志
同步设置
同步任务列表
诊断
手动触发同步
创建任务
刷新
暂无同步任务,点击上方按钮创建
{{ scope.row.name }}
(已禁用)
{{ getTargetName(scope.row.targetId) }}
{{ fileStats[scope.row.id].localFileCount }}
-
-
{{ fileStats[scope.row.id].remoteFileCount }}
-
-
{{ getWatchModeName(scope.row.watchMode) }}
实时监控
{{ getScheduleDesc(scope.row) }}
未设置
{{ getStatusName(scope.row.lastStatus) }}
{{ formatDate(scope.row.createTime) }}
-
{{ formatDate(scope.row.lastRunTime) }}
从未同步
{{ scope.row.filesSuccess || 0 }}
/
{{ scope.row.filesFailed || 0 }}
-/-
{{ watcherStatus[scope.row.id] ? '监控中' : '已停止' }}
等待生成
-
{{ scope.row.isRunning ? '运行中' : '执行' }}
停止
{{ watcherStatus[scope.row.id] ? '停止监控' : '启动监控' }}
同步日志
{{ formatDateTime(log.startTime) }}
{{ getStatusName(log.status) }}
{{ log.filesSuccess || 0 }}/{{ log.filesTotal }}
({{ log.filesFailed }}失败)
{{ formatBytes(log.bytesTotal) }}
{{ log.errorMessage }}
暂无同步记录
编辑
{{ scope.row.isEnabled ? '禁用' : '启用' }}
重置状态
删除
{{ t.name }}
{{ t.description || '' }}
保存为模板
管理模板
已应用模板规则,可手动调整
浏览
浏览
远程路径格式:SFTP/FTP用绝对路径,云存储用/开头的路径
频率:
不设置定时
每天
每周
每月
时间:
星期:
{{ day.label }}
日期:
Cron表达式: {{ getCronPreview() }}
应用默认值
已设置默认值
{{ dir }}
添加
从本地目录选择
支持:node_modules、.git、dist 等目录名
{{ rule }}
添加
支持通配符:* 匹配任意字符,** 匹配任意目录
保存当前排除规则为默认值
其他站点新建任务时可快速应用
取消
测试连接
保存
可选择现有分组、输入新分组名称或直接创建
公开模板可被所有站点使用
将保存以下规则:
本地路径: {{ form.localPath }}
远程路径: {{ form.remotePath }}
排除目录: {{ form.excludeDirs.join(', ') }}
排除文件: {{ form.excludeRules.join(', ') }}
包含规则: {{ form.includeRules.join(', ') }}
无自定义规则
取消
保存模板
创建
新建分组
共 {{ filteredManageTemplates.length }} 个模板
{{ scope.row.group || '默认' }}
{{ scope.row.name }}
{{ scope.row.description || '-' }}
删除
返回上级
{{ currentPath || '选择目录' }}
{{ directories.length === 0 ? '此目录为空或无法访问' : '未找到匹配的目录' }}
{{ dir.name }}
取消
确定
返回上级
{{ excludePickerPath || '选择目录' }}
此目录为空
{{ dir.name }}
返回上级
当前: {{ remoteCurrentPath || '/' }}
刷新
{{ remoteDirectories.length === 0 ? '此目录为空或无法访问' : '未找到匹配的目录' }}
{{ dir.name }}
选择
已选择:
{{ selectedRemotePath || remoteCurrentPath }}
取消
确定
任务名称
{{ currentSyncTask.name }}
同步目标
{{ getTargetName(currentSyncTask.targetId) }}
文件进度
{{ syncProgress.filesSynced }} / {{ syncProgress.filesTotal }}
数据进度
{{ formatBytes(syncProgress.bytesSynced) }} / {{ formatBytes(syncProgress.bytesTotal) }}
成功率
{{ syncProgress.filesSuccess }}
/
{{ syncProgress.filesFailed }}
正在同步:
{{ syncProgress.currentFile }}
{{ diagnoseInfo }}