Now liveSwiss S3. No CLOUD Act. Start your free trial now.

Developer tools

rclone: set up a remote, copy, synchronize, set Object Lock

Updated on 24 October 2026Reading time approx. 3 minutes

rclone is a command-line tool that copies data between your computer and S3-compatible storage. With the provider "Other" and your chili endpoint, you can set it up.

Manufacturer statement and test with chili

  • Manufacturer statement (as of 19 October 2026): According to the rclone documentation, rclone addresses any S3-compatible storage with provider = Other and its own endpoint. rclone sets Object Lock itself, with its own parameters.
  • Test with chili: no. We have not tested rclone individually with chili. Please check your workflows in the Free Trial (20 days, 1 TB).
  • We make no commitments on throughput or transfer times.

What you need

  • a bucket (article "Create a bucket")
  • an access key with access key ID and secret (article "Create an access key")
  • your chili endpoint. The console shows it together with the bucket.
  • rclone on your computer, installed following the instructions on rclone.org

Set up the remote

  1. Start rclone config and choose "n" for a new remote.
  2. Enter a name, for example chili.
  3. Choose s3 as the storage type and Other as the provider.
  4. Enter the access key ID and secret of your access key.
  5. Enter your chili endpoint under endpoint. Leave the region empty unless the console names one.
  6. Confirm your entries.

Alternatively, enter the remote directly in the rclone configuration file. Replace the placeholders with your values and never store the secret in a repository or a script:

[chili]
type = s3
provider = Other
access_key_id = YOUR_ACCESS_KEY
secret_access_key = YOUR_SECRET
endpoint = YOUR_CHILI_ENDPOINT

Check the connection

rclone lsd chili:

The command lists your buckets. If you see your bucket, the connection works.

Copy and synchronize

Copy a folder into your bucket:

rclone copy ./data chili:YOUR-BUCKET/data --progress

List the contents:

rclone ls chili:YOUR-BUCKET

With rclone sync you align the target with the source. rclone deletes files in the target that are missing in the source. Check the run first with --dry-run:

rclone sync ./data chili:YOUR-BUCKET/data --dry-run

Set Object Lock

For this, create the bucket in the console with Object Lock (article "Versioning and Object Lock"). Object Lock and Versioning are add-ons and cost CHF 3.00 per TB and month (excl. VAT), with a minimum of 1 TB per feature and month. There is no minimum in the trial.

rclone sets the lock per upload with these parameters:

  • --s3-object-lock-mode for the mode
  • --s3-object-lock-retain-until-date for the date until which the lock applies
  • --s3-object-lock-legal-hold-status for legal hold

Example in governance mode. In the Free Trial, the date is at most the end of the trial.

rclone copy ./data chili:YOUR-BUCKET/data --s3-object-lock-mode GOVERNANCE --s3-object-lock-retain-until-date YOUR_DATE

The Free Trial offers governance mode only, with retention until the end of the trial at most. Compliance mode at chili requires a retention agreement: you contact us before activation, and the retention period is stated in the agreement. You still set up your account, buckets and Object Lock yourself.

In Compliance mode, locked objects cannot be deleted or overwritten until the lock expires, not even with rclone sync and rclone delete. In Governance mode, authorized users can lift the lock.

If it does not work

Check endpoint, bucket name and key for typing errors, and check that the key is active. Personal support is available as an option through the support packages.

Still have questions?

Our support team in Switzerland is happy to help you personally.

Open a support ticket