Sunday, April 17, 2011

VirtualBox, Windows 2008 y wbadmin

Para volverse loco. Cada vez que empezaba un backup obtenía el siguiente error:


c:\#> wbadmin start systemstatebackup -backupTarget:e:

This would backup the system state from volume(s) Local Disk(C:) to e:.
Do you want to start the backup operation?
[Y] Yes [N] No Y

Creating the shadow copy of volumes requested for backup.
Creating the shadow copy of volumes requested for backup.
Creating the shadow copy of volumes requested for backup.
Creating the shadow copy of volumes requested for backup.
Creating the shadow copy of volumes requested for backup.
Creating the shadow copy of volumes requested for backup.
Creating the shadow copy of volumes requested for backup.
Creating the shadow copy of volumes requested for backup.
Creating the shadow copy of volumes requested for backup.
Creating the shadow copy of volumes requested for backup.
Creating the shadow copy of volumes requested for backup.
Creating the shadow copy of volumes requested for backup.
Identifying system state files to backup (This may take a few minutes)...

Summary of backup:
------------------

Backup of system state failed [17/04/2011 16:47]

Log of files successfully backed up
'C:\Windows\Logs\WindowsServerBackup\SystemStateBackup 17-04-2011 16-45-11.log'

Log of files for which backup failed
'C:\Windows\Logs\WindowsServerBackup\SystemStateBackup_Error 17-04-2011 16-45-11
.log'

Enumeration of the files failed.
The parameter is incorrect.

La respuesta a este error está en este link:
http://forums.virtualbox.org/viewtopic.php?f=7&t=23151

Un problema con el servicio vboxservice.

La solución, modificar la clave de registro
HKLM\System\CurrentControlSet\Services\VboxService

y modificar la ruta de system32\vboxservice.exe a c:\windows\system32\vboxservice.exe



Una vez hecho, el backup funciona sin problemas.