type
status
date
slug
summary
tags
category
icon
password
URL
1.安装
curl https://rclone.org/install.sh | sudo bash
2.挂载
挂载见官网教程
比较复杂的google drive的挂载流程。
3.使用
3.1 OneDrive相关
上传开8线程足够,一天大约能上传2Tb
下载不要多开,保持rclone默认设置即可。一天能下载1-1.5Tb。
一些限制
1、微软OneDrive 单账号/全域/api相关动态 限额策略简析
1.单账号稳定1Gbps传输速度内,2tb后就会限速,如果超速,1tb就限制你也是正常的
2.微软的限速策略是动态智能限制,处于触发状态后,你如果进行类似高负荷操作,很快就会再进宫
3.即便你隔了3,5日后再操作,依然会很快被标记
4.根据经验,50-70MB/s的速度可以持续跑到2tb,无论多慢的平均速度,依然注意存在2tb左右的额度触发
5.单api有线程限制,推荐不要超过16线程,超过会容易提前触发限制
6.单账号下申请多个私有api也有一个共享的额度和线程限制,长期大量拷贝不推荐单账号下申请多个独立api,而是推荐域内每一个账号申请对应1个api即可
7.总域仍然有总线程数和平均速度以及额度限制,所有账号对应的api,总线程不推荐超过40线程,32-36线程比较稳定可以持续跑,但是注意依然有总额度10tb左右额度限制触发
8.微软的服务器有物理限速瓶颈,总带宽大约是3Gbps-4Gbps左右,如果你的带宽超过此国际带宽总额,似乎没有很好的办法提升
9.微软的存储架构存在吞吐量的不足,长时间大量拷贝,大约200tb左右会频繁触发service unavailable 错误,导致文件无法成功传输,推测可能是硬盘io问题,或者数据库结构瓶颈,请等待机房为你个人增加硬盘,系统恢复后再拷贝
10.结合第二点,推荐准备至少10个账号和对应的10个api,这样可以使得你在微软的多维规则限制下,瓶颈不在于你自己,分为两组,交替使用,以免“过热”
11.微软的下载取回速度是远低于存入的,请做好翻车的心理准备,1个月你能取回的数据可能只有50tb左右,如果是正规车要翻车,1个月的时间,也拯救不了你的。
- 去重 rclone repute --by-hash --dedupe-mode newest
- 去除历史版本 rclone cleanup
- 提高上传速度 --onedrive-chunk-size
- 声明用户代理 --user-agent "ISV|rclone.org|rclone/v1.55.1"
- 下载被微软认为是病毒的文件 --onedrive-av-override
- 禁用历史版本
sharepoint 管理员
Install-Module -Name Microsoft.Online.SharePoint.PowerShell
(in case you haven't installed this already)
Import-Module Microsoft.Online.SharePoint.PowerShell -DisableNameChecking
Connect-SPOService -Url https://YOURSITE-admin.sharepoint.com -Credential [email protected]
(replacingYOURSITE
,YOU
,YOURSITE.COM
with the actual values; this will prompt for your credentials)
Set-SPOTenant -EnableMinimumVersionRequirement $False
Disconnect-SPOService
(to disconnect from the server)
普通用户
- Open the settings menu by clicking on the gear symbol at the top of the OneDrive Business page.
- Click Site settings.
- Once on the Site settings page, navigate to Site Administration > Site libraries and lists.
- Click Customize "Documents".
- Click General Settings > Versioning Settings.
- Under Document Version History select the option No versioning. Note: This will disable the creation of new file versions, but will not remove any previous versions. Your documents are safe.
- Apply the changes by clicking OK.
- Use rclone to upload or modify files. (I also use the --no-update-modtime flag)
- Restore the versioning settings after using rclone. (Optional)
3.2 Google drive相关
- 下载文件 --drive-root-folder-id
- 下载被识别成病毒的文件 --drive-acknowledge-abuse
- 使用SA文件 --drive-service-account-file
- 显示配额 rclone about
3.webdav
用来挂载alist和OneDrive share link(见这篇博文)
4.其他教程
- 作者:duanren
- 链接:https://tangly1024.com/article/51608a07-d89e-40a1-8cbf-d60967832af8
- 声明:本文采用 CC BY-NC-SA 4.0 许可协议,转载请注明出处。