Solved

Backup Full Server From Command Prompt

Posted on 2014-03-30
4
485 Views
Last Modified: 2014-03-30
I have gone round and round, and no love is being given.  Here's my command:

wbadmin START BACKUP -include:C:,D: -vssfull -backupTarget:X: -allCritical -quiet  >> C:\backupLogs.txt

I get an error that my syntax is incorrect...

I want to do a full system backup of the C and D drives...to the X drive.  X is there, I can browse it and all that.  Running as Admin, Server 2008 R2.

Thank you.
0
Comment
Question by:dougp23
  • 2
4 Comments
 
LVL 19

Accepted Solution

by:
Patricksr1972 earned 500 total points
ID: 39964903
Hi

Syntax looks correct but i have this feeling >> C:\backupLogs.txt
is not supported by Windows, it looks like a Linux redirect.

You could try replacing this piece of command by:          -output:C:\backupLogs.txt
0
 
LVL 1

Author Comment

by:dougp23
ID: 39965133
Patrick, you are correct, if I remove that line it runs.  It claims to complete successfully, yet the X drive remains empty.  I'll give you the points, but do you have any ideas why the backup says it finished, yet the destination drive shows no sign of any backup??
0
 
LVL 25

Expert Comment

by:Tony Giangreco
ID: 39965144
Try windows server backup, also I'd try creating a folder and aim the log there. Try a local drive like c:\backuplogs\log.txt
0
 
LVL 19

Expert Comment

by:Patricksr1972
ID: 39965200
Try running without the quiet option and it should show you why.
0

Featured Post

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

VM backup deduplication is a method of reducing the amount of storage space needed to save VM backups. In most organizations, VMs contain many duplicate copies of data, such as VMs deployed from the same template, VMs with the same OS, or VMs that h…
The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
This tutorial will show how to push an installation of Backup Exec to an additional server in both 2012 and 2014 versions of the software. Click on the Backup Exec button in the upper left corner. From here, select Installation and Licensing, then I…
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…

744 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

11 Experts available now in Live!

Get 1:1 Help Now