Proposed Pull Request Change

title description ms.topic ms.date author ms.author ms.service ms.custom
Back up Windows system state to Azure using Azure Backup Learn how to back up Windows Server system state to Azure using Azure Backup. how-to 02/25/2025 AbhishekMallick-MS v-mallicka azure-backup engagement-fy24
📄 Document Links
GitHub View on GitHub Microsoft Learn View on Microsoft Learn
Raw New Markdown
Generating updated version of doc...
Rendered New Markdown
Generating updated version of doc...
+0 -0
+0 -0
--- title: Back up Windows system state to Azure using Azure Backup description: Learn how to back up Windows Server system state to Azure using Azure Backup. ms.topic: how-to ms.date: 02/25/2025 author: AbhishekMallick-MS ms.author: v-mallicka ms.service: azure-backup ms.custom: engagement-fy24 # Customer intent: As a system administrator, I want to back up the Windows Server system state to cloud storage, so that I can ensure data recovery and maintain business continuity in case of system failures. --- # Back up Windows system state to Azure using Azure Backup This article describes how to back up Windows Server system state to Azure using Azure Backup. It's intended to walk you through the basics. For more information about Azure Backup, see the [overview article](backup-overview.md). If you don't have an Azure subscription, create a [free account](https://azure.microsoft.com/pricing/purchase-options/azure-account?cid=msft_learn) that lets you access any Azure service. [!INCLUDE [How to create a Recovery Services vault](../../includes/backup-create-rs-vault.md)] ## Set storage redundancy for the vault When you create a Recovery Services vault, ensure that you configure the storage redundancy as per the organization requirements. To set the storage redundancy for the vault, follow these steps: 1. From the **Recovery Services vaults** blade, select the new vault. ![Screenshot shows how to select the new vault from the list of Recovery Services vault.](./media/backup-try-azure-backup-in-10-mins/recovery-services-vault-list.png) When you select the vault, the **Recovery Services vault** blade narrows, and the Settings blade (*which has the name of the vault at the top*) and the vault details blade open. ![Screenshot show how to view the storage configuration for new vault.](./media/backup-try-azure-backup-in-10-mins/set-storage-configuration-2.png) 2. On the new vault's **Settings** blade, use the vertical slide to scroll down to the Manage section, and select **Backup Infrastructure**. 3. On the **Backup Infrastructure** blade, select **Backup Configuration** to open the **Backup Configuration** blade. ![Screenshot shows how to set the storage configuration for new vault.](./media/backup-try-azure-backup-in-10-mins/set-storage-configuration.png) 4. Choose the appropriate storage replication option for your vault. ![Screenshot shows how to select the storage configuration option.](./media/backup-try-azure-backup-in-10-mins/choose-storage-configuration-for-vault.png) By default, your vault has geo-redundant storage. If you use Azure as a primary backup storage endpoint, continue to use **Geo-redundant**. If you don't use Azure as a primary backup storage endpoint, then choose **Locally-redundant**, which reduces the Azure storage costs. Read more about [geo-redundant](../storage/common/storage-redundancy.md#geo-redundant-storage), [locally redundant](../storage/common/storage-redundancy.md#locally-redundant-storage) and [zone-redundant](../storage/common/storage-redundancy.md#zone-redundant-storage) storage options in this [Storage redundancy overview](../storage/common/storage-redundancy.md). Now that you've created a vault, configure it for backing up Windows System State. ## Configure the vault To configure the vault, follow these steps: 1. On the Recovery Services vault blade (for the vault you just created), in the Getting Started section, select **Backup**, then on the **Getting Started with Backup** blade, select **Backup goal**. ![Screenshot shows how to open the backup settings.](./media/backup-try-azure-backup-in-10-mins/open-backup-settings.png) The **Backup Goal** blade opens. ![Screenshot shows how to open the backup goal blade.](./media/backup-try-azure-backup-in-10-mins/backup-goal-blade.png) 2. From the **Where is your workload running?** drop-down menu, select **On-premises**. You choose **On-premises** because your Windows Server or Windows computer is a physical machine that isn't in Azure. 3. From the **What do you want to back up?** menu, select **System State**, and select **OK**. ![Screenshot shows how to configure files and folders.](./media/backup-azure-system-state/backup-goal-system-state.png) After you select **OK**, a checkmark appears next to **Backup goal**, and the **Prepare infrastructure** blade opens. ![Screenshot shows how to prepare infrastructure.](./media/backup-try-azure-backup-in-10-mins/backup-goal-configed.png) 4. On the **Prepare infrastructure** blade, select **Download Agent for Windows Server or Windows Client**. ![Screenshot shows how to start downloading the agent for Windows client.](./media/backup-try-azure-backup-in-10-mins/choose-agent-for-server-client.png) If you're using Windows Server Essential, then choose to download the agent for Windows Server Essential. A pop-up menu prompts you to run or save MARSAgentInstaller.exe. ![Screenshot shows the MARSAgentInstaller dialog.](./media/backup-try-azure-backup-in-10-mins/mars-installer-run-save.png) 5. In the download pop-up menu, select **Save**. By default, the **MARSagentinstaller.exe** file is saved to your Downloads folder. When the installer completes, you'll see a pop-up asking if you want to run the installer, or open the folder. ![Screenshot shows that MARS installer is complete.](./media/backup-try-azure-backup-in-10-mins/mars-installer-complete.png) You don't need to install the agent yet. You can install the agent after you've downloaded the vault credentials. 6. On the **Prepare infrastructure** blade, select **Download**. ![Screenshot shows how to download vault credentials.](./media/backup-try-azure-backup-in-10-mins/download-vault-credentials.png) The vault credentials download to your **Downloads** folder. After the vault credentials finish downloading, you'll see a pop-up asking if you want to open or save the credentials. Select **Save**. If you accidentally select **Open**, let the dialog that attempts to open the vault credentials, fail. You won't be able to open the vault credentials. Continue to the next step. The vault credentials are in the **Downloads** folder. ![Screenshot shows that vault credentials downloading is finished.](./media/backup-try-azure-backup-in-10-mins/vault-credentials-downloaded.png) > [!NOTE] > The vault credentials must be saved only to a location that's local to the Windows Server on which you intend to use the agent. > [!INCLUDE [backup-upgrade-mars-agent.md](../../includes/backup-upgrade-mars-agent.md)] ## Install and register the agent To install and register the agent, follow these steps: 1. Locate and double-click the **MARSagentinstaller.exe** from the Downloads folder (or other saved location). The installer provides a series of messages as it extracts, installs, and registers the Recovery Services agent. ![Screenshot shows how to run Recovery Services agent installer credentials.](./media/backup-try-azure-backup-in-10-mins/mars-installer-registration.png) 2. 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. > [!NOTE] > If you lose or forget the passphrase, Microsoft can't help recover the backup data. Save the file in a secure location. It's required to restore a backup. > > The agent is now installed and your machine is registered to the vault. You're ready to configure and schedule your backup. > [!NOTE] > Enabling backup through the Azure portal isn't available. Use the Microsoft Azure Recovery Services Agent to back up Windows Server System State. > ## Back up Windows Server System State The initial backup includes two tasks: * Schedule the backup * Back up System State for the first time To complete the initial backup, use the Microsoft Azure Recovery Services agent. > [!NOTE] > You can back up System State on Windows Server 2008 R2 through Windows Server 2016. System State back up isn't supported on client SKUs. System State isn't shown as an option for Windows clients, or Windows Server 2008 SP2 machines. > > ### Schedule the backup job To schedule the backup job, follow these steps: 1. Open the Microsoft Azure Recovery Services agent. You can find it by searching your machine for **Microsoft Azure Backup**. ![Screenshot shows how to launch the Azure Recovery Services agent.](./media/backup-try-azure-backup-in-10-mins/snap-in-search.png) 2. On the Recovery Services agent, select **Schedule Backup**. ![Screenshot shows how to schedule a Windows Server backup.](./media/backup-try-azure-backup-in-10-mins/schedule-first-backup.png) 3. On the **Getting started** blade of the Schedule Backup Wizard, select **Next**. 4. On the **Select Items to Backup** blade, select **Add Items**. 5. Select **System State** and then select **OK**. 6. Select **Next**. 7. Select the required Backup frequency and the retention policy for your System State backups in the subsequent blades. 8. On the Confirmation blade, review the information, and then select **Finish**. 9. After the wizard finishes creating the backup schedule, select **Close**. ### Back up Windows Server System State for the first time To back up Windows Server System State for the first time, follow these steps: 1. Ensure that there are no pending updates for Windows Server that require a reboot. 2. On the Recovery Services agent, select **Back Up Now** to complete the initial seeding over the network. ![Screenshot shows how to start backup of Windows Server.](./media/backup-try-azure-backup-in-10-mins/backup-now.png) 3. Select **System State** on the **Select Backup Item** blade that appears and select **Next**. 4. On the Confirmation blade, review the settings that the Back Up Now Wizard will use to back up the machine. Then select **Back Up**. 5. Select **Close** to close the wizard. If you close the wizard before the backup process finishes, the wizard continues to run in the background. > [!NOTE] > The MARS Agent triggers `SFC /verifyonly` as part of the prechecks before every system state backup. This is to ensure that files backed up as part of System State have the correct versions corresponding to the Windows version. Learn more about System File Checker (SFC) in [this article](/windows-server/administration/windows-commands/sfc). > After the initial backup is completed, the **Job completed** status appears in the Backup console. ![Screenshot shows that the initial backup is completed.](./media/backup-try-azure-backup-in-10-mins/ircomplete.png) ## Next steps - [Back up Windows machines](backup-windows-with-mars-agent.md). - [Manage vaults and servers](backup-azure-manage-windows-server.md). - [Restore files to Windows Server using the MARS Agent](backup-azure-restore-windows-server.md).
Success! Branch created successfully. Create Pull Request on GitHub
Error: