Prerequisites
Make sure you have access to both your MinIO server and a Jottacloud account.
Install rclone
First, install rclone using the following command. For more information, see the official rclone installation guide.
sudo -v ; curl https://rclone.org/install.sh | sudo bash
Configure rclone
Run the configuration command:
rclone config
See the official guide for setting up rclone and Jottacloud.
Add Jottacloud Remote
- Choose
n
for a new remote. - Enter a name for the remote, e.g.,
jottacloud
. - Select
Jottacloud
as the storage type. - Leave client_id and client_secret blank.
- Select no for advanced config.
Jottacloud has different options for authentication, based on your provider. I use the jottacloud
provider.
Option config_type.
Select authentication type.
Choose a number from below, or type in an existing value of type string.
Press Enter for the default (standard).
/ Standard authentication.
1 | Use this if you're a normal Jottacloud user.
\ (standard)
/ Legacy authentication.
2 | This is only required for certain whitelabel versions of Jottacloud and not recommended for normal users.
\ (legacy)
/ Telia Cloud authentication.
3 | Use this if you are using Telia Cloud (Sweden).
\ (telia_se)
/ Telia Sky authentication.
4 | Use this if you are using Telia Sky (Norway).
\ (telia_no)
/ Tele2 Cloud authentication.
5 | Use this if you are using Tele2 Cloud.
\ (tele2)
/ Onlime Cloud authentication.
6 | Use this if you are using Onlime Cloud.
\ (onlime)
config_type> 1
- Follow the directions to create a new token and paste it in when prompted.
- Select yes for using a non-sta device/mountpoint. Select default jotta.
- Select Archive for the config-mountpoint.
Add MinIO Remote
- Run
rclone config
again. - Choose
n
for a new remote. - Enter a name for the remote, e.g.,
minio
. - Select Amazon S3 Compliant Storage Providers as the storage type.
- Select
MinIO
as the provider. - Select 'Enter AWS credentials in the next step.' for adding the credentials in the prompt.
- Enter your MinIO access key and secret key.
- Enter a region, e.g.,
us-east-1
. - Enter the endpoint URL for your MinIO server, e.g.,
http://minio
. - Select the strictest ACL option for creating new buckets as convenient.
- Select no for advanced config.
Troubleshooting: Cloudflare Tunnel 403 Error
If your MinIO server is behind a Cloudflare tunnel and you experience 403 errors, add the following option to your rclone command:
--s3-sign-accept-encoding=false
Backup Command Example
To back up a bucket from MinIO to Jottacloud, use the following command:
rclone sync minio:bucket jottacloud:backup --s3-sign-accept-encoding=false