You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
7. From the download location (usually the Downloads folder), right-click the executable or script and run it with Administrator credentials. When prompted, type the password or paste the password from memory, and press **Enter**. Once the valid password is entered, the script connects to the recovery point.
50
+
7.Make sure [you have the right machine](#selecting-the-right-machine-to-run-the-script) to execute the script. If the right machine is the same machine where you downloaded the script, then you can continue to the download section. From the download location (usually the *Downloads* folder), right-click the executable or script and run it with Administrator credentials. When prompted, type the password or paste the password from memory, and press **Enter**. Once the valid password is entered, the script connects to the recovery point.
@@ -79,6 +79,23 @@ Once the disks have been unmounted, you receive a message. It may take a few min
79
79
80
80
In Linux, after the connection to the recovery point is severed, the OS doesn't remove the corresponding mount paths automatically. The mount paths exist as "orphan" volumes and are visible, but throw an error when you access/write the files. They can be manually removed. The script, when run, identifies any such volumes existing from any previous recovery points and cleans them up upon consent.
81
81
82
+
## Selecting the right machine to run the script
83
+
84
+
If the script is successfully downloaded, then the next step is to verify whether the machine on which you plan to execute the script is the right machine. Following are the requirements to be fulfilled on the machine.
85
+
86
+
### Original backed up machine versus another machine
87
+
88
+
1. If the backed-up machine is a large disk VM - that is, the number of disks is greater than 16 disks or each disk is greater than 4 TB, then the script **must be executed on another machine** and [these requirements](#file-recovery-from-virtual-machine-backups-having-large-disks) have to be met.
89
+
1. Even if the backed-up machine isn't a large disk VM, in [these scenarios](#special-configurations) the script can't be run on the same backed-up VM.
90
+
91
+
### OS requirements on the machine
92
+
93
+
The machine where the script needs to be executed must meet [these OS requirements](#system-requirements).
94
+
95
+
### Access requirements for the machine
96
+
97
+
The machine where the script needs to be executed must meet [these access requirements](#access-requirements).
98
+
82
99
## Special configurations
83
100
84
101
### Dynamic disks
@@ -212,8 +229,6 @@ For Linux, the script requires 'open-iscsi' and 'lshw' components to connect to
212
229
213
230
The access to `download.microsoft.com` is required to download components used to build a secure channel between the machine where the script is run and the data in the recovery point.
214
231
215
-
You can run the script on any machine that has the same (or compatible) operating system as the backed-up VM. See the [Compatible OS table](backup-azure-restore-files-from-vm.md#system-requirements) for compatible operating systems. If the protected Azure virtual machine uses Windows Storage Spaces (for Windows Azure VMs) or LVM/RAID Arrays (for Linux VMs), you can't run the executable or script on the same virtual machine. Instead, run the executable or script on any other machine with a compatible operating system.
216
-
217
232
## File recovery from Virtual machine backups having large disks
218
233
219
234
This section explains how to perform file recovery from backups of Azure Virtual machines with more than 16 disks and each disk size is greater than 32 TB.
@@ -240,7 +255,7 @@ Since file recovery process attaches all disks from the backup, when large numbe
240
255
- In the file /etc/iscsi/iscsid.conf, change the setting from:
241
256
- node.conn[0].timeo.noop_out_timeout = 5 to node.conn[0].timeo.noop_out_timeout = 30
242
257
- After making the change above, run the script again. With these changes, it's highly probable that the file recovery will succeed.
243
-
- Each time user downloads a script, Azure Backup initiates the process of preparing the recovery point for download. With large disks, this process will take considerable time. If there are successive bursts of requests, the target preparation will go into a download spiral. Therefore, it's recommended to download a script from Portal/Powershell/CLI, wait for 20-30 minutes (a heuristic) and then run it. By this time, the target is expected to be ready for connection from script.
258
+
- Each time user downloads a script, Azure Backup initiates the process of preparing the recovery point for download. With large disks, this process will take considerable time. If there are successive bursts of requests, the target preparation will go into a download spiral. Therefore, it's recommended to download a script from Portal/PowerShell/CLI, wait for 20-30 minutes (a heuristic) and then run it. By this time, the target is expected to be ready for connection from script.
244
259
- After file recovery, make sure you go back to the portal and click **Unmount disks** for recovery points where you weren't able to mount volumes. Essentially, this step will clean any existing processes/sessions and increase the chance of recovery.
245
260
246
261
## Troubleshooting
@@ -298,6 +313,6 @@ The script gives read-only access to a recovery point and is valid for only 12 h
298
313
## Next steps
299
314
300
315
- For any problems while restoring files, refer to the [Troubleshooting](#troubleshooting) section
301
-
- Learn how to [restore files via Powershell](https://docs.microsoft.com/azure/backup/backup-azure-vms-automation#restore-files-from-an-azure-vm-backup)
316
+
- Learn how to [restore files via PowerShell](https://docs.microsoft.com/azure/backup/backup-azure-vms-automation#restore-files-from-an-azure-vm-backup)
302
317
- Learn how to [restore files via Azure CLI](https://docs.microsoft.com/azure/backup/tutorial-restore-files)
303
318
- After VM is restored, learn how to [manage backups](https://docs.microsoft.com/azure/backup/backup-azure-manage-vms)
Copy file name to clipboardExpand all lines: articles/backup/tutorial-restore-files.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -113,6 +113,9 @@ To restore your files, Azure Backup provides a script to run on your VM that con
113
113
114
114
With the recovery script copied to your VM, you can now connect the recovery point and restore files.
115
115
116
+
>[!NOTE]
117
+
> Check [here](backup-azure-restore-files-from-vm.md#selecting-the-right-machine-to-run-the-script) to see if you can run the script on your VM before continuing.
118
+
116
119
1. Connect to your VM with SSH. Replace *publicIpAddress* with the public IP address of your VM as follows:
0 commit comments