Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Azure Blob Storage instructions. #1821

Merged
merged 20 commits into from
Aug 31, 2023
Merged

Conversation

bryanpaget
Copy link
Contributor

@bryanpaget bryanpaget commented Aug 30, 2023

I've updated the Azure Blob Storage document to include instructions for migrating MinIO files to Blob storage.

Closes #1819

@bryanpaget bryanpaget changed the title Bryan update blob Update Azure Blob Storage instructions. Aug 30, 2023
@bryanpaget
Copy link
Contributor Author

bryanpaget commented Aug 30, 2023

How to Migrate from MinIO to Azure Blob Storage

First, import the environmental variables stored in your secrets vault. You will either import from minio-gateway or fdi-gateway depending on where your data was ingested.

jovyan@rstudio-0:~$ source /vault/secrets/fdi-gateway-protected-b

Then you create an alias to access your data.

jovyan@rstudio-0:~$ mc alias set minio $MINIO_URL $MINIO_ACCESS_KEY $MINIO_SECRET_KEY

List the contents of your data folder with mc ls.

jovyan@rstudio-0:~$ mc ls minio

Finally, copy your MinIO data into your Azure Blob Storage directory with mc cp --recursive.

jovyan@rstudio-0:~$ mc cp --recursive minio ~/buckets

@bryanpaget
Copy link
Contributor Author

Needs to be tested.

@chuckbelisle chuckbelisle self-requested a review August 31, 2023 19:17
Copy link
Contributor

@chuckbelisle chuckbelisle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work, thank you for updating the documentation in both languages. The only thing I can see that could use some polishing is the mc cp --recursive minio ~/buckets command should note that the user should copy the data to the correct sub bucket (unclassified, Protect B, etc)

@chuckbelisle chuckbelisle merged commit d3b8419 into master Aug 31, 2023
0 of 2 checks passed
@chuckbelisle chuckbelisle deleted the bryan-update-blob branch August 31, 2023 19:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update Blob storage user docs with examples
2 participants