Skip to main content
rclone is a command-line tool for copying and syncing files between your machine and cloud storage. Its S3 backend works against a Tapedrive bucket with a stock remote.

Before you start

You need a bucket and a credential. A bucket is a tape that has delegated writes to the gateway, and a credential is an access key pair the gateway operator issues you. Set up a bucket walks through both.

Configure

Add a remote to your rclone config:
~/.config/rclone/rclone.conf

Everyday commands

rclone returns as soon as the gateway has accepted the files. The writes reach the chain afterwards, about a minute later for a small folder.

Good to know

  • Do not pass --checksum. ETags here are not MD5 hashes, so rclone silently compares sizes instead and misses a changed file of the same length.
  • rclone check compares sizes and warns that hashes could not be checked. That warning is expected.
  • rclone re-sends every file on every sync, because the gateway does not store modification times. The gateway ignores unchanged content, so a repeat sync costs nothing on chain.
  • rclone mkdir reports success but creates nothing. Buckets are created with tape create.
  • rclone lsd shows 1970 as the bucket date, because buckets have no creation date.

Next