Quick post: Using Scaleway C14 Cold Storage with rclone
I've been looking for a cold storage solution to use with LavaTech backups for some while now, and was planning to use online.net C14 (now C14 Classic). Well, they just re-released it under Scaleway, and I've decided to take on the task of getting cold storage working.
I use rclone for a lot of purposes, and for the task at hand, it's what I'll be using to move data from Backblaze B2 hot storage to C14 cold storage.
As C14 in rclone is still C14 classic, and as Scaleway C14 implement an S3-like API (it's not a standard or a protocol as they claim here), I decided to get it working.
Instructions or whatever
- Get an API Key from the credentials page
- Edit
~/.config/rclone/rclone.conf
and add this (replace<access key>
with your actual key, same for secret key. Change all instances offr-par
tonl-ams
if you want to use the AMS region):
[c14-cold]
type = s3
provider = Other
env_auth = false
access_key_id = <access key>
secret_access_key = <secret key>
region = fr-par
endpoint = https://s3.fr-par.scw.cloud
location_constraint = fr-par
acl = private
bucket_acl = private
chunk_size = 25M
upload_concurrency = 100
storage_class = GLACIER
- Save and exit. After this, you can verify that it works by creating a bucket on desktop and then running a command like
rclone copy testfile c14-cold:/bucketname
and then checking the UI:
Ps. This uploads directly to Cold Storage without requiring any moving from the UI. If you want to change that, remove the storage_class = GLACIER
line from config.