Manually set max drive storage limit for Uloz.to

My problem:

I am trying to backup to a Uloz.to remote through restic backup, but the Uloz.to API does not have the ability to show the max storage limit on the drive. I know it is 25GB so how can I set this in the config file?

Command I am running:

restic -r rclone:uloz: backup

Uloz config:

[Uloz]
type = ulozto
app_token = XXX
password = XXX
username = XXX

And what it would help you with?

AFAIK restic does not have any functionality to operate within set repository size.

It is your responsibility with restic to ensure that you have enough free space. And for this you know already what max storage limit is:)

I am using it as part of a union where the remote with most free space stores the files for each write. That means rclone will always choose the Uloz.to remote as it thinks it has infinite space.

For such rules a remote has to support rclone about and uloz does not.

You can use random create rule instead. It is the best what is possible today.

PS. There are open PRs to address similar scenarios but it is all work in progress without any ETA:

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