Use Azure File Share to back up your data

tzJacky
3 min readMar 30, 2021

As an alternative to Google Drive/One Drive/Dropbox, we can use Azure storage to back up our personal data on Windows or on macOS.

This article shows how to use Azure Files, a Microsoft cloud file system, on Windows and macOS in a few steps. Assume you already have an Azure account.

Step 1, Create a Storage Account.

Step 2, Click the +File Share to create a File Share.

Step 3, Click the Connect to the File Share

Copy the script and run it in PowerShell. It will mount a Z drive for you. Below is a sample of the script.

$connectTestResult = Test-NetConnection -ComputerName azurefsdemo.file.core.windows.net -Port 445
if ($connectTestResult.TcpTestSucceeded) {
# Save the password so the drive will persist on reboot
cmd.exe /C "cmdkey /add:`"azurefsdemo.file.core.windows.net`" /user:`"Azure\azurefsdemo`" /pass:`"......`""…

--

--