计划任务网盘备份上传的时候大概率失败

ONEDRIVE测试了,大文件计划任务上传之后大概率会提示 [ERROR] upload file to 微软 failed, err:
阿里云盘备份的方式基本用不了,无论大小大概率都会提示
[2025-05-21 00:01:21] [ERROR] cronjob alert push failed, err: record not found
[2025-05-21 00:01:24] [ERROR] upload file to 阿里云盘 failed, err: Post “https://api.aliyundrive.com/adrive/v3/file/list”: net/http: TLS handshake timeout

换了ONEDRIVE小文件能备份,网站目录这种1GB+的大文件大概率就提示 [ERROR] upload file to 微软 failed, err:

日志

[2025-05-21 01:21:44] [DEBUG] tar --warning=no-file-changed --ignore-failed-read --exclude-from=<(find /opt/1panel/tmp/website/v.****.com/website_v.****.com_20250521011340aa8l7/v.****.com.runtime -type s -printf '%P' | sed 's|^|v.****.com.runtime/|') -zcf /opt/1panel/tmp/website/v.****.com/website_v.****.com_20250521011340aa8l7/v.****.com.runtime.tar.gz v.****.com.runtime[2025-05-21 01:21:44] [INFO] start to mysqldump | gzip > /opt/1panel/tmp/website/v.****.com/website_v.****.com_20250521011340aa8l7/v.****.com.sql.gz.gzip[2025-05-21 01:22:06] [DEBUG] tar --warning=no-file-changed --ignore-failed-read --exclude-from=<(find /opt/1panel/www/sites/v.****.com -type s -printf '%P' | sed 's|^|v.****.com/|') -zcf /opt/1panel/tmp/website/v.****.com/website_v.****.com_20250521011340aa8l7/v.****.com.web.tar.gz v.****.com[2025-05-21 01:28:19] [DEBUG] tar --warning=no-file-changed --ignore-failed-read --exclude-from=<(find /opt/1panel/tmp/website/v.****.com/website_v.****.com_20250521011340aa8l7 -type s -printf '%P' | sed 's|^|website_v.****.com_20250521011340aa8l7/|') -zcf /opt/1panel/tmp/website/v.****.com/website_v.****.com_20250521011340aa8l7.tar.gz website_v.****.com_20250521011340aa8l7[2025-05-21 01:33:30] [DEBUG] start upload file to 微软, dir: S1备份/website/v.****.com/website_v.****.com_20250521011340aa8l7.tar.gz[2025-05-21 01:40:02] [ERROR] upload file to 微软 failed, err:[2025-05-21 02:05:13] [DEBUG] tar --warning=no-file-changed --ignore-failed-read --exclude-from=<(find /opt/1panel/runtime/php/php-8 -type s -printf '%P' | sed 's|^|php-8/|') -zcf /opt/1panel/tmp/website/www.****.com/website_www.****.com_20250521020512vn1zc/www.****.com.runtime/runtime.tar.gz php-8[2025-05-21 02:05:14] [DEBUG] tar --warning=no-file-changed --ignore-failed-read --exclude-from=<(find /opt/1panel/tmp/website/www.****.com/website_www.****.com_20250521020512vn1zc/www.****.com.runtime -type s -printf '%P' | sed 's|^|www.****.com.runtime/|') -zcf /opt/1panel/tmp/website/www.****.com/website_www.****.com_20250521020512vn1zc/www.****.com.runtime.tar.gz www.****.com.runtime[2025-05-21 02:05:14] [INFO] start to mysqldump | gzip > /opt/1panel/tmp/website/www.****.com/website_www.****.com_20250521020512vn1zc/www.****.com.sql.gz.gzip[2025-05-21 02:05:16] [DEBUG] tar --warning=no-file-changed --ignore-failed-read --exclude-from=<(find /opt/1panel/www/sites/www.****.com -type s -printf '%P' | sed 's|^|www.****.com/|') -zcf /opt/1panel/tmp/website/www.****.com/website_www.****.com_20250521020512vn1zc/www.****.com.web.tar.gz www.****.com[2025-05-21 02:07:50] [DEBUG] tar --warning=no-file-changed --ignore-failed-read --exclude-from=<(find /opt/1panel/tmp/website/www.****.com/website_www.****.com_20250521020512vn1zc -type s -printf '%P' | sed 's|^|website_www.****.com_20250521020512vn1zc/|') -zcf /opt/1panel/tmp/website/www.****.com/website_www.****.com_20250521020512vn1zc.tar.gz website_www.****.com_20250521020512vn1zc[2025-05-21 02:08:57] [DEBUG] start upload file to 微软, dir: S1备份/website/www.****.com/website_www.****.com_20250521020512vn1zc.tar.gz[2025-05-21 02:19:00] [DEBUG] upload successful![2025-05-21 02:19:00] [DEBUG] tar --warning=no-file-changed --ignore-failed-read --exclude-from=<(find /opt/1panel/runtime/php/php-7 -type s -printf '%P' | sed 's|^|php-7/|') -zcf /opt/1panel/tmp/website/v.****.com/website_v.****.com_202505210205128c784/v.****.com.runtime/runtime.tar.gz php-7[2025-05-21 02:19:01] [DEBUG] tar --warning=no-file-changed --ignore-failed-read --exclude-from=<(find /opt/1panel/tmp/website/v.****.com/website_v.****.com_202505210205128c784/v.****.com.runtime -type s -printf '%P' | sed 's|^|v.****.com.runtime/|') -zcf /opt/1panel/tmp/website/v.****.com/website_v.****.com_202505210205128c784/v.****.com.runtime.tar.gz v.****.com.runtime[2025-05-21 02:19:01] [INFO] start to mysqldump | gzip > /opt/1panel/tmp/website/v.****.com/website_v.****.com_202505210205128c784/v.****.com.sql.gz.gzip[2025-05-21 02:19:25] [DEBUG] tar --warning=no-file-changed --ignore-failed-read --exclude-from=<(find /opt/1panel/www/sites/v.****.com -type s -printf '%P' | sed 's|^|v.****.com/|') -zcf /opt/1panel/tmp/website/v.****.com/website_v.****.com_202505210205128c784/v.****.com.web.tar.gz v.****.com[2025-05-21 02:25:33] [DEBUG] tar --warning=no-file-changed --ignore-failed-read --exclude-from=<(find /opt/1panel/tmp/website/v.****.com/website_v.****.com_202505210205128c784 -type s -printf '%P' | sed 's|^|website_v.****.com_202505210205128c784/|') -zcf /opt/1panel/tmp/website/v.****.com/website_v.****.com_202505210205128c784.tar.gz website_v.****.com_202505210205128c784[2025-05-21 02:30:40] [DEBUG] start upload file to 微软, dir: S1备份/website/v.****.com/website_v.****.com_202505210205128c784.tar.gz[2025-05-21 02:37:22] [ERROR] upload file to 微软 failed, err:

