Solved

Backup Full Server From Command Prompt

Posted on 2014-03-30
4
524 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
[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
  • 2
4 Comments
 
LVL 23

Accepted Solution

by:
Patrick Bogers 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 23

Expert Comment

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

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

I was prompted to write this article after the recent World-Wide Ransomware outbreak. For years now, System Administrators around the world have used the excuse of "Waiting a Bit" before applying Security Patch Updates. This type of reasoning to me …
For anyone that has accidentally used newSID with Server 2008 R2 (like I did) and hasn't been able to get the server running again because you were unlucky (as I was) and had no backups - I was able to get things working by doing a Registry Hive rec…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

726 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