|
1 | 1 | ---
|
2 |
| -title: Recover an Azure File Sync equipped server from a server-level failure |
3 |
| -description: Learn how to recover an Azure File Sync equipped server from a server-level failure |
| 2 | +title: Recover an Azure File Sync server |
| 3 | +description: Learn how to recover an Azure File Sync server from a server-level failure. Create a new server endpoint and perform the changeover. |
4 | 4 | author: khdownie
|
5 | 5 | ms.service: azure-file-storage
|
6 | 6 | ms.topic: how-to
|
7 |
| -ms.date: 12/07/2021 |
| 7 | +ms.date: 06/05/2024 |
8 | 8 | ms.author: kendownie
|
9 | 9 | ---
|
10 | 10 |
|
11 |
| -# Recover an Azure File Sync equipped server from a server-level failure |
| 11 | +# Recover an Azure File Sync server from a server-level failure |
12 | 12 |
|
13 |
| -If the server hosting your Azure file share fails but, your data disk is still intact, you may be able to recover the data from it. This article covers the general steps for successfully recovering your data. |
| 13 | +If the server hosting your Azure file share fails but your data disk is still intact, you might be able to recover the data. This article covers the general steps for successfully recovering your data. |
14 | 14 |
|
15 |
| -First, on either a new on-premises Windows Server, or an Azure VM, create a new data disk that is the same size as the original data disk. Creating a new data disk reduces the potential for hardware failure from the original data disk. |
| 15 | +First, on either a new on-premises Windows Server or an Azure virtual machine (VM), create a new data disk that's the same size as the original data disk. Creating a new data disk reduces the potential for hardware failure from the original data disk. |
16 | 16 |
|
17 | 17 | [Install the latest Azure File Sync agent](file-sync-deployment-guide.md#install-the-azure-file-sync-agent) on the new server, then [register the new server](file-sync-deployment-guide.md#register-windows-server-with-storage-sync-service) to the same Storage Sync Service as the original server.
|
18 | 18 |
|
19 | 19 | ## Create a new server endpoint
|
20 | 20 |
|
21 |
| -Now that your server itself is configured, [create and configure a new server endpoint](file-sync-deployment-guide.md#create-a-server-endpoint). For recovery purposes, there are a few things you should consider before configuring your new server endpoint: |
| 21 | +Now that your server is configured, [create and configure a new server endpoint](file-sync-deployment-guide.md#create-a-server-endpoint). For recovery purposes, there are a few things you should consider before configuring your new server endpoint: |
22 | 22 |
|
23 |
| -If you want to enable cloud tiering, leave **Initial Download Mode** at its default setting. This allows for a faster disaster recovery since only the namespace is downloaded, creating tiered files. If instead you want to keep cloud tiering disabled, the only option for **Initial Download Mode** is to fully download all files. |
| 23 | +If you want to enable cloud tiering, leave **Initial Download Mode** at its default setting. This allows for a faster disaster recovery because only the namespace is downloaded, creating tiered files. If instead you want to keep cloud tiering disabled, the only option for **Initial Download Mode** is to fully download all files. |
24 | 24 |
|
25 |
| -While the namespace is being synced, don't copy data manually, since that will increase the download time. When the sync completes, additional data will download in the background. While this background recall occurs, feel free to continue working as normal, you don't need to wait for it to complete. |
| 25 | +While the namespace is being synced, don't copy data manually, because that will increase the download time. When the sync completes, additional data will download in the background. While this background recall occurs, feel free to continue working as normal. You don't need to wait for it to complete. |
26 | 26 |
|
27 |
| -If there is data on your original server that didn't upload to the cloud before it went offline, you can potentially recover it. You would do this by copying its contents into the new server's volume. If you would like to do this, use the following robocopy command. |
| 27 | +If there is data on your original server that didn't upload to the cloud before it went offline, you can potentially recover it. You can do this by copying its contents into the new server's volume using the following Robocopy command. |
28 | 28 |
|
29 | 29 | > [!IMPORTANT]
|
30 |
| -> If you're recovering more than one VM/machine, don't run this command. |
31 |
| -> |
32 |
| -> Wait for this copy to complete before moving to the next step. |
| 30 | +> If you're recovering more than one VM/machine, don't run this command. Wait for this copy to complete before moving to the next step. |
33 | 31 |
|
34 | 32 | ```bash
|
35 | 33 | Robocopy <directory-in-old-drive> <directory-in-new-drive> /COPY:DATSO /MIR /DCOPY:AT /XA:O /B /IT /UNILOG:RobocopyLog.txt
|
36 | 34 | ```
|
37 | 35 |
|
38 | 36 | ## Changeover
|
39 | 37 |
|
40 |
| -Now that everything is setup, you can redirect all your data access to the new server and detach the older data disk. You can also delete the old server endpoint and unregister the old server. |
| 38 | +Now that everything is set up, you can redirect all your data access to the new server and detach the old data disk. You can also delete the old server endpoint and unregister the old server. |
41 | 39 |
|
42 |
| -You've now completed your configuration. Your new server should be operating normally and all data can be accessed from the new server. |
| 40 | +You've now completed your configuration. Your new server should be operating normally and all data can be accessed from the new server. |
0 commit comments