• Some users have recently had their accounts hijacked. It seems that the now defunct EVGA forums might have compromised your password there and seems many are using the same PW here. We would suggest you UPDATE YOUR PASSWORD and TURN ON 2FA for your account here to further secure it. None of the compromised accounts had 2FA turned on.
    Once you have enabled 2FA, your account will be updated soon to show a badge, letting other members know that you use 2FA to protect your account. This should be beneficial for everyone that uses FSFT.

Windows 8.1: WBAdmin command not working corectly

Quartz-1

Supreme [H]ardness
Joined
May 20, 2011
Messages
4,257
I've just upgraded to Windows 8.1 this past week and have been trying to get it to back up both drives. I've checked Technet and the command I'm supposed to use appears to be wbadmin start backup -backupTarget:G: -include:c:,d: -allCritical

However, this is the result:

PS C:\WINDOWS\system32> wbadmin start backup -backupTarget:G: -include:c:,d: -allCritical
wbadmin 1.0 - Backup command-line tool
(C) Copyright 2013 Microsoft Corporation. All rights reserved.

Retrieving volume information...
ERROR - The file 'c: d:' is invalid.

The specified file name in the file spec is invalid.

Remove d: and it works perfectly. Powershell is running as administrator, so permissions shouldn't be an issue.

Here's the help from WBAdmin for the -include switch:

-include Specifies the comma-delimited list of items to include in the
backup. You can include multiple volumes. Volume paths can be
specified using volume drive letters, volume mount points, or
GUID-based volume names. If you use a GUID-based volume
name, it should be terminated with a backslash (\). You can
use the wildcard character (*) in the file name when
specifying a path to a file. Should be used only when the
-backupTarget parameter is used.

I'm clearly suffering a middle-aged moment: what am I missing?
 
Try using quotes around the 'include' command... Gotta love windows command line switch parsing!

wbadmin start backup -backupTarget:G: "-include:c:,d:" -allCritical
 
Last edited:
Back
Top