Improve company productivity with a Business Account.Sign Up

x
?
Solved

Backup Full Server From Command Prompt

Posted on 2014-03-30
4
Medium Priority
?
534 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 23

Accepted Solution

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Backups and Disaster RecoveryIn this post, we’ll look at strategies for backups and disaster recovery.
Gmail is a free web-based email service, which is accessible from a web browser anywhere in the world as long as an Internet connection is present. Export Gmail to Mailbox PST/ EML/ MBOX/ MSG formats with the help of SysTools Gmail Backup.  To secur…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
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…

585 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