Skip to content

Upload on Cloudflare R2 doesn't work #410

@salvatorecordiano

Description

@salvatorecordiano

I'm experiencing issues with Cloudflare R2. While the data dump generates correctly, the CLI displays unusual characters during the upload. The upload to R2 completes successfully, but the command hangs afterward.

This is my command execution.

    docker run --rm \
        -e DB_DUMP_TARGET=s3://BUCKET_NAME/FOLDER_NAME \
        -e DB_SERVER=MY_IP \
        -e DB_PORT=PORT \
        -e DB_USER=USERNAME \
        -e DB_PASS=PASSWORD \
        -e DB_DUMP_INCLUDE=MY_DATABASE_NAME \
        -e AWS_ACCESS_KEY_ID=CLOUDFLARE_ACCESS_KEY_ID \
        -e AWS_SECRET_ACCESS_KEY=CLOUDFLARE_SECRET_ACCESS_KEY \
        -e AWS_ENDPOINT_URL=https://CLOUDFLARE_ID.r2.cloudflarestorage.com \
        -e AWS_DEFAULT_REGION=eeur \
        databack/mysql-backup:1.1.0 dump -v 2

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions