Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

wbadmin command line backup to UNC fails

Posted on 2014-02-21
8
Medium Priority
?
3,377 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
 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

 

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

Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.

Question has a verified solution.

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

How to update Firmware and Bios in Dell Equalogic PS6000 Arrays and Hard Disks firmware update.
It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
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…
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…

618 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