LeoM
(Leo)
October 1, 2025, 7:46pm
1
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:)
LeoM
(Leo)
October 1, 2025, 8:07pm
3
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:
master ← metlos:ulozto-about
opened 10:52AM - 25 Aug 25 UTC
#### What is the purpose of this change?
This PR implements the about info fo… r the uloz.to remote. Because the provider doesn't report the total size of the available space, this is solved by simply declaring the total size as a configuration value of the remote.
The used size is properly detected and the free size is then simply computed as the difference between the two.
#### Was the change discussed in an issue or in the forum before?
No.
#### Checklist
- [x] I have read the [contribution guidelines](https://github.com/rclone/rclone/blob/master/CONTRIBUTING.md#submitting-a-new-feature-or-bug-fix).
- [x] I have added tests for all changes in this PR if appropriate.
- [x] I have added documentation for the changes if appropriate.
- [x] All commit messages are in [house style](https://github.com/rclone/rclone/blob/master/CONTRIBUTING.md#commit-messages).
- [x] I'm done, this Pull Request is ready for review :-)
master ← ferferga:better-lno-policy
opened 03:30PM - 10 Apr 25 UTC
#### What is the purpose of this change?
The `{ep}lno` policy of rclone was u… nsupported by [a lot of backends](https://github.com/rclone/rclone/issues/8492#issuecomment-2791987004). This PR adds support to all of them by falling back to normal listing instead of object counting (informing the user that the operation will be slower).
The log listed in the issue below becomes:
<details>
```
2025/04/10 17:04:59 DEBUG : Setting --user-agent "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36 Edg/134.0.0.0" from environment variable RCLONE_USER_AGENT="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36 Edg/134.0.0.0"
2025/04/10 17:04:59 DEBUG : rclone: Version "v1.70.0-beta.8712.7a09de9f2.better-lno-policy" starting with parameters ["./rclone" "copy" "-vv" "rclone.conf" "Union:"]
2025/04/10 17:04:59 DEBUG : Creating backend with remote "rclone.conf"
2025/04/10 17:04:59 DEBUG : Using config file from "/home/ferferga/.config/rclone/rclone.conf"
2025/04/10 17:04:59 DEBUG : fs cache: renaming child cache item "rclone.conf" to be canonical for parent "/home/ferferga/.config/rclone"
2025/04/10 17:04:59 DEBUG : Creating backend with remote "Union:"
2025/04/10 17:04:59 DEBUG : Creating backend with remote "Crypt:Backups/1"
2025/04/10 17:04:59 DEBUG : Creating backend with remote "Crypt:Backups/3"
2025/04/10 17:04:59 DEBUG : Creating backend with remote "Crypt:Backups/2"
2025/04/10 17:04:59 DEBUG : Creating backend with remote "OpenDrive:[REDACTED]"
2025/04/10 17:04:59 DEBUG : Creating backend with remote "OpenDrive:[REDACTED]"
2025/04/10 17:04:59 DEBUG : Creating backend with remote "OpenDrive:[REDACTED]"
2025/04/10 17:05:00 DEBUG : Starting OpenDrive session with ID: [REDACTED]
2025/04/10 17:05:00 DEBUG : Starting OpenDrive session with ID: [REDACTED]
2025/04/10 17:05:00 DEBUG : Starting OpenDrive session with ID: [REDACTED]
2025/04/10 17:05:01 DEBUG : union root '': actionPolicy = *policy.Lno, createPolicy = *policy.Lno, searchPolicy = *policy.FF
2025/04/10 17:05:02 DEBUG : rclone.conf: Need to transfer - File not found at Destination
2025/04/10 17:05:02 NOTICE: Number of Objects is not supported for upstream Crypt, falling back to listing (this may be slower)...
2025/04/10 17:05:06 DEBUG : Counted 9233 objects for upstream Crypt by listing
2025/04/10 17:05:06 NOTICE: Number of Objects is not supported for upstream Crypt, falling back to listing (this may be slower)...
2025/04/10 17:05:06 DEBUG : Counted 27 objects for upstream Crypt by listing
2025/04/10 17:05:07 DEBUG : [REDACTED]: Uploading chunk 0, size=2542536, remain=0
2025/04/10 17:05:09 DEBUG : rclone.conf: md5 = 400d21863fca7f183fc80b95a5dd0a14 OK
2025/04/10 17:05:09 INFO : rclone.conf: Copied (new)
```
</details>
#### Was the change discussed in an issue or in the forum before?
Fixes #8492
#### Checklist
- [X] I have read the [contribution guidelines](https://github.com/rclone/rclone/blob/master/CONTRIBUTING.md#submitting-a-new-feature-or-bug-fix).
- [ ] I have added tests for all changes in this PR if appropriate — *(this didn't have any tests and I don't have experience with Go to feel safe to do good ones, but I will happily take feedback)*
- [ ] I have added documentation for the changes if appropriate — *(will do once code review is over)*
- [X] All commit messages are in [house style](https://github.com/rclone/rclone/blob/master/CONTRIBUTING.md#commit-messages).
- [X] I'm done, this Pull Request is ready for review :-)
system
(system)
Closed
October 31, 2025, 8:13pm
5
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.