Windows 2019
Sponsored Link

Windows Server Backup : Recover Files2020/09/21

Recover Files from Backups.
[1] Run PowerShell with Admin Privilege and Recover Files.
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

# set backup location object
# example follows is for the case backups exist on shared folder
# for the case backups exist on local drive ⇒ -VolumePath (drive letter)
PS C:\Users\Administrator> $BackupLocation = New-WBBackupTarget -NetworkPath "\\\Share01" `
-Credential (New-Object PSCredential("Serverworld", (ConvertTo-SecureString -AsPlainText "P@ssw0rd01" -Force)))

# confirm backups
PS C:\Users\Administrator> Get-WBBackupSet -BackupTarget $BackupLocation
VersionId        : 09/18/2020-22:16
BackupTime       : 9/18/2020 3:16:58 PM
BackupTarget     : \\\Share01
RecoverableItems : Volumes, SystemState, Applications, Files, BareMetalRecovery
Volume           : {EFI System Partition, Recovery, Local disk (C:), New Volume (D:)}
Application      : {Registry}
VssBackupOption  : VssCopyBackup
SnapshotId       : 00000000-0000-0000-0000-000000000000
BackupSetId      : 3f3d142f-644e-45b3-b0ea-7d5d6c6b4517

# set backupset object
PS C:\Users\Administrator> $Backups = Get-WBBackupSet -BackupTarget $BackupLocation

# run recovery
# -SourcePath (recovering source files/folders)
# -Recursive ⇒ if a folder specified for SourcePath, recover all files recursively
# -TargetPath (target Path for saving recovering files)
PS C:\Users\Administrator> Start-WBFileRecovery -BackupSet $Backups -SourcePath "C:\Users\Administrator" -Recursive -TargetPath "C:\Users\Administrator\Desktop\recovery"

Start recovery of files from C:\Users\Administrator to C:\Users\Administrator\Desktop\recovery ?
[Y] Yes  [N] No  [S] Suspend  [?] Help (default is "Y"): Y
Recovering files from C:\Users\Administrator :
Recovering files from C:\Users\Administrator :
Recovering files from C:\Users\Administrator : 35% of files recovered.
Recovering files from C:\Users\Administrator : 87% of files recovered.

PS C:\Users\Administrator> ls C:\Users\Administrator\Desktop\recovery

    Directory: C:\Users\Administrator\Desktop\recovery

Mode                LastWriteTime         Length Name
----                -------------         ------ ----
d-----        9/17/2020   9:41 PM                Administrator
Windows Server Backup : Recover Files (GUI)
On GUI configuration, set like follows.
[2] Run [Server Manager] and click [Tools] - [Windows Server Backup], next Select [Local Backup] on the left pane and right-click to open menu, then select [Recover].
[3] Select a location of Backup stored. It selects [another location] on this example.
[4] Specify Location Type. It selects [Remote shared folder] on this example.
[5] If selected [Remote shared folder] on previous section, Specify Remote Folder.
[6] Select Backup Date and Click [Next] button.
[7] Select Recovery Type. Its selects [Files and Folders] on this example.
[8] Select Items to Recover you'd like to recover files and folders.
[9] Specify Recovery Options.
[10] Click [Recover] button.
[11] After finishing recovery, Click [Close] button.
[12] That's OK ro run recovery.
Matched Content