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
Copy file name to clipboardExpand all lines: articles/backup/backup-client-automation.md
+37-71Lines changed: 37 additions & 71 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
title: Use PowerShell to back up Windows Server to Azure
3
3
description: In this article, learn how to use PowerShell for setting up Azure Backup on Windows Server or a Windows client, and managing backup and recovery.
4
4
ms.topic: conceptual
5
-
ms.date: 08/20/2019
5
+
ms.date: 12/2/2019
6
6
---
7
7
# Deploy and manage backup to Azure for Windows Server/Windows Client using PowerShell
8
8
@@ -563,7 +563,7 @@ This section will guide you through the steps for automating recovery of data fr
You retrieve a list of backup points by executing the [Get-OBRecoverableItem](https://technet.microsoft.com/library/hh770399.aspx) cmdlet with appropriate parameters. In our example, we’ll choose the latest backup point for the source volume *D:* and use it to recover a specific file.
590
+
You retrieve a list of backup points by executing the [Get-OBRecoverableItem](https://technet.microsoft.com/library/hh770399.aspx) cmdlet with appropriate parameters. In our example, we’ll choose the latest backup point for the source volume *C:* and use it to recover a specific file.
The object `$Rps` is an array of backup points. The first element is the latest point and the Nth element is the oldest point. To choose the latest point, we will use `$Rps[0]`.
621
623
622
-
### Choosing an item to restore
623
-
624
-
To identify the exact file or folder to restore, recursively use the [Get-OBRecoverableItem](https://technet.microsoft.com/library/hh770399.aspx) cmdlet. That way the folder hierarchy can be browsed solely using the `Get-OBRecoverableItem`.
625
-
626
-
In this example, if we want to restore the file *finances.xls* we can reference that using the object `$FilesFolders[1]`.
To restore a specific file, specify the file name relative to the root volume. For example, to retreive C:\Test\Cat.job, execute the following command.
You can also search for items to restore using the ```Get-OBRecoverableItem``` cmdlet. In our example, to search for *finances.xls* we could get a handle on the file by running this command:
0 commit comments