How can I stream to a remote

What is the problem you are having with rclone?

Is it possible to stream an output to an rclone remote?

I know that command isn't right, but it's the jist of what I'm looking to do. I'd like to take a bare-metal snapshot of a drive I have lying around, but it's larger than my local disk (even if I pass ddrescue -s to flatten consecutive zeros)

Run the command 'rclone version' and share the full output of the command.

Latest

rclone v1.57.0

  • os/version: arch Soaring (64 bit)
  • os/kernel: 5.16.13-zen1-1-zen (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.17.5
  • go/linking: dynamic
  • go/tags: none

Which cloud storage system are you using? (eg Google Drive)

Google Drive

The command you were trying to run (eg rclone copy /tmp remote:tmp)

dd if=/dev/sdb | rclone copy gdrive:

The rclone config contents with secrets removed.

[gdrive]
type = drive
scope = drive
token = 
team_drive =
client_id =  
client_secret =  

A log from the command with the -vv flag

No logs to share, don't know how to actually execute this

hi, migh try
dd if=/dev/sdb | rclone rcat gdrive:

Heh, I actually had found that through some google searching, and didn't meant to post this. I clicked between the docs and this thread draft, and my browser locked up. I didn't know it made it all the way in. rclone rcat is exactly what I needed, thanks!

Also, I think you need to specify a filename.

so it would be
dd if=/dev/sdb | rclone rcat gdrive:disk.img

yeah, give it a try, let's see if that command works.
tho, imho, rcat is the scariest rclone command, would use a debug log

Man, I didn't even think about that, but that's true. I could lose pieces on transfer and never know it. I'm halfway through uploading this Terabyte sized file :confused:

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