Today I would like to intoduce my side project, AzureFS. It is an open source command-line tool to mount Windows Azure Blob Storage (an AWS S3 alternative) on your local filesystem and play with it just like you are doing with your local files. It is implemented in Python and it is a FUSE wrapper that works on UNIX environments.
Sometimes we need to list files under a container, transfer a bunch of local files to the cloud, remove files matching a specific name pattern, rename files on the cloud, move files accross containers etc. There are not any file explorer tools for Azure Storage on Linux that I know of, so I developed this.
AzureFS allows you to do such everyday task practically with commands like ls, mkdir, rm, cp, mv etc.
Tutorial: Store database backups on the cloud
Installation of the environment is described on GitHub project page. It is up to you. Now let’s create a storage account from azure.com management portal. (You don’t need to sign up, of course, I’ll show you the demo here). Then obtain your primary access key:
Create a directory with mkdir then we’ll mount our cloud storage onto it. (I’ll use my test account named “azurefs” here):
Don’t shut down this process, jump to some other tab, navigate into cloud directory and let’s create a directory named databases:
Then I’ll simply copy my database backups with cp command:
**That simple! **I have just backed up my data to the cloud. Read More →