Reputation: 287
I have a Azure virtual machine ubuntu 16.04 LTS.
In the machine, I have some files which I want to upload in the Azure blob (storage). The directory in the VM where the files are stored are updated on daily basis, so in the azure blob, I need to transfer the files which comes newly to the source directory.
Can some one please suggest what are the available and best ways to achieve this.
Thanks
Upvotes: 1
Views: 2338
Reputation: 146
You can write a bash script which will upload data to the azure storage account & schedule the script execution as per required time using a cron job.
You can refer this link for a copy to storage.
You can refer this link for a schedule execution on the script
Upvotes: 0
Reputation: 28224
You could mount Blob storage as a file system with blobfuse on Linux. Another option is to use the Azcopy tool, see the Get started with AzCopy article to download AzCopy. Refer to Transfer data with AzCopy and file storage
Upvotes: 1