Recovering files from our Azure replica
https://wecostorageprod.blob.core.windows.net/?se=3020-01-01T01%3A01%3A01Z&sp=rl&sip=1.2.3.4&sv=2019-12-12&sr=c&sig=SIGNATURE1234se=3020-01-01T01%3A01%3A01Z&sp=rl&sip=1.2.3.4&sv=2019-12-12&sr=c&sig=SIGNATURE1234$ curl ifconfig.me$ docker run -it mcr.microsoft.com/azure-cli:2.44.1az storage blob directory list \ --container-name wellcomecollection-storage-replica-netherlands \ --directory-path digitised/b13135934/v1 \ --account-name wecostorageprod \ --sas-token '[SAS_TOKEN]'az storage blob directory download \ --container wellcomecollection-storage-replica-netherlands \ --destination-path ./bag-info.txt \ --source-path digitised/b32868261/v1/bag-info.txt \ --account-name wecostorageprod \ --sas-token '[SAS_TOKEN]'az storage blob directory download \ --container wellcomecollection-storage-replica-netherlands \ --destination-path ./b32868261 \ --source-path digitised/b32868261/v1 \ --account-name wecostorageprod \ --recursive \ --sas-token '[SAS_TOKEN]'409 This operation is not permitted on an archived blob.. When Downloading response body.az storage blob directory list \ --container-name wellcomecollection-storage-replica-netherlands \ --directory-path digitised/b13135934/v1 \ --account-name wecostorageprod \ --sas-token '[READ_ONLY_SAS_TOKEN]' \ | jq -r '.[].name' \ | xargs -P 10 -I '{}' \ az storage blob set-tier \ --container-name wellcomecollection-storage-replica-netherlands \ --name '{}' \ --tier cool \ --account-name wecostorageprod \ --sas-token '[READ_WRITE_SAS_TOKEN]'
Last updated