Need help Backing up Systemstate on SBS2011 server

BBrayton
BBrayton used Ask the Experts™
on
We are going to start migrating sbs2011 to server 2016 STD.
We are trying to backup the system state using Windows server backup utility.
we have tried running CMD Wbadmin start backupsystemstate -backuptarget:L:    we are using a external usb Drive
it will always fail with The filename, directory name, or volume label syntax is incorrect.

I also tried backing up to a network share and to a different partition on the server.

I also setup the Server Backup utility to manually backup the system state also. Still fails with same error
Does anyone have any ideas as to why this is happening or a workaround?

We also have Datto backup which uses storagecraft shadowcopy which is a service that datto uses to backup the server.

Not sure if that will stop the server backup to run. I also checked the VSS writers and they are all stable.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Adam BrownSenior Systems Admin
Top Expert 2010

Commented:
Datto's implementation of ShadowCopy hijacks the VSS writers in a way that breaks Windows Server Backup. You can't use both at the same time.
Technical Architect - HA/Compute/Storage
Commented:
Here's the PowerShell for using Windows Server Backup:
# Install Windows Server Backup
Install-WindowsFeature Windows-Server-Backup -IncludeAllSubfeature -IncludeManagementTools

# Create a new policy
$policy = New-WBPolicy
$VolumePath = "D"

# Back up the system state
Add-WBSystemState -Policy $policy

# Set up the target
$target = New-WBBackupTarget -VolumePath $VolumePath

# Add the Target
Add-WBBackupTarget -Policy $policy -Target $target

# Add to Task Scheduler for a regular SS
Start-WBBackup -Policy $policy

Open in new window

RAFAIT CONSULTANT
Distinguished Expert 2018

Commented:
Open a cmd with administrator privileges execute the command sfc / scannow to validate the status of the system files and that there are no integrity problems.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial