Bobcares

How to use Azure File Storage as a backup disk on Windows Server?

by | Sep 3, 2020

Azure File Storage (AFS) is a file storage service. It can be used for backup data, files, or accessing files like S3 of Amazon.

Here at Bobcares, we’ll set up File Storage as part of our  Support Services for Azure users

How to set up Azure File Storage as a backup disk

Azure Backup gives a great backup solution for Azure file shares. Using Azure Backup, securing, and restoring becomes flexible. It means the lost data can be back in time instantly.

Now, let’s see how our Support Engineers set up File Storage as a backup disk on Windows Server are given below.

1. initially, we create a storage

2. Then, we log in to the Azure portal > click Storage accounts menu > click plus +Add button

Once storage is added, open the storage and copy Access keys.

2. Next, we map the storage as a local disk. For that, we open the cmd tool and run the below command  to map the storage to a local disk on Windows Server:

net use X: \\xxxStorageName.file.core.windows.net\xxxFileFolder /u:xxxStorageName xxxKey

When we use the below command to disconnect this disk,

net use X: /delete

3. Then, we create a .bat file and put into a Task Scheduler

For example, to copy a file from other disks to this storage disk, we create a .bat file naming copylogs.bat with content as below:

@echo off
copy D:\monthly\*.log X:\monthly
del D:\monthly\*.log

4. After that, we create a Task Scheduler to run this .bat file at 2 AM monthly.

5. Finally, we save the data or files on the cloud. When the server is damaged the method is worth it.

 

[Need assistance to set up File Storage as a backup disk? We’ll help you.]

 

Conclusion

In short,  File Storage as a backup disk is worth it when the server is damaged or when data has lost.  Today, we saw how our Support Engineers set up Azure File Storage as a backup disk.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

var google_conversion_label = "owonCMyG5nEQ0aD71QM";

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Never again lose customers to poor
server speed! Let us help you.