Script Error Start-WBBackup (Windows Server Backup SnapIn)

Hi, first of all, i hope that the post location will be the correct, and sorry for my english.
I had this problem with a Script, i'm new in powershell, and hope that you can helpme.
The objective of the script is make a SystemState Backup and send an Email. The fail is in the execution fo the Start-WBBackup cmd-let, the error is about the target of the backup, it says it is not valid, or something like that. Also, the error handling
is not functioning.
I let you the script, hope that you can tellme where is the error, and again, sorry for my english.
Add-PSSnapIn windows.serverbackup
$Equipo = $env:computername
#Parametros Mail
$smtp = "smtp.server"
$from = "Backup User <[email protected]>"
$to = "Alertas IT <[email protected]>"
$body = "Backup SystemState para el equipo: $Equipo"
$subject = "SystemState $Equipo"
#Definir Ubicacion
$backdir = "\\backup-server\share-name\"
$backupLocation = New-WBBackupTarget -network $backdir
$backuplog = "$backdir"+(Get-Date -f yyyyMMdd)+"_SystemState_$Equipo.log"
#Definir Politica
$policy = New-WBPolicy
Add-WBSystemState -Policy $policy
Add-WBBackupTarget -Policy $policy -Target $backupLocation
#Descomentar estas lineas para agregar carpetas/archivos
#$files=new-WBFileSpec S:\IISRoot,c:\Inetpub
#Add folders / source folders into the policy
#Add-wbFileSpec -policy $policy -filespec $files
write-host $policy
#Ejecutar Backup
$Error.Clear()
Start-WBBackup -Policy $policy | Out-File "$backuplog"
if($Error.Count -gt 0) {
$subject = "(FALLO) " + $subject
$body = $body + " ha fallado. Revisar log adjunto"}
$Result = Get-WBSummary | Select LastBackupTime,LastBackupTarget,DetailedMessage | Format-List
#Enviar Mail
$body = $body + "`r`n" + $Result
send-MailMessage -SmtpServer $smtp -From $from -To $to -Subject $subject -Body $body -Attachments $backuplog
write-host $Result
write-host "Backup Completado"
NOTE: I build this, with some sources of web, and a touch of myself...

Are you sure the target path exists?  I'm not having any problems with the code you've got except on Windows 2012 R2 more Policy parameters needed to be set.  The only way I was able to trigger an invalid path error was if the target folder didn't
exist.  A target subfolder will not be created.
I hope this post has helped!

