Limit total amount uploaded to remote

What is the problem you are having with rclone?

I have a quota of 1TB available on my OneDrive and over 1TB of data locally. Rclone just keeps uploading until the remote quota is filled.

I would like to be able to limit the max amount of data that rclone attempts to upload.

I'm aware of Upload size target limit? but that was what, 7+ years ago.

Run the command 'rclone version' and share the full output of the command.

n/a

Which cloud storage system are you using? (eg Google Drive)

OneDrive (Personal)

The command you were trying to run (eg rclone copy /tmp remote:tmp)

N/a

I thought --max-transfer sets a max upload limit for each execution of rclone.

I'm running rclone every night and already include --max-transfer 30G --cutoff-mode=soft in my command, but rclone has uploaded 1TB in total in the weeks and months its been running.

By the way, I even applied your recommendation from the restic forum in this case (with the difference that I'm just using rclone and no restic).

I have a placeholder.file of 1 GB in place, but rclone still managed to upload 1 TB before Onedrive started complaining.

1 Like

You are right. rclone does not have any means to keep track of total volume transferred during multiple sessions.

Maybe onedrive with strict 1TB quota is not the right remote for whatever you are doing.

I was intending this to be a feature request, or are you suggesting that it's fundamentally impossible?

If rclone can perform rclone ls then surely it can know how much space on the remote it is using? And rclone about demonstrates knowledge of the max available storage on the remote.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.