Sync
Google Drive sync on a slow or metered connection
Keeps the backup from taking the whole connection: two files at a time, at 5 MiB a second at most.
- Google Drive
- Slow connections
Type your own: the command below follows.
rclone sync /path gdrive:backup \ --transfers 2 \ --bwlimit 5M \ --drive-chunk-size 32M \ -PAdd to Rclone UI opens it in the app’s Templates window, ready to save. No app yet? Download Rclone UI, free.
What it does
Makes the destination match the source. Files that are only in the destination are deleted. rclone’s docs for sync
Each flag
- --transfers 2
- How many files are copied at the same time.rclone’s default: 4
- --bwlimit 5M
- The most bandwidth rclone uses, in bytes per second: 5M is 5 MiB a second. It can also follow a timetable, such as full speed only at night.rclone’s default: off, no limit
- --drive-chunk-size 32M
- On Google Drive only: the size of each piece of an upload. Larger pieces upload faster, but each file being uploaded keeps one piece in memory.rclone’s default: 8Mi
- -P
- Shows the progress in the terminal while the command runs. Rclone UI shows its own, in History.