Restore from S3 GLACIER on a crypt backend

What is the problem you are having with rclone?

I''m using a crypt backend over a s3 bucket.
I don't know how i can use the rclone backend restore command in this case:

  1. crypt doesn't implement it.
  2. using the normal backend (no crypt), i can't find the correct path to the correct file (all is crypted, including paths and filenames).

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

rclone v1.58.0

  • os/version: ubuntu 20.04 (64 bit)
  • os/kernel: 5.4.0-104-generic (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.17.8
  • go/linking: static
  • go/tags: none

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 restore s3-crypt:folder/file.txt

The rclone config contents with secrets removed.

[s3]
type = s3
provider = Scaleway
access_key_id =
secret_access_key =
region = fr-par
endpoint = s3.fr-par.scw.cloud
acl = private
storage_class = GLACIER

[s3-crypt]
type = crypt
remote = glacier:bucket
password =

A log from the command with the -vv flag

# rclone backend restore rclone backend restore s3-crypt:folder/file.txt -i -vv
DEBUG : rclone: Version "v1.58.0" starting with parameters ["rclone" "backend" "restore" "scw-mysqldump:vmtest-08-05-2022_09-02" "-i" "-vv"]
DEBUG : Using config file from "/root/.config/rclone/rclone.conf"
DEBUG : Creating backend with remote "s3-crypt:folder/file.txt"
DEBUG : 3 go routines active
Failed to backend: command "restore" failed: command not found

Not super familiar but you can find the crypt name translation and restore that way.

Crypt (rclone.org)

and run the restore on the original name in the first remote. Probably a better way but I don't use S3 so not sure offhand.

hi,

to get the decrypted file names,
--- rclone lsf remote: --format=pe
--- rclone cryptdecode

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