?
Solved

wbadmin command line backup to UNC fails

Posted on 2014-02-21
8
Medium Priority
?
3,290 Views
Last Modified: 2014-03-05
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\share -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\bmrshare

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.
BackupFoldersCreated.rtf
0
Comment
Question by:precisenets
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 2
8 Comments
 

Accepted Solution

by:
precisenets earned 0 total points
ID: 39878475
Also the USB drive that holds the remote share is an Segate Backup Plus 3TB that I quick formated to NTFS.
0
 
LVL 5

Assisted Solution

by:Mdlinnett
Mdlinnett earned 300 total points
ID: 39880469
Try 'wbadmin start backup -backuptarget:\\server\bmrshare -allcritical'

I've just compared your script to one that I'm using on an SBS 2008 Server which I had to do a lot of trials with to get working.

The full command running on my SBS 2008 which has been working for some time is:

'wbadmin start backup -backuptarget:\\Server\Share -include:c:,f:,g: -allCritical -vssFull -quiet'
0
 

Author Comment

by:precisenets
ID: 39892226
I tried both of your examples and I still get the same error.
0
Does Your Cloud Backup Use Blockchain Technology?

Blockchain technology has already revolutionized finance thanks to Bitcoin. Now it's disrupting other areas, including the realm of data protection. Learn how blockchain is now being used to authenticate backup files and keep them safe from hackers.

 

Author Comment

by:precisenets
ID: 39895775
I tried using a UNC share in the same building and it is working, Im thinking the problem is related to the MPLS line I'm trying to run the backup over. Normal network shares and mapped drives work fine over this connection. Are there extra ports that need to be open for Windows Server 2008 R2 backup? Unfortunately the firewalls on the MPLS line are managed by a third party so I'll have to go through them to troubleshoot.
0
 

Author Comment

by:precisenets
ID: 39896114
I've turned off AV on both source and destination systems and the problem persists.
0
 

Assisted Solution

by:precisenets
precisenets earned 0 total points
ID: 39896232
Ok, I was barking up the wrong tree, it's not related to the UNC path, it's that the share was on a 3TB seagate drive with advanced 4k sector formatting.
0
 
LVL 5

Expert Comment

by:Mdlinnett
ID: 39902882
I see... glad you got a solution :)
0
 

Author Closing Comment

by:precisenets
ID: 39905898
Thank you for your reply.
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article we will learn how to backup a VMware farm using Nakivo Backup & Replication. In this tutorial we will install the software on a Windows 2012 R2 Server.
Your data is at risk. Probably more today that at any other time in history. There are simply more people with more access to the Web with bad intentions.
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
Suggested Courses

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question