之前宝塔上传就很正常

什么版本? v1 还是 v2

V2 BETA2 阿里云上传10次有9次失败,微软onedrive大文件备份会极大概率失败,1GB左右的文件失败概率对半开,100MB左右的数据库备份一般都会成功。看了日志都是卡在上传那步,tmp里会正常生成备份的压缩包。
计划任务一都是显示成功,但是去了网盘里发现没有文件,去了日志审计里才发现挂在上传那步。
服务器时间是同步的,网络应该也没问题。。。因为开通了同类同系统的机器使用宝塔就可以正常上传备份到onedrive

计划任务里面有一个超时时间,设置的多少

好像是30分钟,和这个超时时间有关系吗?那我下次改成三小时再试试。。。。如果真的和这个有关系那确实,后面那个上传失败的文件有6GB半个小时应该上传不完。。。。不过阿里云盘那个备份貌似明确是和超时时间没关系的,因为除了几兆那种极小的,100M的小文件也上传不上去。会显示:point_down:

[2025-05-21 00:01:21] [ERROR] cronjob alert push failed, err: record not found
[2025-05-21 00:01:24] [ERROR] upload file to 阿里云盘 failed, err: Post “https://api.aliyundrive.com/adrive/v3/file/list”: net/http: TLS handshake timeout

阿里云盘应该是没有忽略 https 校验,我检查一下