Skip to content

Commit a04679b

Browse files
authored
Merge pull request #48763 from wmgries/restore-windows-previous-versions
Restore previous versions section to Windows page
2 parents d257692 + 0cb70c4 commit a04679b

File tree

6 files changed

+21
-0
lines changed

6 files changed

+21
-0
lines changed
33.9 KB
Loading
55.9 KB
Loading
76.9 KB
Loading
159 KB
Loading

articles/storage/files/storage-how-to-use-files-windows.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,26 @@ Remove-PSDrive -Name <desired-drive-letter>
189189

190190
7. When you are ready to dismount the Azure file share, you can do so by right-clicking on the entry for the share under the **Network locations** in File Explorer and selecting **Disconnect**.
191191

192+
### Accessing share snapshots from Windows
193+
If you have taken a share snapshot, either manually or automatically through a script or service like Azure Backup, you can view previous versions of a share, a directory, or a particular file from file share on Windows. You can take a share snapshot from the [Azure Portal](storage-how-to-use-files-portal.md), [Azure PowerShell](storage-how-to-use-files-powershell.md), and [Azure CLI](storage-how-to-use-files-cli.md).
194+
195+
#### List previous versions
196+
Browse to the item or parent item that needs to be restored. Double-click to go to the desired directory. Right-click and select **Properties** from the menu.
197+
198+
![Right-click menu for a selected directory](./media/storage-how-to-use-files-windows/snapshot-windows-previous-versions.png)
199+
200+
Select **Previous Versions** to see the list of share snapshots for this directory. The list might take a few seconds to load, depending on the network speed and the number of share snapshots in the directory.
201+
202+
![Previous Versions tab](./media/storage-how-to-use-files-windows/snapshot-windows-list.png)
203+
204+
You can select **Open** to open a particular snapshot.
205+
206+
![Opened snapshot](./media/storage-how-to-use-files-windows/snapshot-browse-windows.png)
207+
208+
#### Restore from a previous version
209+
Select **Restore** to copy the contents of the entire directory recursively at the share snapshot creation time to the original location.
210+
![Restore button in warning message](./media/storage-how-to-use-files-windows/snapshot-windows-restore.png)
211+
192212
## Securing Windows/Windows Server
193213
In order to mount an Azure file share on Windows, port 445 must be accessible. Many organizations block port 445 because of the security risks inherent with SMB 1. SMB 1, also known as CIFS (Common Internet File System), is a legacy file system protocol included with Windows and Windows Server. SMB 1 is an outdated, inefficient, and most importantly insecure protocol. The good news is that Azure Files does not support SMB 1, and all supported versions of Windows and Windows Server make it possible to remove or disable SMB 1. We always [strongly recommend](https://aka.ms/stopusingsmb1) removing or disabling the SMB 1 client and server in Windows before using Azure file shares in production.
194214

articles/storage/files/storage-snapshots-files.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,4 +84,5 @@ Share snapshots provide only file-level protection. Share snapshots don't preven
8484
- [Portal](storage-how-to-use-files-portal.md#create-and-modify-share-snapshots)
8585
- [PowerShell](storage-how-to-use-files-powershell.md#create-and-modify-share-snapshots)
8686
- [CLI](storage-how-to-use-files-cli.md#create-and-modify-share-snapshots)
87+
- [Windows](storage-how-to-use-files-windows.md#accessing-share-snapshots-from-windows)
8788
- [Share snapshot FAQ](storage-files-faq.md#share-snapshots)

0 commit comments

Comments
 (0)