Solved

wbadmin command line backup to UNC fails

Posted on 2014-02-21
8
3,113 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
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 

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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Suggested Solutions

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…
How to fix error ""Failed to validate the vCentre certificate. Either install or verify the certificate by using the vSphere Data Protection Configuration utility" when you are trying to connect to VDP instance from Vcenter.
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…
This tutorial will walk an individual through the process of installing of Data Protection Manager on a server running Windows Server 2012 R2, including the prerequisites. Microsoft .Net 3.5 is required. To install this feature, go to Server Manager…

829 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