Differences between revisions 1 and 4 (spanning 3 versions)
Revision 1 as of 2021-11-16 13:13:01
Size: 919
Editor: scot
Comment:
Revision 4 as of 2021-11-16 14:18:11
Size: 1257
Editor: scot
Comment:
Deletions are marked like this. Additions are marked like this.
Line 10: Line 10:
 * {{{C:\> wbadmin get items -version:11/16/2021-11:00}} show items that can be recovered.
 *
 * {{{C:\> wbadmin get items -version:11/16/2021-11:00}}} show items that can be recovered.
 * {{{C:\> wbadmin start recovery -version 11/16/2021-11:00 itemtype:file items:c:\inetpub\wwwroot\default.htm}}}

/* see: https://sourcedaddy.com/windows-10/perform-backup-and-restore-wbadmin.html as an example and documentation at https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/wbadmin-start-recovery */

Lab 11: Recovery using Windows Server Core and wbadmin.exe

This is an unusual exercise that is not always easy to do and may be a good reason to look at a better backup solution that what is provided by Microsoft. Why unusual? Because Microsoft has repeatedly said that if you can do it in the GUI, you can do it with powershell. After scouring their website, it does not appear that you can do this with powershell. So that leaves us with wbadmin.exe.

Scenario

You want to recover specific file(s) from a backup such as the one we setup in Lab 10. Let's recover the default html page that is used by your IIS server.

  • C:\> wbadmin get versions will identify the version and basic information about the available backups. Make sure to use the version and not the date/time in the next step

  • C:\> wbadmin get items -version:11/16/2021-11:00 show items that can be recovered.

  • C:\> wbadmin start recovery -version 11/16/2021-11:00 itemtype:file items:c:\inetpub\wwwroot\default.htm

WindowsAdministration/Lab11RecoveryExerciseCore (last edited 2021-11-18 18:56:36 by scot)