I'm having trouble with an wbadmin.exe backup script on Windows Server 2008 R2 Standard. I have a scheduled backup running in the GUI that backs up to USB drives, I want to use wbadmin scripts and task scheduler to add backups to a UNC share at a remote office for offsite backups. But when I test the command line script it runs for a couple minutes and the I get this error:
The backup operation stopped before completing.
Detailed error: The parameter is incorrect.
One of the backup files could not be created.
The parameter is incorrect.
I started with this command:
Wbadmin start backup -backupTarget:\\server\sha
re -include:c:\,d:\ -allCritical -systemState -noVerify -user:username -password:pw -noInheritAcl
then I simplified it to this for troubleshooting:
wbadmin.exe start backup -allcritical -backuptarget:\\server\bmr
I get the same error with both scripts. I'm copying and pasting the commands from notepad into an elevated command prompt for testing, I haven't attempted to schedule them yet.
The remote share is a shared folder on an external USB drive connected to a server at the remote\branch office. I gave the everyone object full permissions in both the security and sharing tabs on the shared folder. From the server I'm backing up I can browse to the backup share and create\modify\delete a file.
The backup does create the WindowsImageBackup folder on the remote share before failing, along with sub folders and files including the .vhd file. Attached is a wordpad doc with screen shots of all the folders and files it manages to create.