| English | Русский |
rclone backend
rclone/ holds an rclone backend for SberDisk built on the same core client, and
rclone-sberdisk — rclone with that backend built in. You get everything rclone does — sync, copy,
mount, check, encryption with crypt — with SberDisk as a remote.
Unofficial. Not affiliated with SberBank or the SberDisk operator. The web API is undocumented and can change without notice.
Status: passes rclone’s own backend test suite (fstests) — plain and through crypt — against an
in-memory fake of the service, and against the live service on 27.11.2026: plain 71 passed, through crypt 98
passed, 0 failed; the plain run skips the FsEncoding group — see Names.
Install
brew install --cask sergio-zerg/tap/rclone-sberdisk # macOS
Or download the rclone-sberdisk_… archive for Linux, macOS or Windows from the latest release, or build it:
cd rclone
go build -o rclone-sberdisk ./cmd/rclone-sberdisk
It is a separate Go module so the core library stays free of rclone’s dependencies.
Configure
Copy the Cookie request header from a browser where you are logged in to SberDisk (DevTools → Network →
any request to apigw.sberdisk.ru → Request Headers → Cookie):
./rclone-sberdisk config create sberdisk sberdisk cookie "<Cookie header>"
./rclone-sberdisk lsd sberdisk:
Encrypted storage — a crypt remote on top:
./rclone-sberdisk config create secret crypt remote sberdisk:encrypted password "<password>" --obscure
./rclone-sberdisk sync ~/Documents secret:documents
What it does and does not do
| List, read, upload, delete files; create and remove folders | ✅ |
Streams of unknown size (rcat, mount) |
✅ spooled to a temporary file first: the service needs the size up front |
| Upload | ✅ under a temporary name (name.partial-<hex>.ext), then renamed into place: an interrupted upload keeps its path reserved on the service for more than four minutes, so a retry under the same name would fail |
| Overwrite | ✅ the new version is uploaded under a temporary name, the old one goes to the trash, then the new one is renamed — a failed upload leaves the old file. Names starting with a dot: the old version goes to the trash first, then the new one is uploaded |
Read from an offset (mount, resumed downloads) |
✅ bytes before the offset are skipped on the client — no Range requests |
| Rename a file within its folder | ✅ server-side, if the extension stays: the service keeps a file’s extension on rename, so otherwise rclone copies and deletes |
Move between folders, folder moves (DirMove) |
✅ server-side, with a rename if the name changes (live 28.11.2026); onto an existing file, or with a new file extension, rclone copies and deletes |
| Server-side copy | ✅ into another folder under the same name; otherwise rclone downloads and uploads |
| Hashes | ❌ the service provides none; check compares sizes |
| Modification times | ❌ the service keeps only the upload time; sync compares sizes |
about |
✅ total, used, trash, free |
| Delete | moves to the SberDisk trash (kept there for 30 days) |
The service’s behavior is not guessed: where it has not been observed (Range requests, moving between
folders) the backend avoids it. Uploading over an existing file is refused by the service (409
UploadReserveError).
Names
Checked live on 27.11.2026:
: * ? " < > | \ #are rejected (400 InvalidFiles.0.toPath) and spaces around a name are trimmed, so the default encoding maps them to look-alike characters.- A folder named
..(fullwidth dots) and a name made of mixed punctuation got403, after which every request was refused for several minutes. Names that read as..are refused on the client. Other such names were not probed further, to keep the load gentle; the live test run skipsFsEncodingfor this reason. If you have files with unusual punctuation, expect such a block. - A listing right after an upload, a rename or a delete can lag for seconds (a trashed file has stayed listed
for more than 7 s): the backend does not re-read an object after a change, and hides files and folders it
moved to the trash from its listings for 2 minutes. Trashing an item that is already in the trash is
422 ErrorPostDelete.
Options
| Option | Default | Meaning |
|---|---|---|
cookie |
— | session cookie, required |
requests_per_second |
4 | request rate limit; the service may limit or block accounts that load it |
encoding |
Base, Ctl, Del, InvalidUtf8, Win, BackSlash, Hash, LeftSpace, RightSpace | rclone name encoding, see Names |
Tests
cd rclone
go test -race ./... # fstests on the fake: plain and crypt, plus unit tests
With RCLONE_TEST_REAL=1 and a configured TestSberDisk: remote the same suite runs against the live service
(it creates and deletes files under rclone-test-* folders) and skips FsEncoding, see Names.
TestIntegrationCrypt runs live too when a TestSberDiskCrypt: remote is configured
(RCLONE_CONFIG_TESTSBERDISKCRYPT_TYPE=crypt, _REMOTE=TestSberDisk:rclone-test/crypt, _PASSWORD=<obscured>).