Similar Messages

  • A fatal error with Windows Server Backup

    Hey,
    I'm trying to backup my Windows Server 2008 R2 (physical server). Windows Server Backup tool crashes when I start to start it. It gives me error "A fatal error occurred during a Windows Server Backup snap-in (Wbadmin.msc) operation. Error details: The
    Windows Server Backup service has stopped. 
    Errors I get to event viewer:
    ASR Warning: Failed to collect disk information for ASR Backup. Reason:    Unable to obtain disk information for device 14 (Win32 error code 0x1).
    ASR Warning: Failed to collect disk information for ASR Backup. Reason:    Unable to obtain disk information for device 10 (Win32 error code 0x1).
    ASR Warning: Failed to collect disk information for ASR Backup. Reason:    Unable to obtain disk information for device 3 (Win32 error code 0x1).
    ASR Warning: Failed to collect disk information for ASR Backup. Reason:    Unable to obtain disk information for device 1 (Win32 error code 0x1).
    The following process dump file was generated:
     C:\Program Files\DebugDiag\Logs\Crash rule for all instances of wbengine.exe\wbengine__PID__9716__Date__07_04_2014__Time_03_08_24PM__911__First chance exception 0XE06D7363.dmp
    These devices (disks) that are showing in warnings arent initialized from Disk Management. If I open Disk Management, it always pops up prompt to initialize disks. I havent initialized these disks cause I already have them in use, but Windows regonizes those
    disks twice cause I'm using multipath. I shouldnt initialize one physical disk twice.  
    I think seeing these disks twice is crashing my Windows Server Backup. Is there a way to disable specific disks for Windows Server Backup? Can I disable those disks somehow, so Windows Server Backup wouldnt see those disks twice? Or can I somehow tell Windows
    that its seeing my disks twice, and there is actually only one disk instead of two.
    Greetings,
    Niko Turunen
    Finland

    Hi,
    How did you configure the disks by using multipath? The ASR component is a system-critical component that is reported by the ASR writer. Every fixed disk on the computer is exposed as a component in ASR. During backup, the requester should include all fixed
    disks.
    For more detailed information, please refer to the articles below:
    Using VSS Automated System Recovery for Disaster Recovery
    http://technet.microsoft.com/en-ca/aa384630(v=vs.80).aspx
    Regards,
    Mandy
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Windows Server Backup - wbengine.exe Crashing

    Hi,
    When running either a scheduled back or a once off backup, I receive the following error around 30 seconds into the backup:
    "The Windows Server Backup service has stopped"
    "A fatal error occurred during a Windows Server Backup snap-in (Wbadmin.msc) operation. Error details: The Windows server Backup service has stopped"
    In event viewer the following two events were logged:
    Faulting application name: wbengine.exe, version: 6.1.7601.17514, time stamp: 0x4ce79951
    Faulting module name: ntdll.dll, version: 6.1.7601.18247, time stamp: 0x521eaf24
    Exception code: 0xc0000374
    Fault offset: 0x00000000000c4102
    Faulting process id: 0x13e8
    Faulting application start time: 0x01cfa9f0936b235a
    Faulting application path: C:\Windows\system32\wbengine.exe
    Faulting module path: C:\Windows\SYSTEM32\ntdll.dll
    Report Id: e99a55c8-15e4-11e4-9ab5-a01d48c77640
    The Block Level Backup Engine Service service terminated unexpectedly.  It has done this 1 time(s).  The following corrective action will be taken in 120000 milliseconds: Restart the service.
    I have tired restarting the Block Level Backup Engine Service service, deleting the backup catalogue, removing and re adding Window Server Backup feature. None of these fixed the problem.
    I used Debug Diagnostic Tool v2.0 and capturing all instances of wbengine.exe process:
    Loading control script C:\Program Files\DebugDiag\scripts\CrashRule_Process_wbengine.exe.vbs
    DumpPath set to C:\Users\administrator\Desktop\wbengineLogs
    [8/20/2014 9:23:48 AM] Process created. BaseModule - C:\Windows\system32\wbengine.exe. BaseThread System ID - System ID: 7940
    [8/20/2014 9:23:48 AM] C:\Windows\SYSTEM32\ntdll.dll loaded at 0x77780000
    [8/20/2014 9:23:48 AM] Thread created. New thread system id - System ID: 1912
    [8/20/2014 9:23:48 AM] Thread created. New thread system id - System ID: 7756
    [8/20/2014 9:23:48 AM] Thread created. New thread system id - System ID: 4920
    [8/20/2014 9:23:48 AM] Thread created. New thread system id - System ID: 6964
    [8/20/2014 9:23:48 AM] Thread created. New thread system id - System ID: 6100
    [8/20/2014 9:23:48 AM] Thread created. New thread system id - System ID: 6524
    [8/20/2014 9:23:48 AM] Thread created. New thread system id - System ID: 6824
    [8/20/2014 9:23:48 AM] C:\Windows\system32\kernel32.dll loaded at 0x77560000
    [8/20/2014 9:23:48 AM] C:\Windows\system32\KERNELBASE.dll loaded at 0xfd5e0000
    [8/20/2014 9:23:48 AM] C:\Windows\system32\ADVAPI32.dll loaded at 0xfe030000
    [8/20/2014 9:23:48 AM] C:\Windows\system32\msvcrt.dll loaded at 0xff5d0000
    [8/20/2014 9:23:48 AM] C:\Windows\SYSTEM32\sechost.dll loaded at 0xff530000
    [8/20/2014 9:23:48 AM] C:\Windows\system32\RPCRT4.dll loaded at 0xfeed0000
    [8/20/2014 9:23:48 AM] C:\Windows\system32\USER32.dll loaded at 0x77680000
    [8/20/2014 9:23:48 AM] C:\Windows\system32\GDI32.dll loaded at 0xffa20000
    [8/20/2014 9:23:48 AM] C:\Windows\system32\LPK.dll loaded at 0xff6c0000
    [8/20/2014 9:23:48 AM] C:\Windows\system32\USP10.dll loaded at 0xff130000
    [8/20/2014 9:23:48 AM] C:\Windows\system32\ole32.dll loaded at 0xff320000
    [8/20/2014 9:23:48 AM] C:\Windows\system32\OLEAUT32.dll loaded at 0xfdf40000
    [8/20/2014 9:23:48 AM] C:\Windows\system32\VSSAPI.DLL loaded at 0xfc1e0000
    [8/20/2014 9:23:48 AM] C:\Windows\system32\ATL.DLL loaded at 0xfc1c0000
    [8/20/2014 9:23:48 AM] C:\Windows\system32\VssTrace.DLL loaded at 0xfc1a0000
    [8/20/2014 9:23:48 AM] C:\Windows\system32\SETUPAPI.dll loaded at 0xff6d0000
    [8/20/2014 9:23:48 AM] C:\Windows\system32\CFGMGR32.dll loaded at 0xfd910000
    [8/20/2014 9:23:48 AM] C:\Windows\system32\DEVOBJ.dll loaded at 0xfd8f0000
    [8/20/2014 9:23:48 AM] C:\Windows\system32\NETAPI32.dll loaded at 0xfa190000
    [8/20/2014 9:23:48 AM] C:\Windows\system32\netutils.dll loaded at 0xfc9f0000
    [8/20/2014 9:23:48 AM] C:\Windows\system32\srvcli.dll loaded at 0xfd130000
    [8/20/2014 9:23:48 AM] C:\Windows\system32\wkscli.dll loaded at 0xfa170000
    [8/20/2014 9:23:48 AM] C:\Windows\system32\XmlLite.dll loaded at 0xfa9e0000
    [8/20/2014 9:23:48 AM] C:\Windows\system32\bcrypt.dll loaded at 0xfcf10000
    [8/20/2014 9:23:48 AM] C:\Windows\system32\VirtDisk.dll loaded at 0xf5740000
    [8/20/2014 9:23:48 AM] C:\Windows\system32\FLTLIB.DLL loaded at 0xf8de0000
    [8/20/2014 9:23:48 AM] C:\Windows\system32\CLUSAPI.dll loaded at 0xf9c60000
    [8/20/2014 9:23:48 AM] C:\Windows\system32\cryptdll.dll loaded at 0xfd040000
    [8/20/2014 9:23:48 AM] C:\Windows\system32\IMM32.DLL loaded at 0xfe110000
    [8/20/2014 9:23:48 AM] C:\Windows\system32\MSCTF.dll loaded at 0xff020000
    [8/20/2014 9:23:48 AM] C:\Windows\system32\CRYPTBASE.dll loaded at 0xfd420000
    [8/20/2014 9:23:48 AM] C:\Windows\system32\bcryptprimitives.dll loaded at 0xfca00000
    [8/20/2014 9:23:48 AM] C:\Windows\system32\cscapi.dll loaded at 0xf9bd0000
    [8/20/2014 9:23:48 AM] C:\Windows\system32\CLBCatQ.DLL loaded at 0xfdc70000
    [8/20/2014 9:23:48 AM] C:\Windows\system32\CRYPTSP.dll loaded at 0xfcdc0000
    [8/20/2014 9:23:48 AM] C:\Windows\system32\rsaenh.dll loaded at 0xfcac0000
    [8/20/2014 9:23:48 AM] C:\Windows\system32\RpcRtRemote.dll loaded at 0xfd510000
    [8/20/2014 9:23:48 AM] C:\Windows\system32\blb_ps.dll loaded at 0xf7520000
    [8/20/2014 9:23:48 AM] C:\Windows\System32\vds_ps.dll loaded at 0xf8310000
    [8/20/2014 9:23:48 AM] C:\Windows\system32\WINTRUST.dll loaded at 0xfd720000
    [8/20/2014 9:23:48 AM] C:\Windows\system32\CRYPT32.dll loaded at 0xfd760000
    [8/20/2014 9:23:48 AM] C:\Windows\system32\MSASN1.dll loaded at 0xfd5d0000
    [8/20/2014 9:23:48 AM] C:\Windows\system32\vss_ps.dll loaded at 0xfa2f0000
    [8/20/2014 9:23:48 AM] C:\Windows\system32\taskschd.dll loaded at 0xf4b20000
    [8/20/2014 9:23:48 AM] C:\Windows\system32\SspiCli.dll loaded at 0xfd390000
    [8/20/2014 9:23:48 AM] C:\Windows\system32\spp.dll loaded at 0xeec40000
    [8/20/2014 9:23:48 AM] C:\Windows\system32\dsrole.dll loaded at 0xfb630000
    [8/20/2014 9:23:48 AM] C:\Windows\System32\msxml3.dll loaded at 0xf89b0000
    [8/20/2014 9:23:48 AM] C:\Windows\system32\SHLWAPI.dll loaded at 0xff200000
    [8/20/2014 9:23:48 AM] C:\Windows\System32\ES.DLL loaded at 0xfb5b0000
    [8/20/2014 9:23:48 AM] C:\Windows\system32\SXS.DLL loaded at 0xfd430000
    [8/20/2014 9:23:48 AM] C:\Windows\system32\PROPSYS.dll loaded at 0xfad60000
    [8/20/2014 9:23:48 AM] C:\Windows\system32\samcli.dll loaded at 0xfa670000
    [8/20/2014 9:23:48 AM] C:\Windows\system32\SAMLIB.dll loaded at 0xfa650000
    [8/20/2014 9:23:48 AM] C:\Windows\System32\msxml6.dll loaded at 0xf6ab0000
    [8/20/2014 9:23:48 AM] Thread created. New thread system id - System ID: 7428
    [8/20/2014 9:23:48 AM] Initializing control script
    [8/20/2014 9:23:48 AM] Clearing any existing breakpoints
    [8/20/2014 9:23:48 AM] 
    [8/20/2014 9:23:48 AM] Current Breakpoint List(BL)
    [8/20/2014 9:23:49 AM] Thread exited. Exiting thread system id - System ID: 7428. Exit code - 0x00000000
    [8/20/2014 9:23:54 AM] Thread created. New thread system id - System ID: 5848
    [8/20/2014 9:23:55 AM] C:\Windows\system32\blbres.dll loaded at 0x73050000
    [8/20/2014 9:23:55 AM] C:\Windows\system32\blbres.dll Unloaded from 0x73050000
    [8/20/2014 9:23:55 AM] C:\Windows\system32\blbres.dll loaded at 0x73050000
    [8/20/2014 9:23:55 AM] C:\Windows\system32\blbres.dll Unloaded from 0x73050000
    [8/20/2014 9:23:55 AM] C:\Windows\system32\blbres.dll loaded at 0x73050000
    [8/20/2014 9:23:55 AM] C:\Windows\system32\blbres.dll Unloaded from 0x73050000
    [8/20/2014 9:23:55 AM] C:\Windows\system32\blbres.dll loaded at 0x73050000
    [8/20/2014 9:23:55 AM] C:\Windows\system32\blbres.dll Unloaded from 0x73050000
    [8/20/2014 9:23:55 AM] C:\Windows\system32\blbres.dll loaded at 0x73050000
    [8/20/2014 9:23:55 AM] C:\Windows\system32\blbres.dll Unloaded from 0x73050000
    [8/20/2014 9:23:55 AM] C:\Windows\system32\blbres.dll loaded at 0x73050000
    [8/20/2014 9:23:55 AM] C:\Windows\system32\blbres.dll Unloaded from 0x73050000
    [8/20/2014 9:23:55 AM] Thread created. New thread system id - System ID: 7188
    [8/20/2014 9:24:02 AM] Thread created. New thread system id - System ID: 6160
    [8/20/2014 9:24:02 AM] Thread created. New thread system id - System ID: 7640
    [8/20/2014 9:24:02 AM] Thread created. New thread system id - System ID: 8148
    [8/20/2014 9:24:02 AM] Thread created. New thread system id - System ID: 5348
    [8/20/2014 9:24:02 AM] Thread created. New thread system id - System ID: 2964
    [8/20/2014 9:24:02 AM] Thread created. New thread system id - System ID: 5320
    [8/20/2014 9:24:02 AM] Thread created. New thread system id - System ID: 4164
    [8/20/2014 9:24:02 AM] Thread created. New thread system id - System ID: 7916
    [8/20/2014 9:24:02 AM] Thread created. New thread system id - System ID: 6244
    [8/20/2014 9:24:02 AM] Thread created. New thread system id - System ID: 7908
    [8/20/2014 9:24:02 AM] Thread created. New thread system id - System ID: 6200
    [8/20/2014 9:24:02 AM] Thread created. New thread system id - System ID: 5028
    [8/20/2014 9:24:02 AM] Thread created. New thread system id - System ID: 7804
    [8/20/2014 9:24:03 AM] First chance exception - 0XE06D7363 caused by thread with System ID: 7640.  DetailID = 1
    [8/20/2014 9:24:03 AM] Thread exited. Exiting thread system id - System ID: 7640. Exit code - 0x00000000
    [8/20/2014 9:24:07 AM] Thread exited. Exiting thread system id - System ID: 6160. Exit code - 0x00000000
    [8/20/2014 9:24:08 AM] Thread created. New thread system id - System ID: 1108
    [8/20/2014 9:24:08 AM] Thread created. New thread system id - System ID: 992
    [8/20/2014 9:24:08 AM] Thread created. New thread system id - System ID: 7784
    [8/20/2014 9:24:08 AM] Thread created. New thread system id - System ID: 4432
    [8/20/2014 9:24:08 AM] Thread created. New thread system id - System ID: 5304
    [8/20/2014 9:24:09 AM] First chance exception - 0XE06D7363 caused by thread with System ID: 7784.  DetailID = 2
    [8/20/2014 9:24:09 AM] Thread exited. Exiting thread system id - System ID: 7784. Exit code - 0x00000000
    [8/20/2014 9:24:13 AM] Thread created. New thread system id - System ID: 2780
    [8/20/2014 9:24:13 AM] Thread created. New thread system id - System ID: 8012
    [8/20/2014 9:24:13 AM] Thread created. New thread system id - System ID: 7552
    [8/20/2014 9:24:13 AM] Thread created. New thread system id - System ID: 6812
    [8/20/2014 9:24:13 AM] Thread created. New thread system id - System ID: 5368
    [8/20/2014 9:24:13 AM] Thread created. New thread system id - System ID: 1388
    [8/20/2014 9:24:13 AM] Thread exited. Exiting thread system id - System ID: 2780. Exit code - 0x00000000
    [8/20/2014 9:24:13 AM] Thread created. New thread system id - System ID: 7404
    [8/20/2014 9:24:14 AM] Thread exited. Exiting thread system id - System ID: 7404. Exit code - 0x00000000
    [8/20/2014 9:24:14 AM] Thread created. New thread system id - System ID: 2284
    [8/20/2014 9:24:47 AM] Thread exited. Exiting thread system id - System ID: 6524. Exit code - 0x00000000
    [8/20/2014 9:25:12 AM] Thread exited. Exiting thread system id - System ID: 2284. Exit code - 0x00000000
    [8/20/2014 9:25:12 AM] Thread created. New thread system id - System ID: 6188
    [8/20/2014 9:25:12 AM] Thread exited. Exiting thread system id - System ID: 6188. Exit code - 0x00000000
    [8/20/2014 9:25:12 AM] Thread created. New thread system id - System ID: 7120
    [8/20/2014 9:25:12 AM] Thread exited. Exiting thread system id - System ID: 7120. Exit code - 0x00000000
    [8/20/2014 9:25:13 AM] Thread created. New thread system id - System ID: 7428
    [8/20/2014 9:25:20 AM] Thread exited. Exiting thread system id - System ID: 7428. Exit code - 0x00000000
    [8/20/2014 9:25:20 AM] Thread created. New thread system id - System ID: 1280
    [8/20/2014 9:25:21 AM] Thread exited. Exiting thread system id - System ID: 7552. Exit code - 0x00000000
    [8/20/2014 9:25:21 AM] Thread exited. Exiting thread system id - System ID: 5368. Exit code - 0x00000000
    [8/20/2014 9:25:21 AM] Thread exited. Exiting thread system id - System ID: 1280. Exit code - 0x00000000
    [8/20/2014 9:25:21 AM] Thread created. New thread system id - System ID: 8108
    [8/20/2014 9:25:21 AM] Thread exited. Exiting thread system id - System ID: 8108. Exit code - 0x00000000
    [8/20/2014 9:25:21 AM] C:\Windows\system32\blbsrv.dll loaded at 0xe6240000
    [8/20/2014 9:25:25 AM] First chance exception - 0X80000003 caused by thread with System ID: 992.  DetailID = 3
    [8/20/2014 9:25:25 AM] First chance exception - 0XC0000374 caused by thread with System ID: 992.  DetailID = 4
    [8/20/2014 9:25:25 AM] Second chance exception - 0XC0000374 caused by thread with System ID: 992
    [8/20/2014 9:25:25 AM] Thread exited. Exiting thread system id - System ID: 5028. Exit code - 0xffffffff
    [8/20/2014 9:25:25 AM] Thread exited. Exiting thread system id - System ID: 4432. Exit code - 0xffffffff
    [8/20/2014 9:25:25 AM] Thread exited. Exiting thread system id - System ID: 992. Exit code - 0xffffffff
    [8/20/2014 9:25:25 AM] Thread exited. Exiting thread system id - System ID: 7804. Exit code - 0xffffffff
    [8/20/2014 9:25:25 AM] Thread exited. Exiting thread system id - System ID: 7908. Exit code - 0xffffffff
    [8/20/2014 9:25:25 AM] Thread exited. Exiting thread system id - System ID: 4164. Exit code - 0xffffffff
    [8/20/2014 9:25:25 AM] Thread exited. Exiting thread system id - System ID: 2964. Exit code - 0xffffffff
    [8/20/2014 9:25:25 AM] Thread exited. Exiting thread system id - System ID: 8148. Exit code - 0xffffffff
    [8/20/2014 9:25:25 AM] Thread exited. Exiting thread system id - System ID: 5848. Exit code - 0xffffffff
    [8/20/2014 9:25:25 AM] Thread exited. Exiting thread system id - System ID: 6824. Exit code - 0xffffffff
    [8/20/2014 9:25:25 AM] Thread exited. Exiting thread system id - System ID: 6100. Exit code - 0xffffffff
    [8/20/2014 9:25:25 AM] Thread exited. Exiting thread system id - System ID: 6964. Exit code - 0xffffffff
    [8/20/2014 9:25:25 AM] Thread exited. Exiting thread system id - System ID: 7756. Exit code - 0xffffffff
    [8/20/2014 9:25:25 AM] Thread exited. Exiting thread system id - System ID: 7940. Exit code - 0xffffffff
    [8/20/2014 9:25:25 AM] Thread exited. Exiting thread system id - System ID: 6812. Exit code - 0xffffffff
    [8/20/2014 9:25:25 AM] Thread exited. Exiting thread system id - System ID: 8012. Exit code - 0xffffffff
    [8/20/2014 9:25:25 AM] Thread exited. Exiting thread system id - System ID: 5304. Exit code - 0xffffffff
    [8/20/2014 9:25:25 AM] Thread exited. Exiting thread system id - System ID: 6200. Exit code - 0xffffffff
    [8/20/2014 9:25:25 AM] Thread exited. Exiting thread system id - System ID: 6244. Exit code - 0xffffffff
    [8/20/2014 9:25:25 AM] Thread exited. Exiting thread system id - System ID: 7916. Exit code - 0xffffffff
    [8/20/2014 9:25:25 AM] Thread exited. Exiting thread system id - System ID: 5320. Exit code - 0xffffffff
    [8/20/2014 9:25:25 AM] Thread exited. Exiting thread system id - System ID: 5348. Exit code - 0xffffffff
    [8/20/2014 9:25:25 AM] Thread exited. Exiting thread system id - System ID: 7188. Exit code - 0xffffffff
    [8/20/2014 9:25:25 AM] Thread exited. Exiting thread system id - System ID: 4920. Exit code - 0xffffffff
    [8/20/2014 9:25:25 AM] Thread exited. Exiting thread system id - System ID: 1912. Exit code - 0xffffffff
    [8/20/2014 9:25:25 AM] Thread exited. Exiting thread system id - System ID: 1388. Exit code - 0xffffffff
    [8/20/2014 9:25:25 AM] Process exited. Exit code - 0xffffffff
    *  EXCEPTION DETAILS  *
    DetailID = 1
    Count:    1
    Exception #:  0XE06D7363
    Stack:        
    Call Site
    KERNELBASE!RaiseException
    msvcrt!CxxThrowException
    VSSAPI!CVssJetWriter::SetWriterFailure
    VSSAPI!CVssJetWriter::SetWriterFailure
    VSSAPI!CVssJetWriter::SetWriterFailure
    VSSAPI!CVssJetWriter::SetWriterFailure
    VSSAPI!CVssJetWriter::SetWriterFailure
    VSSAPI!CVssJetWriter::SetWriterFailure
    msvcrt!srand
    msvcrt!ftime64_s
    kernel32!BaseThreadInitThunk
    ntdll!RtlUserThreadStart
    DetailID = 2
    Count:    1
    Exception #:  0XE06D7363
    Stack:        
    KERNELBASE!RaiseException
    msvcrt!CxxThrowException
    VSSAPI!CVssJetWriter::SetWriterFailure
    VSSAPI!CVssJetWriter::SetWriterFailure
    VSSAPI!CVssJetWriter::SetWriterFailure
    VSSAPI!CVssJetWriter::SetWriterFailure
    VSSAPI!CVssJetWriter::SetWriterFailure
    VSSAPI!CVssJetWriter::SetWriterFailure
    msvcrt!srand
    msvcrt!ftime64_s
    kernel32!BaseThreadInitThunk
    ntdll!RtlUserThreadStart
    DetailID = 3
    Count:    1
    Exception #:  0X80000003
    Stack:        
    ntdll!RtlUnhandledExceptionFilter
    ntdll!EtwEnumerateProcessRegGuids
    ntdll!RtlQueryProcessLockInformation
    ntdll!RtlLogStackBackTrace
    ntdll!RtlIsDosDeviceName_U
    ole32!CoTaskMemFree
    wbengine
    wbengine
    wbengine
    wbengine
    wbengine
    wbengine
    wbengine
    kernel32!BaseThreadInitThunk
    ntdll!RtlUserThreadStart
    DetailID = 4
    Count:    1
    Exception #:  0XC0000374
    Stack:        
    ntdll!RtlUnhandledExceptionFilter
    ntdll!EtwEnumerateProcessRegGuids
    ntdll!RtlQueryProcessLockInformation
    ntdll!RtlLogStackBackTrace
    ntdll!RtlIsDosDeviceName_U
    ole32!CoTaskMemFree
    wbengine
    wbengine
    wbengine
    wbengine
    wbengine
    wbengine
    wbengine
    kernel32!BaseThreadInitThunk
    ntdll!RtlUserThreadStart
    *  EXCEPTION SUMMARY  *
    |--------------------|
    | Count | Exception  |
    |--------------------|
    | 2     | 0XE06D7363 |
    | 1     | 0X80000003 |
    | 1     | 0XC0000374 |
    |--------------------|
    Any help would be greatly appreciated.

    Hi
    Similar post:
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/4d87c9a1-8f1b-4bb3-8b13-ee37bc3c014b/windows-server-backup-failing-to-start-error-a-fatal-error-occurred-during-a-windows-server-backup?forum=windowsbackup

  • Error using Window Server Backup on 2012R2 Hyper-V to network share

    Hi
    I have a Windows 2012 R2 Hyper-V server. It runs a Windows 2012 R2 VM (called
    server-1).
    I want to backup the VM to a network location (\\network-1\server-1_backup$). To do this, I installed Windows Server Backup from the command line and configured a backup to look like this:
    C:\Users\admin>wbadmin enable backup
    wbadmin 1.0 - Backup command-line tool
    (C) Copyright 2013 Microsoft Corporation. All rights reserved.
    The scheduled backup settings:
    Bare metal recovery : Not Included
    System state backup: Not Included
    Volumes in backup: (null)
    Components in backup: HyperV\server-1
    Files excluded: (null)
    Advanced settings: VSS Backup Option (FULL)
    Location to store backup: \\network-1\server-1_backup$\
    Times of day to run backup: 04:00
    But when I run this backup manually, I get the following error:
    C:\Users\admin>wbadmin start backup
    wbadmin 1.0 - Backup command-line tool
    (C) Copyright 2013 Microsoft Corporation. All rights reserved.
    Do you want to create a backup using the same configuration that you use for
    scheduled backups?
    [Y] Yes [N] No y
    The backup operation to Scheduled backup target is starting.
    Creating a shadow copy of the volumes specified for backup...
    Summary of the backup operation:
    The backup operation stopped before completing.
    The backup operation stopped before completing.
    Detailed error: A component critical volume failed to snapshot.
    Log of files successfully backed up:
    C:\Windows\Logs\WindowsServerBackup\Backup-23-02-2015_08-49-55.log
    Log of files for which backup failed:
    C:\Windows\Logs\WindowsServerBackup\Backup_Error-23-02-2015_08-49-55.log
    ERROR - The shared restore point operation failed with error (0x8100010c)
    No valid component or volume to snapshot.
    A component critical volume failed to snapshot.
    The log file then looks like this:
    Writer Failures
    Writer Id: {66841CD4-6DED-4F4B-8F17-FD23F8DDC3DE}
    Instance Id: {3976D373-854E-4527-B85D-7B61924C8597}
    Writer Name: Microsoft Hyper-V VSS Writer
    Writer State: 0
    Failure Result: 81000112
    Application Result: 0
    Application Message: (null)
       Component: 1DAF1C56-0635-4043-A933-E97A62EBC139
       Logical Path:
       Component Result: 8100010D
       Component Message: Component reports path on network share which cannot be snapshotted. (0x8100010D)
       Component: 30144C93-56A2-4259-B276-86D59AC767E9
    Application backup
    Writer Id: {66841CD4-6DED-4F4B-8F17-FD23F8DDC3DE}
       Component: 1DAF1C56-0635-4043-A933-E97A62EBC139
       Caption     : Offline\server-1
       Logical Path:
       Error           : 8078001D
       Error Message   : The operation ended before completion.
    The odd thing is that if I set this up from a Windows 2012 Server using the GUI to exactly the same network destination, the backup works no problem. It just doesn't work when using Server 2012 R2 Hyper-V configured through a command line.
    Any help appreciated,
    Andrew

    Hi Andrew,
    I tested this in my lab server 2012R2  , but there's no error .
    I would suggest you to create a new share folder on other server then check if the issue persists .
    Writer Name: Microsoft Hyper-V VSS Writer
    Writer State: 0
    Failure Result: 81000112
    Application Result: 0
    Application Message: (null)
       Component: 1DAF1C56-0635-4043-A933-E97A62EBC139
       Logical Path:
       Component Result: 8100010D
       Component Message: Component reports path on network share which cannot be snapshotted. (0x8100010D)"
    According to this error , please check if the VM's resource (such as VHD file) was restored on network share .
    I also searched the error "ERROR - The shared restore point operation failed with error (0x8100010c)" , but I can not find it within following article :
    http://blogs.technet.com/b/filecab/archive/2009/09/16/diagnosing-failures-in-windows-server-backup-part-1-vss-spp-errors.aspx
    Any further information please feel free to let us know .
    Best Regards,
    Elton Ji
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] .

  • A fatal error occurred during a windows server backup snap-in operation;

    Unable to get windows server backup to work, I believe it was running fine not too long ago.  
    getting the following errors in the event log;
    Faulting application name: wbengine.exe, version: 6.3.9600.17415, time stamp: 0x54504543
    Faulting module name: wbengine.exe, version: 6.3.9600.17415, time stamp: 0x54504543
    Exception code: 0xc0000005
    Fault offset: 0x000000000011e4d7
    Faulting process id: 0x1a20
    Faulting application start time: 0x01d01a1b546c5049
    Faulting application path: C:\Windows\system32\wbengine.exe
    Faulting module path: C:\Windows\system32\wbengine.exe
    Report Id: 99e58796-860e-11e4-80c4-40167e73010e
    Faulting package full name: 
    Faulting package-relative application ID: 
    and
    Fault bucket , type 0
    Event Name: APPCRASH
    Response: Not available
    Cab Id: 0
    Problem signature:
    P1: wbengine.exe
    P2: 6.3.9600.17415
    P3: 54504543
    P4: wbengine.exe
    P5: 6.3.9600.17415
    P6: 54504543
    P7: c0000005
    P8: 000000000011e4d7
    P9: 
    P10: 
    Attached files:
    These files may be available here:
    C:\ProgramData\Microsoft\Windows\WER\ReportQueue\AppCrash_wbengine.exe_a2f5333556c4387ec0eb41803df32b5ef88b1de_6e4602a0_1b3ef3fb
    Analysis symbol: 
    Rechecking for solution: 0
    Report Id: 8a7a7549-860e-11e4-80c4-40167e73010e
    Report Status: 0
    Hashed bucket: 

    Hi,
    It seems that there is an error accessing the catalog. You could run the "wbadmin delete catalog" to delete the catalog to resolve the issue.
    For more detailed information, please refer to the thread below:
    Windows Server 2k8 Backup Errors
    https://social.technet.microsoft.com/Forums/windowsserver/en-US/9051f767-2e25-44f9-a4cf-d49f75513da6/windows-server-2k8-backup-errors?forum=winservergen
    Please note: The command "wbadmin delete catalog" will remove all backups existed on your server.
    Best Regards,
    Mandy
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • Scripting for Windows Server Backup for Exchange 2010

    Hi,
    I'm new to writing scripts and was wondering if anyone could assist with writing a script to backup an Exchange Server in a windows 2008 r2 environment.  I currently use Windows Server Backup with a full VSS backup to run exchange backups, however,
    each backup overwrites the previous one, and i would really like to have multiple backups.  I would also like  to specify backup log locations, and have emails sent upon successful backups or failed backups.  I am trying to write this powershell
    but cant seem to get things to work.
    Thanks
    Debbian

    You can use PowerShell in conjunction with the Windows Backup command line utility, wbadmin.exe. The code below should help get you started. I have included the date in order to help maintain multiple back ups, but if you do more than one back up per day,
    you will need to change the date format to include the time. You cannot control the built in logging of Windows Backup, but you could collect your own backup information and write that out to a text file. As far as sending emails, look into the Send-MailMessage
    cmdlet including the -Attachment parameter that could send your log file with your mail message. Cheers.
    $Date = Get-Date -Format 'MM-dd-yyyy'
    $Path = "\\server\share\$Date"
    New-Item -Path $Path -ItemType Directory | Out-Null
    Start-Process wbadmin.exe -ArgumentList "start backup -backupTarget:$Path -allCritical -vssFull -quiet"

  • Server 2008 R2 Windows Server Backup. "Error in backup of Hyper-V.vhd during read: Error [0x80070001] Incorrect function.

    Hello,
    We are currently using Windows Server Backup to backup three Hyper-V guests running on a Windows 2008 R2 host.  Two guests are running Server 2008 R2 and one is running Windows 7.  I have the backups going to a dedicated external disk drive.
    WSB backs up the two 2008 R2 Hyper-V guests just fine.  However, when attempting to backup the Windows 7 Hyper-V guest, I receive the following error:
    Error in backup of <Windows 7.vhd> during read: Error [0x80070001] Incorrect function.
    I ran a "vssadmin list writers" and all the VSS writers showed "Stable" with no errors.  I have plenty of space on the external drive as well.  I've read this article:
    https://support.microsoft.com/kb/973455?wa=wsignin1.0#workaroundissue12 except that doesn't seem to be what I'm experiencing here.
    Anyone have any suggestions?

    Hi,
    As the other 2 guests could be backed up correctly, the issue should not be the Windows Server Backup feature.
    First please refer to this article:
    Backing Up and Restoring Virtual Machines
    http://msdn.microsoft.com/en-us/library/dd405549(v=vs.85).aspx
    Please check if all following requirements are met. Specifically please check if Integration Service is installed. 
    Backup (volume snapshot) Integration Service is installed and running in the child VM. The service name is "Hyper-V Volume Shadow Copy Requestor".
    Windows 2000:  Backup Integration Service is not supported.
    The child VM must be in the running state.
    The Snapshot File Location for the VM is set to be the same volume in the host operating system as the VHD files for the VM.
    All volumes in the child VM are basic disks and there are no dynamic disks.
    All disks in the child VM must use a file system that supports snapshots (for example, NTFS).
    If you have any feedback on our support, please send to [email protected]

  • [Forum FAQ] Cannot perform a backup schedule via Windows Server Backup and receive "The system cannot find the path specified." Error

    Symptom One
    You attempt to
    schedule a backup every day via Windows Server Backup on Windows Server 2008 R2. At the beginning, the backup works without issue. But after a few days it failed and you receive the error “Windows Server Backup:
    The system cannot find the path specified.”
    Cause
    The issue may occur if there is
    no shadow copy storage space available on the backup volume.
    Verify
    You can use the List ShadowStorage command to check if you have enough storage space to store the newly created shadow copy. If you've reviewed the size of the backup snapshot and discovered
    that there is no allocated space for the storage association, you need to resize shadowstorage.
    Solution
    You could run the command below to create shadow copy storage space on the backup volume:
    vssadmin resize
    shadowstorage /for=<ForVolumeSpec> /on=<OnVolumeSpec> [/maxsize=<MaxSizeSpec>]
    More Information
    Vssadmin resize shadowstorage
    http://technet.microsoft.com/en-us/library/cc788050.aspx
    Symptom Two
    When you add
    another external hard drive to backup schedule via Windows Server Backup on Windows Server 2012, it fails and you receive the error “The System cannot find the path specified.”
    Cause
    The issue is due to the
    Original Destination Disk was not attached to the server.
    Verify
    You could check the disk status in Disk Management to see if the Original Destination Disk is offline or removed.
    Solution
    You need to attach
    Original Destination Disk to the Server then choose another external hard drive as backup target. After that, you could remove the Original Destination Disk.
    Workaround
    To work around this issue, please use the WBADMIN command line tool to add disk.
    WBADMIN ENABLE BACKUP -addtarget :{ DiskID}
    The AddTarget parameter takes disk ID as parameter. It can be retrieved by running "WBADMIN GET DISKS" command.
    Example:
    WBADMIN ENABLE BACKUP
    -addtarget :{ aa123d14-bba0-1dd9-0d93-80aaaa6bbb63}
    More Information
    Wbadmin enable backup
    http://technet.microsoft.com/en-us/library/cc742130.aspx
    Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

    good

  • Error starting the Application Server and Deployment Tool in Windows 2000

    After installing the iPlanet Aplication Server with sp3 in Windows 2000 I
    get the following
    errors starting the Application Server and Deployment Tool.
    iAS Application Server
    ================
    GXBindInit: GXBindBasic failed
    GXContextInit: GXBindInit failed 2
    [26/Out/2001 17:46:49:8] error: ENGINE-context_init_failed: EngineClassSpace
    ContextModule.createContextInit failed:
    error: could not get context
    *** Errors in initialization from registry ***
    Errors in initialization, exiting ...
    iAS Deployment Tool
    ===============
    GXBindInit: GXBindBasic failed
    GXContextInit: GXBindInit failed 2
    [26/Out/2001 17:23:40:7] error: ENGINE-context_init_failed: EngineClassSpace
    ContextModule.createContextInit failed:
    Exception in thread "main" java.lang.NullPointerException
    at com.kivasoft.util.Util.loadComponent(Unknown Source)
    at
    com.iplanet.ias.tools.buzz.ui.application.StartBuzz.initGDS(Unknown Source)
    at com.iplanet.ias.tools.buzz.ui.application.StartBuzz.main(Unknown
    Source)
    Can anyone help me please!

    Okay, pls check that you are logged in as administrator and installed and now you are logged in as administrator and registering the iAS server. Did you get any installation failures while installing and are you able to register the server using iASAT ?

  • Windows Server backup script won't do differential/incremental

    What follows is a script that doesn't seem to do backups on an incremental basis so it is creating full backups each time.
    ++++++++++
    param(
      [string]$volLetter,
      [string]$scriptStorageLocation
    function prepare-disk($checkDiskCriteria,$diskOrVolume){
        if($diskOrVolume -eq 'disk'){
        $disks = Get-WBDisk
        $selected = $disks|?{$_.DiskName -match $checkDiskCriteria}
        elseif($diskOrVolume -eq 'volume' ){
        $allVolumes = Get-WBVolume -AllVolumes
        $selected = $allVolumes|?{$_.MountPath -match $checkDiskCriteria}
    return $selected
    function add-volumeMountPoint($policyAdd,$mountPoint){
        $matchVolumes = Get-WBVolume -AllVolumes
        $correctVolume = $matchVolumes | ?{ $_.MountPoint -eq $mountPoint}
        Add-WBVolume -Policy $policyAdd -Volume $correctVolume;
        return $policyAdd
    function add-VMToWB($policyAdd,$vmName){
    $vmObject = Get-WBVirtualMachine |?{ $_.VMName -eq $vmName}
    $vmobject='PCLaw';'2012CORPEXCHANGE';'File Server';'DC1'
    Add-WBVirtualMachine $policyAdd -VirtualMachine $vmObject
    return $policyAdd
    function remove-policy(){
    $policy = get-wbpolicy -editable
    $policy|export-clixml 'backup.xml'
    remove-wbpolicy $policy -force
    function restore-policy($wbBackupTarget){
    $policyRestore = import-clixml 'backup.xml'
    $global:newPolicy = new-wbpolicy
    Set-WBSchedule -Policy $newPolicy -Schedule $policyRestore.Schedule
    $VolumeBackupLocation = New-WBBackupTarget -Volume $wbBackupTarget
    Add-WBBackupTarget -Policy $newPolicy -Target $VolumeBackupLocation
    if($([string]$policyRestore.VssBackupOptions) -match 'VssFullBackup' ){Set-WBVssBackupOptions $global:newPolicy -VssFullBackup;write-host 'foundFull'}
    else{Set-WBVssBackupOptions $global:newPolicy -VssFullBackup;write-host 'FoundCopy'}
    $newPolicyBound = $policyRestore.VolumesToBackup|%{add-volumeMountPoint $global:newPolicy $_.MountPoint;}
    $global:newPolicy = $newPolicyBound[-1]
    if($policyRestore.BMR){Add-WBBareMetalRecovery $global:newPolicy}
    if($policyRestore.SystemState){Add-WBSystemState $global:newPolicy}
    $newPolicyBound = $policyRestore.ComponentsToBackup | %{ add-VMToWB $global:newPolicy $_.VMName}
    $global:newPolicy = $newPolicyBound[-1]
    write-host -fore cyan 'Final Policy'
    $global:newPolicy
    Set-WBPolicy $global:newPolicy
    function rename-WIB($pathWIB,$dateOfBackup){
    if(test-path $pathWIB){
        $newName = "WIB_"+$dateOfBackup
        rename-item $pathWIB -newName $newName
    Add-WBBackupTarget -Policy $newPolicy
    Set-WBPolicy $newPolicy
    if(!($scriptStorageLocation)){
    $scriptStorageLocation = 'C:\Techbase\WindowsBackupRecreationScript';}
    $volCheck = $volLetter+":";
    $pathNew = $volLetter+":\WindowsImageBackup";
    $dateOfBackup = Get-Date -UFormat "%Y_%m_%d";
    $volName = $volLetter+":";
    if(!(test-path "$scriptStorageLocation\WBfile.txt")){
    $diskOrVolumeInput = Read-host 'Are you using a disk or a volume (type d or v)?'
    $diskOrVolumeInput = $diskOrVolumeInput.ToLower();
        if(($diskOrVolumeInput -eq 'v') -or ($diskOrVolumeInput -eq 'd')){
            New-Item "$scriptStorageLocation\WBfile.txt" -type file
            Add-content "$scriptStorageLocation\WBfile.txt" $diskOrVolumeInput        
                if($diskOrVolumeInput -eq 'd'){
                    disk
                    $diskNum= Read-host 'Please select the disk number ?'
                    Add-content "$scriptStorageLocation\WBfile.txt" $diskNum
                elseif($diskOrVolumeInput -eq 'v'){
                    $allVolumes = Get-WBVolume -AllVolumes;
                    $allVolumes|Select  *;
                    $diskVol= Read-host 'Please type in the letter of the Mountpath you would like to use (Only type in the letter)?'
                    $diskVol = $diskVol.ToUpper();
                    Add-content "$scriptStorageLocation\WBfile.txt" $diskVol
        else{
            Write-host -fore red 'Sorry the input was not an available option.'
    else{
    write-host 'Your configuration file was ready when this script is executed.';
    $info = gc "$scriptStorageLocation\WBfile.txt"
        if($info[0]='v'){
            write-host -fore cyan $info[1]
            $WB_Volume = prepare-disk $info[1] 'volume'
            $locationOfWIB = $info[1] +":\WindowsImageBackup";
            rename-WIB  $locationOfWIB $dateOfBackup
            remove-policy
            restore-policy $WB_Volume
        elseif($info[0]='d'){
            $WB_Disk = prepare-disk 'WD My Book 1230 USB Device' 'disk'
            $WB_Disk;
    +++++++++++
    Also what follows is the most recent backup policy.
    +++++++++++++++++++
    - <Objs Version="1.1.0.1" xmlns="http://schemas.microsoft.com/powershell/2004/04">
    - <Obj RefId="0">
    - <TN RefId="0">
      <T>Microsoft.Windows.ServerBackup.Commands.WBPolicy</T>
      <T>System.Object</T>
      </TN>
      <ToString>Microsoft.Windows.ServerBackup.Commands.WBPolicy</ToString>
    - <Props>
    - <Obj N="Schedule" RefId="1">
    - <TN RefId="1">
      <T>System.Collections.Generic.List`1[[System.DateTime, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]</T>
      <T>System.Object</T>
      </TN>
    - <LST>
      <DT>2014-10-14T19:30:00</DT>
      </LST>
      </Obj>
    - <Obj N="BackupTargets" RefId="2">
    - <TN RefId="2">
      <T>System.Collections.Generic.List`1[[Microsoft.Windows.ServerBackup.Commands.WBBackupTarget, wsbcmdlet, Version=6.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]</T>
      <T>System.Object</T>
      </TN>
    - <LST>
    - <Obj RefId="3">
    - <TN RefId="3">
      <T>Microsoft.Windows.ServerBackup.Commands.WBBackupTarget</T>
      <T>System.Object</T>
      </TN>
      <ToString>F:</ToString>
    - <Props>
      <S N="Label">3TB USB</S>
      <Nil N="WBDisk" />
      <S N="WBVolume">3TB USB (F:)</S>
      <S N="Path">\\?\Volume{7f5bcfe6-a050-44be-80c9-b056f0121819}</S>
      <S N="TargetType">Volume</S>
      <B N="InheritAcl">true</B>
      <B N="PreserveExistingBackup">true</B>
      </Props>
      </Obj>
      </LST>
      </Obj>
    - <Obj N="VolumesToBackup" RefId="4">
    - <TN RefId="4">
      <T>System.Collections.Generic.List`1[[Microsoft.Windows.ServerBackup.Commands.WBVolume, wsbcmdlet, Version=6.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]</T>
      <T>System.Object</T>
      </TN>
      <LST />
      </Obj>
    - <Obj N="FilesSpecsToBackup" RefId="5">
    - <TN RefId="5">
      <T>System.Collections.Generic.List`1[[Microsoft.Windows.ServerBackup.Commands.WBFileSpec, wsbcmdlet, Version=6.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]</T>
      <T>System.Object</T>
      </TN>
      <LST />
      </Obj>
    - <Obj N="FilesSpecsToExclude" RefId="6">
      <TNRef RefId="5" />
      <LST />
      </Obj>
    - <Obj N="ComponentsToBackup" RefId="7">
    - <TN RefId="6">
      <T>System.Collections.Generic.List`1[[Microsoft.Windows.ServerBackup.Commands.WBApplicationComponent, wsbcmdlet, Version=6.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]</T>
      <T>System.Object</T>
      </TN>
    - <LST>
    - <Obj RefId="8">
    - <TN RefId="7">
      <T>Microsoft.Windows.ServerBackup.Commands.WBVirtualMachine</T>
      <T>Microsoft.Windows.ServerBackup.Commands.WBApplicationComponent</T>
      <T>System.Object</T>
      </TN>
      <ToString>0E91F216-553D-4C7C-8178-A09E5D081020\</ToString>
    - <Props>
      <S N="VMName">PCLaw 2008 R2</S>
      <S N="ComponentName">0E91F216-553D-4C7C-8178-A09E5D081020</S>
      <S N="LogicalPath" />
      <S N="Caption">Backup Using Saved State\PCLaw 2008 R2</S>
      <G N="WriterId">66841cd4-6ded-4f4b-8f17-fd23f8ddc3de</G>
      <G N="InstanceId">b0f4f239-bcc6-408f-9db6-b66d5de9458d</G>
      </Props>
      </Obj>
    - <Obj RefId="9">
      <TNRef RefId="7" />
      <ToString>12DCBB00-87D9-4660-82E1-E01245A5E011\</ToString>
    - <Props>
      <S N="VMName">2012CORPEXCHANGE</S>
      <S N="ComponentName">12DCBB00-87D9-4660-82E1-E01245A5E011</S>
      <S N="LogicalPath" />
      <S N="Caption">Backup Using Saved State\2012CORPEXCHANGE</S>
      <G N="WriterId">66841cd4-6ded-4f4b-8f17-fd23f8ddc3de</G>
      <G N="InstanceId">b0f4f239-bcc6-408f-9db6-b66d5de9458d</G>
      </Props>
      </Obj>
    - <Obj RefId="10">
      <TNRef RefId="7" />
      <ToString>8A769D3A-4B21-419A-8BA2-584EC3168C51\</ToString>
    - <Props>
      <S N="VMName">File Server</S>
      <S N="ComponentName">8A769D3A-4B21-419A-8BA2-584EC3168C51</S>
      <S N="LogicalPath" />
      <S N="Caption">Backup Using Saved State\File Server</S>
      <G N="WriterId">66841cd4-6ded-4f4b-8f17-fd23f8ddc3de</G>
      <G N="InstanceId">b0f4f239-bcc6-408f-9db6-b66d5de9458d</G>
      </Props>
      </Obj>
    - <Obj RefId="11">
      <TNRef RefId="7" />
      <ToString>A912807A-04FE-4AB6-981B-01D6489865D6\</ToString>
    - <Props>
      <S N="VMName">DC1</S>
      <S N="ComponentName">A912807A-04FE-4AB6-981B-01D6489865D6</S>
      <S N="LogicalPath" />
      <S N="Caption">Backup Using Saved State\DC1</S>
      <G N="WriterId">66841cd4-6ded-4f4b-8f17-fd23f8ddc3de</G>
      <G N="InstanceId">b0f4f239-bcc6-408f-9db6-b66d5de9458d</G>
      </Props>
      </Obj>
      </LST>
      </Obj>
      <B N="BMR">false</B>
      <B N="SystemState">false</B>
      <B N="OverwriteOldFormatVhd">false</B>
    - <Obj N="VssBackupOptions" RefId="12">
    - <TN RefId="8">
      <T>Microsoft.Windows.ServerBackup.Commands.VssBackupOptions</T>
      <T>System.Enum</T>
      <T>System.ValueType</T>
      <T>System.Object</T>
      </TN>
      <ToString>VssFullBackup</ToString>
      <I32>0</I32>
      </Obj>
      </Props>
      </Obj>
      </Objs>
    ++++++++
    +++++++++++++++++++++++++
    Script does everything perfect except for the backup not being incremental/differential - it just creates a different folder each iteration that it puts the backup into.
    I would appreciate if someone could go through and let me know what we might be doing wrong - why we are not able to get this job to be incremental/differential.
    Thanks in advance.

    Hre are all of the options for Windows Backup:
    http://technet.microsoft.com/en-us/library/ee706670.aspx
    If you can find an incremental backup naywhere in the options then I will admit I have missed something.
    The old Windows Backup, pre-2008, could do incremental backups.  The newer backup system is minimal and serves different purposes.
    The question about how to use a subsystem of Windows is NOT a scripting question.  It is a "how-to" for a Windows component.
    If you do not understand the scrip tyou posted then I recommend finding someone with sufficient understanding of Windows and the new backup Cmdlets to help you top understand how they work.
    Here is the Microsoft description of Windows Server Backup:
    Windows Server Backup consists of a Microsoft Management Console (MMC) snap-in, command-line tools, and Windows PowerShell cmdlets that provide a complete solution for your day-to-day backup and recovery needs. You can use Windows Server Backup to back
    up a full server (all volumes), selected volumes, the system state, or specific files or folders—and to create a backup that you can use for bare metal recovery. You can recover volumes, folders, files, certain applications, and the system state. And, in case
    of disasters like hard disk failures, you can perform a bare metal recovery. (To do this, you will need a backup of the full server or just the volumes that contain operating system files, and the Windows Recovery Environment—this will restore your complete
    system onto your old system or a new hard disk.)
    You can use Windows Server Backup to create and manage backups for the local computer or a remote computer. And, you can schedule backups to run automatically.
    Windows Server Backup is intended for use by everyone who needs a basic backup solution—from small business to large enterprises—but is even suited for smaller organizations or individuals who are not IT professionals.
    It specifically states that only a full server or selected file,device backup is possible.  There is no statement of incremental backup.  Windows Server backup is intended for server recovery.
    If you type "help Set-WBVssBackupOptions
    -full" you will see that there are only two options "full" and "copy".
    Please post your issues in the WS2008 or the WS2012 forum to get more information on how the Windows Server backup service works.
    ¯\_(ツ)_/¯

  • Windows Server Backup won't progress

    Hello,
    Recently, wbadmin on our Windows2008 std. can’t complete its backup (seems breezed at the 30% ….). I tried to start wbadmin  by command line but breezed (at 30%) .  I also checked if there are any bad sectors on the volumes. I ran the chkdsk  but
    no bad sectors.  I looked logs at C:\Windows\Logs\WindowsServerBackup ,but there are no “Critical”, “Warning”,” Error” types logs.
    I am taking two volumes backup (D (160Gb) and F(150GB)) from this server.  It usually finish it about 6 hours but not now.  
    Can you please help me ? 

    Hello Frank,
    Last two days, I tested Windows Server Backup from Wizard.
    When I chose only one volume (F drive), it was successful.
    However, I started three volumes(C: D, F), the backup stopped with error code 2155348001.
    Today, I am going to test this procedure below:
    - Run regedit.exe and navigate to "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\SPP"
    - Create a new Registry value of type DWORD with name "CreateTimeout"
    - Change value to 12000000(2*10*60*1000 = 20 mins) in decimal
    I will give you update when backup finishes. 
    Thank you,

  • Windows Server Backup - 0x80042407, seriously?

    I installed server 2008 on a test server with 4x250GB drives in a RAID5 array.
    Windows was installed on a 60GB partition, the rest of the array was left as free space.
    After installing updates and drivers, I decided that I wanted a RAID10 array. 
    This would give me a chance to test the restore functionality of Windows Server Backup.
    I did a full backup with Windows Server Backup to a network location.
    After reconfiguring the RAID array I started the recovery process.
    Here is the issue.  right when the restore should start, I get an error....
    The Windows Complete PC Restore operation failed.
    Error details: The disk that is set as active in BIOS is too small to recover the original system disk.  Replace the disk with a larger one and retry the restore operation. (0x80042407)
    I've tried creating partitions of all sizes and leaving the disk blank, same error.
    I even set the disk as the first boot device in BIOS.
    I've read elsewhere that the disk must be the same size or larger.  That just seems like a bad April fools joke to me.
    Can anyone give me some insight on this issue?

    Hello Jason,
    Thank you for your reply.
    For your further concern, this same or bigger disk size requirement is by design for Windows Server 2008 and Windows Vista. As a suggestion, we recommend you use a bigger disk for Bare Metal Restore.
    Currently we cannot edit the backup size. However, to fulfill your demand, there is a possible given workaround to restore the backup to smaller disk size.
    Workaround: To recover the System manually using Volume recovery
    By using this workaround, at minimum the OS critical partitions should be of the same size for the volume recovery.
    To recovery the System manually from Windows Recovery Environment (when BMR – Complete PC Restore is not working), user has to recover all the partitions individually and then set the BCD boot entries.
    Please follow the below mentioned steps:
    1)    Get the backup version from the backup target.
    2)    From version, get the size of partitions at the time of backup.
    3)    Recreate the partitions manually with same or more size.
    4)    Perform volume recovery of Individual volumes.
    5)    Set the Active bit for System volume.
    6)    Fix the Boot entries.
    Please replace anything marked under <> with actual values. The yellow marked entries are for sample only. We have to pick the actual values from his system. Also assuming the Boot disk is disk 0 in this case.
    Open Command prompt:
    1)    Do wbadmin get versions –backuptarget:<X:>.
    a.    Select the version id from. E.g. Version identifier: 02/11/2009-09:14
    Note: If the backup target is network share, then run “start /w wpeinit” to enable networking.
    2)    Do wbadmin get items –version:<versioned> -backuptarget:<X:>
    a.    This will give the list of volumes that were backed up and their sizes.
    3)    Using Diskpart, recreate your volumes of the same or more size. Assume that the Boot disk is Disk 0 and is empty. Disk 0 is the boot disk and is the first disk in BIOS boot order.
    If the required partitions are already present then skip the steps below.
    a.    Diskpart.exe
    b.    List disk
    c.    Select disk 0.
    d.    Create par primary  size=<size>        
    e.    Format fs=ntfs quick label=”OS”               (Format the OS partition with NTFS)
    f.     Assign letter=D                 (assign drive letter D: to OS volume)
    g.    Do the same for all the volumes you want to recover.
    h.    Detail disk
    i.      It lists the newly created partitions.
    4)    To recover the volumes one by one,
    a.    Do wbadmin get items –version:<versionid> -backuptarget:<X:> .
    b.    Select the volume id or drive letter for OS volume that was backed up.
    E.g. C: corresponds to the OS volume at backup time.
    c.    Wbadmin start recovery –version:<versionid> -backuptarget:<x:> -itemType:Volume –items:C:  -recoverytarget:D:
    d.    Do the same for all the other volumes. Make sure that minimum space requirement is met.
    e.    Set the active bit of System volume from Diskpart.
    f.     Diskpart.exe ->
                                              i.    Select volume D:
                                             ii.    active
    5)    Reboot the OS and boot back into WinRE as OS is not yet bootable.
    6)    Select Startup-Repair option to fix the BCD boot entries.
    7)    Reboot and OS should be in a bootable state.
    8)    If OS is still not bootable, use bcdedit.exe/bootrec.exe in WinRE to fix the BCD boot options.
    I understand that it will be reasonable to edit the backup so that the bare metal restore process can accept the smaller disk size, our product team are aware of this desired functionality and will definitely keep this in mind as future product development continues.
    Thanks for your understandings.
    This posting is provided "AS IS" with no warranties, and confers no rights.

  • Backup Problem with Windows Server Backup

    Hello,
    we have problems with Windows Server Backup Feature.
    Our system is a Windows Server 2008 Standard. On the computer runs a SQL Server 2005.
    Since several days no backup can be carried out. We get the error message:
    - Error during a Volume Shadow Copy service operation. Detailed error: Failed to process the volume shadow copy: "0x800423F0".
    - Errors in the event log: For the started backup an error occured. The volume shadow copy operation  was not successful. Error code: "2155348129". Run the backup again after the problem was fixed.
    We have already tried to restart the services, uninstalled the Windows Server Backup Feature and reinstalled it, also we rebootet the server several times. Unfortunately, so far without success.
    What else can we do respectively where could be the problem?
    Kind regards
    Sven Otto
    KRK ComputerSysteme GmbH (Germany)

    Hi Sven,
    Please check if there a system partition that is created on the server. If so, assign a drive letter on the partition to check the results.
    For more detailed information, please refer to the article below:
    Volume Shadow Copy Error 0x800423f0 - writer error: inconsistent snapshot
    http://kb.backupassist.com/articles.php?aid=2995
    Please Note: Since the website is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
    Best Regards,
    Mandy 
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Unable to stop Windows Server Backup

    WSE2012. Backup regularly hangs while trying to back up one of our server disks to an external usb drive.  Both source and destination drives check out ok - no fragmentation, disk errors, plenty of free space.  Tried to Stop the backup gracefully
    via the UI by right-mouse clicking the server listed in Dashboard>Devices tab and choosing Stop backup... but this is unable to stop it.  
    Tried to stop the block level backup engine service exe (wbengine.exe) but it appears to be orphaned and unkillable.  
    Task Manager shows wbengine.exe is running, so I've tried doing these things from an elevated command prompt:
    1. wbadmin stop job   -- this returns The process could not be terminated. There is no running instance of the task.
    2. TASKKILL /F /IM wbengine.exe - same error message as above.
    Short of rebooting the machine or unplugging the usb drive (which sometimes works but leads to data corruption), how can the backup be stopped and restarted?

    Mandy,
    Thank you but no such luck.  We're running Windows Server 2012 Essentials and we don't have 3rd-party software running on the server except for BackupAssist.  We started with wbadmin, have moved to trying BackupAssist (BA), now am working with
    their support team.  Latest suggestion is to go back to native Windows Server Backup.  But I have seen this issue before we installed BA.  I will wait until we duplicate the problem there before responding here again, but my best solution is
    to either unplug the backup drive (forcing a cancellation) or reboot the server.  This has really got us baffled.   

  • Mount vhdx file from Windows Server Backup 2012

    We have a 2012 server with a network share that other servers backup to using Windows Server Backup.  To view the files from a windows 2008 r2 backup .vhd file all I have to do is open it in windows explorer and it mounts as a drive and opens.  When
    I try to do the same with a 2012 backup (.vhdx) it tells me "you don't have permission to mount the file" but if I open disk management I can see the volume, and if I right click on it and select "Change Drive Letter and Paths" and add
    a drive letter, then I can browse it.  I get the same issue using mount-vhd in powershell.

    Hi Adm1nMikeW,
    Please try to use disk management --> action --> attach VHD (this way will  avoid  the error message).
    The root cause is the attribute "nodefaultdriveletter" of the backup vhd was not set to "no".
    You can try following setps :
    1. in cmd prompt type diskpart
    2. recognize the problematic volume you want to set via list volume
    3. run command select volume "volume number"
    4. run command attributes volume clear nodefaultdriveletter
    then detach it and reattach the disk again .
    Hope this helps
    Best Regards
    Elton Ji
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

Maybe you are looking for

  • Error while reading data from backend system.

    Hi all,        When i click on personnel information iview i am getting following error EIC Authentication    An error occurred while data was read from your ERP system. Contact your system administrator. I used SQL TRACE and RFC TRACE to find where

  • Connection not closed in the database server end

    Hi, Our database server (sql server 2000) and java application are running in two different boxes. Because the java application sent to the db server quite a few queries that can not be completed (applications hangs there) due to huge amount of data

  • Jms Protocol error

    Hi , I am using Oracle 10g version 10.1.3 and Oracle AS JMS Server I have a java client that is using the following configuration for JNDI conext. // set the environment properties env.put(Context.INITIAL_CONTEXT_FACTORY,"com.evermind.server.rmi.RMII

  • Get program version

    How do you get an application's version using AppleScript? For example, get the version of Firefox... Thanks, jeremy

  • How to make hard disks hidden?

    I Have 2 HDs and i want to use them on my macbook via network and to do it, those disks needs to stay connected to my sister's mac pro. This disks have confidential and work files that no one can't have acess. Does exist a way to make this disks hidd