При запуске через командную строку создания бекапа состояния системы
(Windows Server 2008 Enterprise x64) – бекап не создаётся и в логах появляется ошибка с кодом: Event ID 517.
Данная заметка есть практический опыт устранения её.
C:\Windows\system32>wbadmin start systemstatebackup -BackupTarget:e: -quiet
wbadmin 1.0 – Backup command-line tool
(C) Copyright 2004 Microsoft Corp.
Starting System State Backup [28.01.2013 16:16]
Retrieving volume information…
This would backup the system state from volume(s) Local Disk(C:) to e:.
Creating the shadow copy of volumes requested for backup.
Summary of backup:
——————
Backup of system state failed [28.01.2013 16:16]
Log of files successfully backed up
‘C:\Windows\Logs\WindowsServerBackup\SystemStateBackup 28-01-2013 16-16-15.log’
Log of files for which backup failed
‘C:\Windows\Logs\WindowsServerBackup\SystemStateBackup_Error 28-01-2013 16-16-15.log’
System writer is not found in the backup.
В командную строку, запущенную с правами Администратора, на сервере вводим следующие команды:
C:\Windows\system32>Takeown /f %windir%\winsxs\temp\PendingRenames /a
SUCCESS: The file (or folder): “C:\Windows\winsxs\temp\PendingRenames” now owned
by the administrators group.
C:\Windows\system32>icacls %windir%\winsxs\temp\PendingRenames /grant "NT AUTHORITY\SYSTEM:(RX)"
processed file: C:\Windows\winsxs\temp\PendingRenames
Successfully processed 1 files; Failed processing 0 files
C:\Windows\system32>icacls %windir%\winsxs\temp\PendingRenames /grant "NT Service\trustedinstaller:(F)"
processed file: C:\Windows\winsxs\temp\PendingRenames
Successfully processed 1 files; Failed processing 0 files
C:\Windows\system32>icacls %windir%\winsxs\temp\PendingRenames /grant BUILTIN\Users:(RX)
processed file: C:\Windows\winsxs\temp\PendingRenames
Successfully processed 1 files; Failed processing 0 files
C:\Windows\system32>Takeown /f %windir%\winsxs\filemaps\* /a
C:\Windows\system32>icacls %windir%\winsxs\filemaps\*.* /grant "NT AUTHORITY\SYSTEM:(RX)"
C:\Windows\system32>icacls %windir%\winsxs\filemaps\*.* /grant "NT Service\trustedinstaller:(F)"
C:\Windows\system32>icacls %windir%\winsxs\filemaps\*.* /grant BUILTIN\Users:(RX)
Останавливаем сервис – Cryptographic:
C:\Windows\system32>net stop cryptsvc
The Cryptographic Services service is stopping..
The Cryptographic Services service was stopped successfully.
Запускаем сервис – Cryptographic:
C:\Windows\system32>net start cryptsvc
The Cryptographic Services service is starting.
The Cryptographic Services service was started successfully.
Проверяем, что при запуске команды vssadmin ошибок нет:
C:\Windows\system32>vssadmin list writers
vssadmin 1.1 – Volume Shadow Copy Service administrative command-line tool
(C) Copyright 2001-2005 Microsoft Corp.
Writer name: ‘ASR Writer’
Writer Id: {be000cbe-11fe-4426-9c58-531aa6355fc4}
Writer Instance Id: {0f7351db-279f-4533-9570-c347bef93d68}
State: [1] Stable
Last error: No error
Writer name: ‘Shadow Copy Optimization Writer’
Writer Id: {4dc3bdd4-ab48-4d07-adb0-3bee2926fd7f}
Writer Instance Id: {179ea996-ced4-4160-b196-d21be9266f33}
State: [1] Stable
Last error: No error
Writer name: ‘Registry Writer’
Writer Id: {afbab4a2-367d-4d15-a586-71dbb18f8485}
Writer Instance Id: {b1c885dd-db92-4679-adad-957515f371d5}
State: [1] Stable
Last error: No error
Writer name: ‘IIS Config Writer’
Writer Id: {2a40fd15-dfca-4aa8-a654-1f8c654603f6}
Writer Instance Id: {ec02a555-5286-4c8c-b00a-b2d98e76dfa3}
State: [1] Stable
Last error: No error
Writer name: ‘WMI Writer’
Writer Id: {a6ad56c2-b509-4e6c-bb19-49d8f43532f0}
Writer Instance Id: {e4d74d3b-0892-436f-a05f-393475b070d6}
State: [1] Stable
Last error: No error
Writer name: ‘COM+ REGDB Writer’
Writer Id: {542da469-d3e1-473c-9f4f-7847f01fc64f}
Writer Instance Id: {b1ef7c8c-f297-4333-8480-a40aa6604e81}
State: [1] Stable
Last error: No error
Writer name: ‘IIS Metabase Writer’
Writer Id: {59b1f0cf-90ef-465f-9609-6ca8b2938366}
Writer Instance Id: {36170a83-a1fe-41af-a64f-f95a2a96ea81}
State: [1] Stable
Last error: No error
Запускаем бекап системы:
C:\Windows\system32>wbadmin start systemstatebackup -BackupTarget:e: -quiet
wbadmin 1.0 – Backup command-line tool
(C) Copyright 2004 Microsoft Corp.
Starting System State Backup [01.02.2013 11:22]
Retrieving volume information…
This would backup the system state from volume(s) Local Disk(C:) to e:.
Creating the shadow copy of volumes requested for backup.
Found (0) files
Found (2385) files
Found (7092) files
Found (12145) files
Found (16777) files
Found (26571) files
Found (37978) files
Found (49540) files
Found (60672) files
Found (72107) files
Found (82884) files
Found (87034) files
Found (87034) files
Found (87034) files
Found (87034) files
Found (87034) files
Search for system state files complete
Starting backup of files
Overall progress – 0% (Currently backing up files reported by ‘System Writer’)
Overall progress – 1% (Currently backing up files reported by ‘System Writer’)
Overall progress – 2% (Currently backing up files reported by ‘System Writer’)
Overall progress – 3% (Currently backing up files reported by ‘System Writer’)
Overall progress – 5% (Currently backing up files reported by ‘System Writer’)
Overall progress – 6% (Currently backing up files reported by ‘System Writer’)
Overall progress – 8% (Currently backing up files reported by ‘System Writer’)
Overall progress – 10% (Currently backing up files reported by ‘System Writer’)
Overall progress – 13% (Currently backing up files reported by ‘System Writer’)
Overall progress – 15% (Currently backing up files reported by ‘System Writer’)
Overall progress – 18% (Currently backing up files reported by ‘System Writer’)
Overall progress – 20% (Currently backing up files reported by ‘System Writer’)
Overall progress – 21% (Currently backing up files reported by ‘System Writer’)
Overall progress – 23% (Currently backing up files reported by ‘System Writer’)
Overall progress – 25% (Currently backing up files reported by ‘System Writer’)
Overall progress – 27% (Currently backing up files reported by ‘System Writer’)
Overall progress – 31% (Currently backing up files reported by ‘System Writer’)
Overall progress – 35% (Currently backing up files reported by ‘System Writer’)
Overall progress – 38% (Currently backing up files reported by ‘System Writer’)
Overall progress – 41% (Currently backing up files reported by ‘System Writer’)
Overall progress – 44% (Currently backing up files reported by ‘System Writer’)
Overall progress – 44% (Currently backing up files reported by ‘System Writer’)
Overall progress – 46% (Currently backing up files reported by ‘System Writer’)
Overall progress – 50% (Currently backing up files reported by ‘System Writer’)
Overall progress – 53% (Currently backing up files reported by ‘System Writer’)
Overall progress – 56% (Currently backing up files reported by ‘System Writer’)
Overall progress – 60% (Currently backing up files reported by ‘System Writer’)
Overall progress – 63% (Currently backing up files reported by ‘System Writer’)
Overall progress – 66% (Currently backing up files reported by ‘System Writer’)
Overall progress – 70% (Currently backing up files reported by ‘System Writer’)
Overall progress – 73% (Currently backing up files reported by ‘System Writer’)
Overall progress – 75% (Currently backing up files reported by ‘System Writer’)
Overall progress – 76% (Currently backing up files reported by ‘System Writer’)
Overall progress – 77% (Currently backing up files reported by ‘System Writer’)
Overall progress – 78% (Currently backing up files reported by ‘System Writer’)
Overall progress – 78% (Currently backing up files reported by ‘System Writer’)
Overall progress – 79% (Currently backing up files reported by ‘System Writer’)
Overall progress – 79% (Currently backing up files reported by ‘System Writer’)
Overall progress – 80% (Currently backing up files reported by ‘System Writer’)
Overall progress – 82% (Currently backing up files reported by ‘System Writer’)
Overall progress – 85% (Currently backing up files reported by ‘System Writer’)
Overall progress – 87% (Currently backing up files reported by ‘System Writer’)
Overall progress – 91% (Currently backing up files reported by ‘System Writer’)
Overall progress – 94% (Currently backing up files reported by ‘System Writer’)
Overall progress – 97% (Currently backing up files reported by ‘System Writer’)
Backup of files reported by ‘System Writer’ completed
Backup of files reported by ‘Registry Writer’ completed
Backup of files reported by ‘WMI Writer’ completed
Backup of files reported by ‘COM+ REGDB Writer’ completed
Backup of files reported by ‘IIS Metabase Writer’ completed
Overall progress – 99% (Currently backing up files reported by ‘IIS Config Writer’)
Summary of backup:
——————
Backup of system state completed successfully [01.02.2013 11:32]
Log of files successfully backed up
‘C:\Windows\Logs\WindowsServerBackup\SystemStateBackup 01-02-2013 11-22-13.log’
Вот собственно и всё, бекап делается и успешно создаётся, удачи!!!