S3 backend has no commands

What is the problem you are having with rclone?

I can't restore objects from S3

What is your rclone version (output from rclone version)

rclone v1.52.2
- os/arch: linux/amd64
- go version: go1.14.4

Which OS you are using and how many bits (eg Windows 7, 64 bit)

Linux x86_64

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

S3

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

rclone backend help backendname: returns:

2020/08/08 20:28:54 Failed to backend: s3 backend has no commands

My goal is to run:
rclone backend restore backendname:bucketname/objectname.jpg -o priority=Expedited -o lifetime=7

However, this returns:

2020/08/08 20:29:39 Failed to backend: S3 bucket bucketname path objectname.jpg: doesn't support backend commands

The rclone config contents with secrets removed.

[backendname]
type = s3
provider = AWS
env_auth = true
region = eu-west-1
location_constraint = eu-west-1
acl = private
server_side_encryption = AES256
storage_class = STANDARD

A log from the command with the -vv flag

2020/08/08 20:36:10 DEBUG : rclone: Version "v1.52.2" starting with parameters ["rclone" "-vv" "backend" "restore" "backendname:bucketname/objectname.jpg" "-o" "priority=Expedited" "-o" "lifetime=7"]
2020/08/08 20:36:10 DEBUG : Using config file from "/home/whoami/.config/rclone/rclone.conf"
2020/08/08 20:36:10 DEBUG : 4 go routines active
2020/08/08 20:36:10 Failed to backend: S3 bucket bucketname path objectname.jpg: doesn't support backend commands

Actually, I might be really dumb. I just realised this commit was pushed on 2020-06-25 but my version is from 2020-06-24. Let me quickly update and verify this behavior still occurs.

EDIT: 1.52.3 still fails. Testing beta now.

EDIT: Yup, I'm really dumb. Beta works fine.

Glad you figured it out. These commands are still only in the beta.

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