Solved

Backup Full Server From Command Prompt

Posted on 2014-03-30
4
519 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 22

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 22

Expert Comment

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

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
NTP problem 24 74
Finding machines using a specific DNS server 6 59
How to do SFTP in Windows to another server. 3 35
robocopy question 3 24
Workplace bullying has increased with the use of email and social media. Retain evidence of this with email archiving to protect your employees.
This article explains how to install and use the NTBackup utility that comes with Windows Server.
This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…

713 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