Tar on the fly and Rsync in a single go to HiDrive

Viewed 16

I want to compress data on the fly with tar and send it to Strato HiDrive. The problem is that HiDrive does not allow direct SSH connections. I can therefore

tar cjvf - /DATA | ssh USERNAME@rsync.hidrive.strato.com "cat > /users/USERNAME/etc.tar.bz"

cannot be used. However, rsync and SCP are allowed, e.g. with

rsync -rltDv /DATA USERNAME@rsync.hidrive.strato.com:/users/USERNAME/

Now my question: is there a way to send and compress data to HiDrive on the fly with rsync or SCP without creating the tar file on the source server? This requires a lot of space. Thanks in advance Robin

0 Answers
Related