rustic icon indicating copy to clipboard operation
rustic copied to clipboard

S3 repo says incorrect password directly after init

Open kkettinger opened this issue 1 year ago • 3 comments

OS: windows 11, built with cargo install --locked rustic-rs.

rustic.toml

[global]
log-level = "debug"
log-file = "rustic.log"

[repository]
repository = "opendal:s3"
password = "XXX"

[repository.options]
access_key_id = "XXX"
secret_access_key = "XXX"
bucket = "backup-test"
root = "/"
endpoint = "https://fsn1.your-objectstorage.com"
region = "us-east-1"

Init

>rustic init
[WARN] service=s3 name=backup-test path=config: stat failed NotFound (persistent) at stat, context: { uri: https://fsn1.your-objectstorage.com/backup-test/config, response: Parts { status: 404, version: HTTP/1.1, headers: {"content-length": "272", "x-amz-request-id": "tx000009fbe57da13fca40f-00670523fc-8169a-fsn1-prod1-ceph3", "accept-ranges": "bytes", "content-type": "application/xml", "date": "Tue, 08 Oct 2024 12:22:20 GMT", "x-debug-backend": "fsn1-prod1-ceph3", "strict-transport-security": "max-age=63072000", "x-debug-bucket": "backup-test"} }, service: s3, path: config }
[WARN] service=s3 name=backup-test path=config: stat failed NotFound (persistent) at stat, context: { uri: https://fsn1.your-objectstorage.com/backup-test/config, response: Parts { status: 404, version: HTTP/1.1, headers: {"content-length": "272", "x-amz-request-id": "tx0000085ee34789bb72940-00670523fc-8169a-fsn1-prod1-ceph3", "accept-ranges": "bytes", "content-type": "application/xml", "date": "Tue, 08 Oct 2024 12:22:20 GMT", "x-debug-backend": "fsn1-prod1-ceph3", "strict-transport-security": "max-age=63072000", "x-debug-bucket": "backup-test"} }, service: s3, path: config }

Backup

>rustic backup D:\Seafile\Tmp
error: incorrect password!

Debug logs for each operation:

Files generated on object storage (listed with rclone):

config
data/
data\00/
data\01/
data\02/
data\03/
data\04/
data\05/
...
index/
keys/
keys\f7ea642f549d69197c626a1f7a6281c4bcef53c0d76f900c9b8bce41f3b65503
snapshots/

kkettinger avatar Oct 08 '24 12:10 kkettinger