Rclone, Drime CLI and WebDAV
Use Drime from the command line or a backup program (Duplicati, restic, Kopia, Borg) with rclone and an API token. No S3, FTP or WebDAV, and no Drime CLI.
Besides the web, desktop and mobile apps, you can reach your Drime files from the command line with rclone. The Drime CLI is no longer available, so rclone is the way to use Drime from a terminal. WebDAV is not available yet, and Drime has no S3, FTP or SFTP access.
Tool | Status |
|---|---|
rclone | Available: official Drime backend |
Drime CLI | No longer available |
WebDAV | Not available |
S3, FTP, SFTP | Not available |
Duplicati | Available: built-in Drime Cloud destination (Duplicati 2.4 and later) |
restic, Kopia, Borg | Through rclone |
#rclone
rclone is a free command-line program that copies and syncs files between your computer and cloud storage services. Since January 2026 (rclone version 1.73 and later), it includes an official backend for Drime, which you can use for backups, scripted syncs or day-to-day access from a terminal.
rclone signs in to Drime with an API token instead of your password. Create one first: see Create an API token.
#Add a Drime remote
These are the prompts of rclone's own setup, as its Drime documentation shows them:
In a terminal, run
rclone config.Type
nfor New remote, then give the remote a name, for exampleremote.At the Storage prompt, type
drime.At the access_token prompt, paste your API token.
At Edit advanced config?, type
n, then typeyto keep the remote.
You can then use the remote like any other rclone remote, for example rclone ls remote: to list your files. To back up a Synology NAS on a schedule, see Back up a Synology NAS to Drime with rclone.
#Good to know
rclone's Drime documentation lists these points:
File names can be up to 255 bytes long (in UTF-8). Names with many accented or non-Latin characters reach that limit sooner.
Changes are detected by size. Drime does not give rclone modification times or hashes, so a sync only copies a file again when its size changed.
Deleted files go to the trash by default. The advanced option
hard_deletedeletes them permanently instead.Workspaces: leave the advanced option
workspace_idblank to use your own files, or set it to work in a workspace.
#Your Vault
rclone and the other tools you connect with an API token do not reach your Vault. Vault files are stored apart from your Drive and encrypted in your browser with a Vault Pass that Drime never has, so they are only available in Drime's own apps: the web app, Drime Desktop and the mobile apps. See What is Vault?.
#WebDAV
Drime does not offer WebDAV access yet: it is planned on the Drime roadmap. Until then, use rclone or Drime Desktop to work with your files from your computer.
#S3, FTP and SFTP
Drime has no S3, FTP or SFTP endpoint. To reach your Drime files from scripts or other tools, use rclone or the Drime API with an API token.
If a tool only speaks WebDAV, FTP, SFTP, NFS or S3, rclone can serve your Drime remote under one of these protocols on your own computer with its rclone serve command, for example rclone serve webdav remote:. It can also mount your remote as a drive with rclone mount. These are rclone features: they run on your computer, not at Drime. See rclone serve in the rclone documentation.
#Duplicati
Duplicati, a free open-source backup program, has a built-in Drime Cloud destination since its version 2.4. See Back up your computer to Drime with Duplicati.
#restic, Kopia, Borg and NAS backups
Other backup programs reach Drime through rclone, with a Drime remote set up as above. Drime doesn't support these programs itself: follow each project's documentation.
Program | With Drime |
|---|---|
restic 0.8.2 and later | It can keep its repository on an rclone remote, such as your Drime remote. |
It has rclone support, which Kopia itself calls experimental. | |
Borg 1.x | It has no cloud support. Back up to a disk or to a server over SSH, then copy the repository to Drime with |
On a NAS, Synology Hyper Backup and Cloud Sync, QNAP Hybrid Backup Sync and TrueNAS Cloud Sync don't offer Drime. Run rclone on the NAS instead: see Back up a Synology NAS to Drime with rclone.
To back up a Windows computer without these programs, use Drime Desktop: see Back up folders from your computer.
#If it doesn't work
What you see | What to do |
|---|---|
| Your rclone may be older than version 1.73, the first one with the Drime backend. Update rclone, then run |
rclone can list and download files but not upload | The token may have the Read Only permission. Create a token with All, then replace the remote's |
rclone can no longer connect | The token may have been revoked. Create a new one and replace the remote's |
#Next steps
Was this helpful?