Skip to content

Commit fdba412

Browse files
Update file-sync-replace-drive.md
1 parent f9ded96 commit fdba412

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

articles/storage/file-sync/file-sync-replace-drive.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,12 @@ robocopy <Server A SourcePath> <Server B Dest.Path> /MT:16 /R:2 /W:1 /COPYALL /M
3636
Removing user access to your server endpoints will cause downtime. To minimize downtime, perform these steps as quickly as possible.
3737
1. Remove SMB access to the server endpoints on Server A. Don't delete the server endpoints yet.
3838
2. On Server A, change the startup type of the Storage Sync Agent Service from Automatic to Disabled, and then put it in the Stopped state.
39-
3. Run Robocopy again to copy any changes that happened since the last run. From Server A, run: robocopy <SourcePath> <Dest.Path> /MT:16 /R:2 /W:1 /COPYALL /MIR /DCOPY:DAT /XA:O /B /IT /UNILOG:RobocopyLog.txt
40-
4. Enable SMB access to the server endpoints on Server B.
39+
3. Run Robocopy again to copy any changes that happened since the last run. From Server A, run:
40+
41+
```console
42+
robocopy <SourcePath> <Dest.Path> /MT:16 /R:2 /W:1 /COPYALL /MIR /DCOPY:DAT /XA:O /B /IT /UNILOG:RobocopyLog.txt
43+
```
44+
5. Enable SMB access to the server endpoints on Server B.
4145
Users should now be able to access the file share from the temporary VM (Server B).
4246

4347
## Step 4: Delete old server endpoints and replace drive
@@ -59,7 +63,11 @@ robocopy <Server B SourcePath> <Server A Dest.Path> /MT:16 /R:2 /W:1 /COPYALL /M
5963
Removing user access to your server endpoints on the temporary VM will cause downtime. To minimize downtime, perform these steps as quickly as possible.
6064

6165
1. Remove SMB access to the server endpoints on Server B. Don't delete the server endpoints yet.
62-
2. Run Robocopy again to copy any changes that happened since the last run. From Server B, run: robocopy <SourcePath> <Dest.Path> /MT:16 /R:2 /W:1 /COPYALL /MIR /DCOPY:DAT /XA:O /B /IT /UNILOG:RobocopyLog.txt
66+
2. Run Robocopy again to copy any changes that happened since the last run. From Server B, run:
67+
68+
```console
69+
robocopy <SourcePath> <Dest.Path> /MT:16 /R:2 /W:1 /COPYALL /MIR /DCOPY:DAT /XA:O /B /IT /UNILOG:RobocopyLog.txt
70+
```
6371
3. On Server A, change the startup type of the Storage Sync Agent Service from Disabled to Automatic, and then put it in the Started state.
6472
4. Enable SMB access to the server endpoints on Server A.
6573
5. Sign into the Azure portal. Navigate to the sync group and verify that the cloud endpoint is syncing to the server endpoint(s) on Server A.

0 commit comments

Comments
 (0)