When working with Dynamics machines in Azure you might want to move database backups from one VM to another and since they are not on the same network it is i little trickier. One option is to move the file using RDP… we have a couple of issues here… large files do not work/take a long lime… your computer is tied up since you cannot shut it down or use the clip board while copying… we need another solution.
The solution is Azure File Share but we need a simple solution to use them. We will map it to a drive letter:
- To create a storage file share start by logging into the Azure Portal
- Create a new Storage account or use an existing
- Select File Service – Files
- Click + File share, give the share a name and click OK
- Go back to the Storage Account and select Access Keys
- Copy one of the access key
- Start Command Prompt and enter this command to map the drive:
net use z: \\[StorageAccountName].file.core.windows.net\[fileshare] /u[StrorageAccountName] [StorageAccountKey]
UPDATE: Do not start the command prompt as administrator
Note: You need external access on port 445 which means that this might not work from your ISP or from your company network. It does however work great from Azure
Leave a Reply