• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 531
  • Last Modified:

Backup Full Server From Command Prompt

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
dougp23
Asked:
dougp23
  • 2
1 Solution
 
Patrick BogersDatacenter platform engineer LindowsCommented:
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
 
dougp23Author Commented:
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
 
Tony GiangrecoCommented:
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
 
Patrick BogersDatacenter platform engineer LindowsCommented:
Try running without the quiet option and it should show you why.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now