Developer tools
rclone: set up a remote, copy, synchronize, set Object Lock
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 = Otherand 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
- Start
rclone configand choose "n" for a new remote. - Enter a name, for example
chili. - Choose
s3as the storage type andOtheras the provider. - Enter the access key ID and secret of your access key.
- Enter your chili endpoint under
endpoint. Leave the region empty unless the console names one. - 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 = s3provider = Otheraccess_key_id = YOUR_ACCESS_KEYsecret_access_key = YOUR_SECRETendpoint = 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-modefor the mode--s3-object-lock-retain-until-datefor the date until which the lock applies--s3-object-lock-legal-hold-statusfor 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.
Was this article helpful?
Still have questions?
Our support team in Switzerland is happy to help you personally.