Connecting to S3 storage that isn't AWS

What is the problem you are having with rclone?

I need to understand whether it's possible to connect to a custom S3 based file sharing service.

This is the info our client has given us:

Run the command 'rclone version' and share the full output of the command.

rclone --version
rclone v1.57.0-DEV
- os/version: rocky 8.6 (64 bit)
- os/kernel: 4.18.0-372.16.1.el8_6.0.1.x86_64 (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.16.12
- go/linking: dynamic
- go/tags: none

Which cloud storage system are you using? (eg Google Drive)

It's a custom service using the S3 protocol. We've successfully accessed it with the CyberDuck program, but I need a Linux CLI solution.

The command you were trying to run (eg rclone copy /tmp remote:tmp)

I don't even know what command to run.

The rclone config contents with secrets removed.

Again, I don't even know what kind of config file to write.

A log from the command with the -vv flag

N/A. I'll be happy to post a log if I have a suggestion for a command to run.

Try this for a first effort

[myservice]
type = s3
provider = Other
access_key_id = VerySecret
secret_access_key = EvenMoarSecreter
endpoint = https://filesync-server-1234.example.com:12345/

Run rclone config file to show where the rclone config file is and edit that file putting the above in.

Or alternatively run through rclone config using the interactive wizard. Create an s3 remote with provider Other. It will prompt you for the above info. If you don't know the answer to any of the questions just press enter to take the default.

Then try rclone lsf myservice: and hopefully you'll see buckets you recognize.

and update rclone as that's an old version.

Thanks, Nick! I'm not able to test it right now (client service is down) but rclone seems happy and it appears to be a plausible configuration.

1 Like

I was able to test it, and it works! Thanks again for the assistance.

Freshest one available on RHEL 8.5, I'm afraid.

You don't want to use a package manager with rclone as it's going to be dated/old/not maintained.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.