I am trying to stream a large backup (~460GB) directly to 1fichier without storing it locally, as the source machine has limited free space on the system partition (~90GB).
I am using tar to create an archive on the fly and piping it to rclone rcat. Since 1fichier does not support streaming files of unknown size, I set up a chunker backend to chop the stream into segments.
However, rclone insists on spooling data to /tmp/rclone-spool... until the disk fills up, causing a crash. It seems it's trying to buffer the whole file (or very large parts of it) despite my attempts to force pure streaming.
Environment:
OS: Linux (Ubuntu 24.04)
Rclone Version: v1.72.1 (latest)
Source: Local files (piped via tar)
Destination: 1fichier (via chunker)
Configuration (rclone.conf):
[rmodo]
type = fichier
api_key = REDACTED
[rmodo_stream]
type = chunker
remote = rmodo:rmodo
hash_type = sha1
I rely on default chunk_size (2G) or override it via flags, but the issue persists.
ERROR : backup.tar: Post request rcat error: failed to copy to temporary spool file: write /tmp/rclone-spool846153648: no space left on device
NOTICE: Failed to rcat with 2 errors: last error was: failed to copy to temporary spool file: write /tmp/rclone-spool846153648: no space left on device
What I have tried:
Upgraded to rclone v1.72.1.
Set --transfers=1 to prevent parallel buffering of chunks.
Used --no-check-dest to avoid pre-checks.
Tried setting chunk_size explicitly to 256M.
Configured the remote via connection string (:chunker,remote='rmodo:rmodo',chunk_size=256M:) and via rclone.conf.
Question:
Is there a way to force rclone rcat -> chunker -> 1fichier to be strictly streaming (read stdin -> upload chunk -> repeat) without spooling significant data to tmp? Why is the spooler being triggered here despite the chunker backend?
my bad, I believed it was only for "help and support" sub forum.
What is the problem you are having with rclone?
Is there a way to force rclone rcat -> chunker -> 1fichier to be strictly streaming (read stdin -> upload chunk -> repeat) without spooling significant data to tmp? Why is the spooler being triggered here despite the chunker backend?
Run the command 'rclone version' and share the full output of the command.
rclone v1.72.1
os/version: ubuntu 24.04 (64 bit)
os/kernel: 6.8.0-88-generic (x86_64)
os/type: linux
os/arch: amd64
go/version: go1.25.5
go/linking: static
go/tags: none
Which cloud storage system are you using? (eg Google Drive)
1fichier
The command you were trying to run (eg rclone copy /tmp remote:tmp)
Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.
[backupvm]
type = crypt
remote = rmodo:backup
password = XXX
password2 = XXX
description = encrypted repo
[rmodo]
type = fichier
api_key = XXX
description = remote modo
[rmodo_stream]
type = chunker
remote = rmodo:rmodo
hash_type = sha1
A log from the command that you were trying to run with the -vv flag
2026/01/31 23:20:05 DEBUG : rclone: Version "v1.72.1" starting with parameters ["rclone" "rcat" "rmodo_stream:/backup.tar" "--transfers=1" "--retries" "5" "--retries-sleep" "30s" "--no-check-dest" "-vv"]
2026/01/31 23:20:05 DEBUG : Creating backend with remote "rmodo_stream:/"
2026/01/31 23:20:05 DEBUG : Using config file from "/home/modo/.config/rclone/rclone.conf"
2026/01/31 23:20:05 DEBUG : Creating backend with remote "rmodo:rmodo"
2026/01/31 23:20:07 DEBUG : Chunked 'rmodo_stream:/': Target remote doesn't support streaming uploads, creating temporary local FS to spool file
2026/01/31 23:31:44 ERROR : backup.tar: Post request rcat error: failed to copy to temporary spool file: write /tmp/rclone-spool1993608178: no space left on device
2026/01/31 23:31:44 DEBUG : 3 go routines active
2026/01/31 23:31:44 NOTICE: Failed to rcat with 2 errors: last error was: failed to copy to temporary spool file: write /tmp/rclone-spool1993608178: no space left on device
Yes, the logs show that rclone copy works fine and does not trigger the spooling error. The error only appears when using rclone rcat (streaming). Since chunker is supposed to enable streaming by splitting the file, should rcat not be able to upload chunk-by-chunk without spooling the entire file locally?