Is there a way to mount an Azure blob account as a drive in a linux machine, and have the files show up as file blobs in the Azure portal? I know I can mount an Azure blob as a disk, but when I'm done, I just have a disk. I'm looking to backup a few critical files from an Azure VM, and don't really want to rig up SDK calls. I'd rather a cron rsync a directory -- added benefit: it prunes. I'm familiar with rclone and AzCopy, but both require I bake azure secrets into the command line. Is there a blob mount way to do it instead of a separate install?
3 Answers
You can use blobfuse to mount a Blob storage container on Linux and access data. Blobfuse is a virtual file system driver for Azure Blob Storage, which allows you to access your existing block blob data in your Storage account through the Linux file system. Azure Blob Storage is an object storage service and therefore does not have a hierarchical namespace. Blobfuse provides this namespace using the virtual directory scheme with the use of forward-slash '/' as a delimiter.
there is Mount for Files
https://docs.microsoft.com/en-ca/azure/storage/files/storage-files-introduction
Do not try Mount with Windows SMB DISASTER!!!
Mount Azure File storage on Linux VMs using SMB https://docs.microsoft.com/en-us/azure/virtual-machines/linux/mount-azure-file-storage-on-linux-using-smb
ONE MORE TIME SMB= DISASTER!!!!
there are 3rd party tools like for BLOBs https://www.cloudberrylab.com/
https://www.cloudberrylab.com/backup/linux.aspx
personally I look to develop by myself app and backup on demand not as permanent disk attached Hard to secure...
goofys added support for azure blob: https://github.com/kahing/goofys/blob/master/README-azure.md#azure-blob-storage