You can use the Windows Server Backup snap-in or the wbadmin command to create and manage backups to protect your operating system, volumes, files, and application data. Backups can be saved to single or multiple disks, DVDs, removable media, or remote shared folders. They can also be scheduled to run automatically or manually.
However, system state backup is only available for the command line and is not available in the Windows Server Backup snap-in user interface. Also, you cannot configure a scheduled backup to create system state backups—but you can script the wbadmin start systemstatebackup command to run backups on a schedule.
In addition, you can use the Local Group Policy Editor snap-in (Gpedit.msc) to allow or disallow certain types of backups or backup locations. Policy settings for Windows Server Backup are located at: Local Computer Policy\Computer Configuration\Administrative Templates\Windows Components\Backup\Server.
Event Details
Product: | Windows Operating System |
ID: | 517 |
Source: | Microsoft-Windows-Backup |
Version: | 6.0 |
Symbolic Name: | ADMIN_GENERIC_BACKUP_FAILED_EVENT |
Message: | Backup started at '%1' failed with following error code '%2' (%3). Please rerun backup once issue is resolved. |
Resolve
Review event details for solutions for failed backup
If a backup fails, review the details for the applicable events to find out why the backup operation failed. Then re-run the backup.
To do this, follow these general steps:
- Find the applicable events in Event Viewer, and then review the details for those events to find out why the backup operation failed. For more information, see "Review event details in Event Viewer."
- Review the details provided about the failure in the Windows Server Backup snap-in start page. For more information, see "Review error messages in the Windows Server Backup snap-in."
- Confirm that the location to perform the backup to is online.
- After resolving any errors that you find in performing the steps above, re-run another backup. For more information, see "Perform a backup using the command line."
To perform these procedures, you must have membership in Backup Operators or Administrators, or you must have been delegated the appropriate authority.
Review event details in Event Viewer
To review event details for a backup in Event Viewer:
- Open Event Viewer. Click Start, click Administrative Tools, and then click Event Viewer.
- In the left pane, double-click Applications and Service Logs, double-click Microsoft, double-click Windows, double-click Backup, and then clickOperational.
- In the right pane, click the Details tab, and then click XML View.
- Click an event in the list.
- Review <Data Name="VolumesInfo"> to see the error code (XML Node: HResult) and detailed error code (XML Node: DetailedHResult), along with other details about the volumes whose backup failed.
- Review error messages for the error codes, as described in "Review error messages in the Windows Server Backup snap-in."
Review error messages in the Windows Server Backup snap-in
To view error messages using Windows Server Backup:
- Open the Windows Server Backup snap-in. Click Start, click Administrative Tools, and then click Windows Server Backup.
- On the start page, under Messages, double-click the event for the failed volume recovery, click the Errors tab, and view the text under Message.
Perform a backup using the command line
To perform a one-time backup:
- Open an elevated Command Prompt window. Click Start, point to All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator.
- At the prompt, type: wbadmin start backup. Use parameters, as needed. (To view the parameters and help for this command, at a command line, type: wbadmin start backup /?).
For example, to create a backup that will be stored on drive f, of volumes e:, d:\mountpoint, and \\?\Volume{cc566d14-4410-11d9-9d93-806e6f6e6963}, type: wbadmin start backup -backupTarget:f: -include:e:,d:\mountpoint,\\?\Volume{cc566d14-44a0-11d9-9d93-806e6f6e6963}\.
Verify
To verify that backup operations are running, or will run, successfully, you should do one or more of the following, as needed:
- For any backup operations that you have run, look for Event ID 4, which indicates that the operation completed successfully with no errors.
- Verify that no other backup or recovery operations are running so that you can start an operation.
- Verify that you have enabled a scheduled backup, and is configured correctly.
- Verify that the location where you plan to store your backups is available and online.
To perform these procedures, you must have membership in Backup Operators or Administrators, or you must have been delegated the appropriate authority.
Verify the backup completed with no errors
To verify that a backup operation completed with no errors:
- Open Event Viewer. Click Start, click Administrative Tools, and then click Event Viewer.
- In the left pane, double-click Applications and Service Logs, double-click Microsoft, double-click Windows, double-click Backup, and then clickOperational.
- In the Event ID column, look for event 4.
- For this event, confirm that the value in the Source column is Backup.
Verify another operation is not running
To verify that another backup or recovery operation is not running:
- Open an elevated Command Prompt window. Click Start, point to All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator.
- At the prompt, type: wbadmin get status.
- If the command output indicates that no operation is running, then you can start a backup.
Verify scheduled backup is enabled
To verify that a scheduled backup is enabled:
- Open an elevated Command Prompt window. Click Start, point to All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator.
- At the prompt, type: wbadmin enable backup.
- If the command output shows a schedule, then a scheduled backup is enabled.
- Confirm that the schedule contains the correct parameters.
Verify storage location is online
To verify that a disk used to store backups is online:
- For the computer that contains the storage disk, open Disk Management. Click Start, click Run, and then type: diskmgmt.msc.
- Click View, click Top, and then click Disk List.
- For the disk that contains the volume that you will use to store backups, confirm that the value in the Status column is Online.