First look: back up files and folders with Azure Backup using the Resource Manager deployment model
This article explains how to back up your Windows Server (or Windows client) files and folders to Azure with Azure Backup using Resource Manager. It's a tutorial intended to walk you through the basics. If you want to get started using Azure Backup, you're in the right place.
If you want to know more about Azure Backup, read this overview.
Backing up files and folders to Azure requires these activities:
Get an Azure subscription (if you don't already have one).
Create a Recovery Services vault.
Download the necessary files.
Install and register the Recovery Services agent.
Back up your files and folders.
If you don't have an Azure subscription, create a free account that lets you access any Azure service.
To back up your files and folders, you need to create a Recovery Services vault in the region where you want to store the data. You also need to determine how you want your storage replicated.
If you haven't already done so, sign in to the Azure Portal using your Azure subscription.
On the Hub menu, click Browse and in the list of resources, type Recovery Services and click Recovery Services vaults.
On the Recovery Services vaults menu, click Add.
The Recovery Services vault blade opens, prompting you to provide a Name, Subscription, Resource group, and Location.
For Name, enter a friendly name to identify the vault.
Click Subscription to see the available list of subscriptions.
Click Resource group to see the available list of Resource groups, or click New to create a new Resource group.
Click Location to select the geographic region for the vault. This choice determines the geographic region where your backup data is sent.
If you don't see your vault listed after it has been completed, click Refresh. When the list refreshes, click the name of the vault.
When you first create a Recovery Services vault you determine how storage is replicated.
Click on the new vault to open the dashboard.
In the Settings blade, which opens automatically with your vault dashboard, click Backup Infrastructure.
In the Backup Infrastructure blade, click Backup Configuration to view the Storage replication type.
Choose the appropriate storage replication option for your vault.
By default, your vault has geo-redundant storage. If you are using Azure as a primary backup storage endpoint, continue using geo-redundant storage. If you are using Azure as a non-primary backup storage endpoint, then choose locally redundant storage, which will reduce the cost of storing data in Azure. Read more about geo-redundant and locally redundant storage options in this overview.
Now that you've created a vault, you prepare your infrastructure to back up files and folders by downloading the Microsoft Azure Recovery Services agent and vault credentials.
Click Settings on the Recovery Services vault dashboard.
Click Getting Started > Backup on the Settings blade.
Click Backup goal on the Backup blade.
Select On-premises from the Where is your workload running? menu.
Select Files and folders from the What do you want to backup? menu, and click OK.
Click Download Agent for Windows Server or Windows Client in the Prepare infrastructure blade.
Click Save in the download pop-up. By default, the MARSagentinstaller.exe file is saved to your Downloads folder.
Click Download > Save on the Prepare infrastructure blade.
Enabling backup through the Azure portal is coming soon. At this time, you use the Microsoft Azure Recovery Services Agent on-premises to back up your files and folders.
Locate and double click the MARSagentinstaller.exe from the Downloads folder (or other saved location).
Complete the Microsoft Azure Recovery Services Agent Setup Wizard. To complete the wizard, you need to:
- Choose a location for the installation and cache folder.
- Provide your proxy server info if you use a proxy server to connect to the internet.
- Provide your user name and password details if you use an authenticated proxy.
- Provide the downloaded vault credentials
- Save the encryption passphrase in a secure location.
The agent is now installed and your machine is registered to the vault. You're ready to configure and schedule your backup.
The initial backup includes two key tasks:
- Schedule the backup
- Back up files and folders for the first time
To complete the initial backup, you use the Microsoft Azure Recovery Services agent.
Open the Microsoft Azure Recovery Services agent. You can find it by searching your machine for Microsoft Azure Backup.
In the Recovery Services agent, click Schedule Backup.
On the Getting started page of the Schedule Backup Wizard, click Next.
On the Select Items to Backup page, click Add Items.
Select the files and folders that you want to back up, and then click Okay.
On the Specify Backup Schedule page, specify the backup schedule and click Next.
You can schedule daily (at a maximum rate of three times per day) or weekly backups.
For more information about how to specify the backup schedule, see the article Use Azure Backup to replace your tape infrastructure.
On the Select Retention Policy page, select the Retention Policy for the backup copy.
The retention policy specifies the duration for which the backup will be stored. Rather than just specifying a “flat policy” for all backup points, you can specify different retention policies based on when the backup occurs. You can modify the daily, weekly, monthly, and yearly retention policies to meet your needs.
On the Choose Initial Backup Type page, choose the initial backup type. Leave the option Automatically over the network selected, and then click Next.
You can back up automatically over the network, or you can back up offline. The remainder of this article describes the process for backing up automatically. If you prefer to do an offline backup, review the article Offline backup workflow in Azure Backup for additional information.
On the Confirmation page, review the information, and then click Finish.
After the wizard finishes creating the backup schedule, click Close.
In the Recovery Services agent, click Back Up Now to complete the initial seeding over the network.
On the Confirmation page, review the settings that the Back Up Now Wizard will use to back up the machine. Then click Back Up.
Click Close to close the wizard. If you do this before the backup process finishes, the wizard continues to run in the background.
After the initial backup is completed, the Job completed status appears in the Backup console.
If you have questions, or if there is any feature that you would like to see included, send us feedback.