Skip to content

Commit eb45357

Browse files
authored
Merge pull request #64193 from cynthn/backup-tut
Backup tutorial freshness
2 parents a1f5422 + 6d6a739 commit eb45357

File tree

2 files changed

+29
-27
lines changed

2 files changed

+29
-27
lines changed
22.6 KB
Loading

articles/virtual-machines/windows/tutorial-backup-vms.md

Lines changed: 29 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ms.devlang: na
1414
ms.topic: tutorial
1515
ms.tgt_pltfrm: vm-linux
1616
ms.workload: infrastructure
17-
ms.date: 07/27/2017
17+
ms.date: 06/06/2019
1818
ms.author: cynthn
1919
ms.custom: mvc
2020

@@ -38,20 +38,19 @@ When taking a snapshot of Windows VMs, the Backup service coordinates with the V
3838

3939
When the data transfer is complete, the snapshot is removed and a recovery point is created.
4040

41-
4241
## Create a backup
4342
Create a simple scheduled daily backup to a Recovery Services Vault.
4443

4544
1. Sign in to the [Azure portal](https://portal.azure.com/).
46-
2. In the menu on the left, select **Virtual machines**.
47-
3. From the list, select a VM to back up.
48-
4. On the VM blade, in the **Operations** section, click **Backup**. The **Enable backup** blade opens.
49-
5. In **Recovery Services vault**, click **Create new** and provide the name for the new vault. A new vault is created in the same Resource Group and location as the virtual machine.
50-
6. Click **Backup policy**. For this example, keep the defaults and click **OK**.
51-
7. On the **Enable backup** blade, click **Enable Backup**. This creates a daily backup based on the default schedule.
52-
10. To create an initial recovery point, on the **Backup** blade click **Backup now**.
53-
11. On the **Backup Now** blade, click the calendar icon, use the calendar control to select the last day this recovery point is retained, and click **Backup**.
54-
12. In the **Backup** blade for your VM, you see the number of recovery points that are complete.
45+
1. In the menu on the left, select **Virtual machines**.
46+
1. From the list, select a VM to back up.
47+
1. On the VM blade, in the **Operations** section, click **Backup**. The **Enable backup** blade opens.
48+
1. In **Recovery Services vault**, click **Create new** and provide the name for the new vault. A new vault is created in the same resource group and location as the virtual machine.
49+
1. Under **Choose backup policy**, keep the default **(New) DailyPolicy**, and then click **Enable Backup**.
50+
1. To create an initial recovery point, on the **Backup** blade click **Backup now**.
51+
1. On the **Backup Now** blade, click the calendar icon, use the calendar control to choose how long the restore point is retained, and click **OK**.
52+
1. In the **Backup** blade for your VM, you'll see the number of restore points that are complete.
53+
5554

5655
![Recovery points](./media/tutorial-backup-vms/backup-complete.png)
5756

@@ -67,25 +66,28 @@ In this example, we show how to recover the image file that is used in the defau
6766

6867
![Default IIS web page](./media/tutorial-backup-vms/iis-working.png)
6968

70-
2. Connect to the VM.
71-
3. On the VM, open **File Explorer** and navigate to \inetpub\wwwroot and delete the file **iisstart.png**.
72-
4. On your local computer, refresh the browser to see that the image on the default IIS page is gone.
69+
1. Connect to the VM.
70+
1. On the VM, open **File Explorer** and navigate to \inetpub\wwwroot and delete the file **iisstart.png**.
71+
1. On your local computer, refresh the browser to see that the image on the default IIS page is gone.
7372

7473
![Default IIS web page](./media/tutorial-backup-vms/iis-broken.png)
7574

76-
5. On your local computer, open a new tab and go the [Azure portal](https://portal.azure.com).
77-
6. In the menu on the left, select **Virtual machines** and select the VM from the list.
78-
8. On the VM blade, in the **Settings** section, click **Backup**. The **Backup** blade opens.
79-
9. In the menu at the top of the blade, select **File Recovery**. The **File Recovery** blade opens.
80-
10. In **Step 1: Select recovery point**, select a recovery point from the drop-down.
81-
11. In **Step 2: Download script to browse and recover files**, click the **Download Executable** button. Save the file to your **Downloads** folder.
82-
12. On your local computer, open **File Explorer** and navigate to your **Downloads** folder and copy the downloaded .exe file. The filename is prefixed by your VM name.
83-
13. On your VM (over the RDP connection) paste the .exe file to the Desktop of your VM.
84-
14. Navigate to the desktop of your VM and double-click on the .exe. This launches a command prompt and then mount the recovery point as a file share that you can access. When it is finished creating the share, type **q** to close the command prompt.
85-
15. On your VM, open **File Explorer** and navigate to the drive letter that was used for the file share.
86-
16. Navigate to \inetpub\wwwroot and copy **iisstart.png** from the file share and paste it into \inetpub\wwwroot. For example, copy F:\inetpub\wwwroot\iisstart.png and paste it into c:\inetpub\wwwroot to recover the file.
87-
17. On your local computer, open the browser tab where you are connected to the IP address of the VM showing the IIS default page. Press CTRL + F5 to refresh the browser page. You should now see that the image has been restored.
88-
18. On your local computer, go back to the browser tab for the Azure portal and in **Step 3: Unmount the disks after recovery** click the **Unmount Disks** button. If you forget to do this step, the connection to the mountpoint is automatically close after 12 hours. After those 12 hours, you need to download a new script to create a new mountpoint.
75+
1. On your local computer, open a new tab and go the [Azure portal](https://portal.azure.com).
76+
1. In the menu on the left, select **Virtual machines** and select the VM from the list.
77+
1. On the VM blade, in the **Operations** section, click **Backup**. The **Backup** blade opens.
78+
1. In the menu at the top of the blade, select **File Recovery**. The **File Recovery** blade opens.
79+
1. In **Step 1: Select recovery point**, select a recovery point from the drop-down.
80+
1. In **Step 2: Download script to browse and recover files**, click the **Download Executable** button. Copy the password for the file and save it somewhere safe.
81+
1. On your local computer, open **File Explorer** and navigate to your **Downloads** folder and copy the downloaded .exe file. The filename is prefixed by your VM name.
82+
1. On your VM (using the RDP connection), paste the .exe file to the Desktop of your VM.
83+
1. Navigate to the desktop of your VM and double-click on the .exe. A command prompt will start. The program mounts the recovery point as a file share that you can access. When it is finished creating the share, type **q** to close the command prompt.
84+
1. On your VM, open **File Explorer** and navigate to the drive letter that was used for the file share.
85+
1. Navigate to \inetpub\wwwroot and copy **iisstart.png** from the file share and paste it into \inetpub\wwwroot. For example, copy F:\inetpub\wwwroot\iisstart.png and paste it into c:\inetpub\wwwroot to recover the file.
86+
1. On your local computer, open the browser tab where you are connected to the IP address of the VM showing the IIS default page. Press CTRL + F5 to refresh the browser page. You should now see that the image has been restored.
87+
1. On your local computer, go back to the browser tab for the Azure portal and in **Step 3: Unmount the disks after recovery** click the **Unmount Disks** button. If you forget to do this step, the connection to the mountpoint is automatically closed after 12 hours. After those 12 hours, you need to download a new script to create a new mount point.
88+
89+
90+
8991

9092

9193
## Next steps

0 commit comments

Comments
 (0)