KeyDB icon indicating copy to clipboard operation
KeyDB copied to clipboard

[HELP] Does keydb s3 backup require already existing file in S3 bucket?

Open VladyslavLytovchenko opened this issue 1 year ago • 0 comments

Hello community! When I am using keydb-server --db-s3-object s3://<my-bucket>, server starts successfully and writes backup to file named "-" in my bucket. Eventually after restart it fails with some decryption issue since it can't decode "-" file. On the other hand, when I am specifying specific file name with keydb-server --db-s3-object s3://<my-bucket>/dump.rdb, it says "could not access s3 bucket" (if I have no file in S3 beforehand). If I create the file before starting server with previous command, it works fine.

Isn't it expected that keydb should write initial file to S3 as at the first start there is no dump file for me yet? If without file name specification, it successfully creates file called "-", then it has such ability, but there is some bug in existence check?

VladyslavLytovchenko avatar Jun 03 '24 17:06 VladyslavLytovchenko