...
Code Block | ||
---|---|---|
| ||
ETAG=<etag> && curl -s "$ESIP:9200/$ESINDEX/_search?pretty&q=etag:$ETAG" | jq '.hits.hits[]' |
Get bucket name, etag, and tmBorn by bucket name
This might be handy for recreating a recently deleted bucket
Code Block |
---|
BUCKETNAME=<bucket name>;curl -s "$ESIP:9200/$ESINDEX/_search?q=stype:BUCKET+AND+name:$BUCKETNAME" | jq -r '.hits.hits[]._source | "\(.name), \(.etag), \(.tmBorn), \(.contextid)"' |
Get Domain id
from Swarm
Code Block | ||
---|---|---|
| ||
DOMAIN=<domain name> && curl -sIL $SCSP_HOST?domain=$DOMAIN | grep ^Castor-System-Alias | awk '{ print $2 }' |
...