diff --git a/src/rgw/rgw-restore-bucket-index b/src/rgw/rgw-restore-bucket-index index fffd5074dd45..512ca24d9ec2 100755 --- a/src/rgw/rgw-restore-bucket-index +++ b/src/rgw/rgw-restore-bucket-index @@ -94,10 +94,10 @@ super_exit() { usage() { >&2 cat << EOF -Usage: $0 -b [-l ] [-p ] [-y] +Usage: $0 -b [-l ] [-p ] [-y] where: - -b Required - name of the bucket to operate on + -b Required - name of the bucket to operate on -l Optional - file containing the output of 'rados ls -p ' -r Optional - specify the realm if not applying to the default realm" -g Optional - specify the zonegroup if not applying to the default zonegroup" @@ -253,8 +253,12 @@ eval "radosgw-admin metadata get bucket:$bucket $debugging_rgwadmin $multisite_s export marker=$(jq -r ".data.bucket.marker" $bkt_entry) export bucket_id=$(jq -r ".data.bucket.bucket_id" $bkt_entry) if [ -z "$marker" -o -z "$bucket_id" ] ;then - echo "ERROR: unable to read entry-point metadata for bucket \"$bucket\"." + echo "ERROR: Unable to read entry-point metadata for bucket \"$bucket\"." + echo " Please make sure that is correct and, if not using" + echo " the defaults, that , , and/or" + echo " are correctly specified." clean + usage exit 1 fi