Solved

wbadmin command line backup to UNC fails

Posted on 2014-02-21
8
3,030 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
  • 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 100 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
 

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
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 

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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

INTRODUCTION The purpose of this document is to demonstrate the Installation and configuration of the Data Protection Manager product. Note that this demonstration was prepared on the basis of Windows OS is 2008 R2 and DPM 2010. DATA PROTECTI…
When you upgrade from Windows 8 to 8.1 or to Windows 10 or if you are like me you are on the Insider Program you may find yourself with many 450MB recovery partitions.  With a traditional disk that may not be a problem but with relatively smaller SS…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…
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…

919 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now