registry-rgw-BUR-tools is a concurrent s3cmd tool of BUR(backup and restore) for registry ceph-rgw data.
Normally, we use s3cmd tool to do BUR(backup and restore) for registry rgw data, which is inefficient especially When massive data is involved because s3cmd tool
is not concurrent itself.
So we need to execute s3cmd concurrently by spliting registry rgw data in order to speed up, and registry-rgw-BUR-tools
helps to do this.
Software | Version | Description |
---|---|---|
s3cmd | version 2.0.2 or higher | Note that you need to configure s3cmd in /root/.s3cfg |
- download registry rgw data
bash start.sh download $rgw_bucket $concurrent
after download
registry rgw data, you need to check for success as below:
bash registry_rgw_download_check.sh $rgw_bucket
And the result will show as below:
# bash registry_rgw_download_check.sh tmpbucket
download registry rgw blobs successfully
download registry rgw repositories successfully
- upload registry rgw data
bash start.sh upload $rgw_bucket $concurrent
after upload
registry rgw data, you need to check for success as below:
bash registry_rgw_upload_check.sh
And the result will show as below:
# bash registry_rgw_upload_check.sh
upload registry rgw blobs successfully
upload registry rgw repositories failure