Select to view content in your preferred language

Azure backup of data store

620
1
05-22-2019 12:13 PM
JoshHevenor1
Regular Contributor

I'm setting up some backups of a spatiotemporal big data store (v10.6.1) and would like to push them into an azure blob.  I'm reading this doc:

https://enterprise.arcgis.com/en/portal/latest/administer/linux/data-store-utility-reference.htm#ESR...

I'm confused as to what the --location parameters should be.  The example lists

--location type=azure;

location=mybackups;

name=secondrelloc;

username=myazureaccountlogin;

password=zpw4myazureaccount

So if I have a storage account: https://samplesa.file.core.windows.net/ with a container somecontainer, how does that map to what's being asked?

For the username and password, what's expected?  I have an account I created all the VMs with (not using that), and I could grant access to some AzureAD account.  I more expected to pass in a key or SAS. 

Any advice is appreciated. 

0 Kudos
1 Reply
ThomasColson1
Occasional Contributor

This took me forever to figure out. ArcGIS Data Store utility reference—Portal for ArcGIS | Documentation for ArcGIS Enterprise contains command examples. 

What worked for me was: configurebackuplocation --operation register --store tileCache --location "type=azure;location=[blob container name];name=DEV_STDS_BU;username=[azure storage account name];password=[secret access key]"

Note you need a separate container for each datastore

0 Kudos