Rclone and Cloud Object Storage API calls

What is the problem you are having with rclone?

I'm not having a problem with rclone specifically - what I would like to understand is, when rclone is used to copy a file from one IBM COS bucket to another, what API calls are being made.

I can gather from IBM that the API calls are something like
Read bucket header
List bucket objects
Create (upload)
Read (download)
Read (object meta data)
Delete object
Copy object

but I couldn't work out quite what the API calls/sequence would be when using rclone to copy a file or series of files. I tried to work it out from the source code, and I struggled to find where the logic was. I also tried to see if I could work it out from information in the log file.

This information would be useful when diagnosing high API calls/billing.

Thanks!

The easiest way to see this is to run the rclone command you want to try with -vv --dump headers and this will show the HTTP transactions.

Also read this section of the docs to learn how to reduce the number of transactions on s3 backends .

Thanks for the quick reply. I will give it a go!

1 Like

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