Solved

wbadmin command line backup to UNC fails

Posted on 2014-02-21
8
2,992 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
Comment Utility
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
Comment Utility
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
Comment Utility
I tried both of your examples and I still get the same error.
0
 

Author Comment

by:precisenets
Comment Utility
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
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 

Author Comment

by:precisenets
Comment Utility
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
Comment Utility
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
Comment Utility
I see... glad you got a solution :)
0
 

Author Closing Comment

by:precisenets
Comment Utility
Thank you for your reply.
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

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…
By default, Carbonite Server Backup manages your encryption key for you using Advanced Encryption Standard (AES) 128-bit encryption. If you choose to manage your private encryption key, your backups will be encrypted using AES 256-bit encryption.
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…

763 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

14 Experts available now in Live!

Get 1:1 Help Now