Open zqdou opened 10 months ago
Hello,
I have the same issue using a Scaleway bucket with postgreSQL. replibyte version: 0.10.0
Here there is my replibyte configuration :
connection_uri: $STAGING_DATABASE_URL
datastore:
aws:
bucket: $REPLIBYTE_PRODUCT_BUCKET_NAME
region: $REPLIBYTE_S3_REGION
credentials:
access_key_id: $REPLIBYTE_ACCESS_KEY_ID
secret_access_key: $REPLIBYTE_SECRET_ACCESS_KEY
endpoint:
custom: $SCALEWAY_BUCKET_URL
destination:
connection_uri: $NEW_DATABASE_URL
wipe_database: false
and when i run replibyte -c replibyte.yaml dump restore remote -v latest
i got the same error :
ERROR replibyte::datastore::s3] Error parsing XML: invalid root, expected ListBucketResult got StartEl { name: Name { prefix: "", local: "CreateBucketConfiguration" }, attributes: [Attr { name: Name { prefix: "", local: "xmlns" }, value: "http://s3.amazonaws.com/doc/2006-03-01/" }], closed: false, depth: 0 }
thread '<unnamed>' panicked at 'Custom { kind: Other, error: "failed to list objects from bucket 'db-test'" }', replibyte/src/tasks/full_restore.rs:69:29
but when i try to list the dump with replibyte -c replibyte.yaml dump list
i can display the list of my dump present in my bucket.
Any idea ?
Hi Team, I failed to restore the dump created by replibyte to my test mongodb server. The dump was created and stored in the GCP bucket. replibyte version: 0.10.0 Mongodb version: 4.4.24
Step1, creating the dump from the mongdb prod env
step 2, check the dump in dev env
step3, restore the dump
The configuration file mongo.yaml