wbadmin command line
Does anyone know how to deal with a space in the folder name, I'm using "My Data" as the example:
wbadmin start backup -backuptarget:e: -include:c:\My Data
I get: Error - command syntax incorrect. Error: data. See command
The command syntax works fine of folder names with no spaces.
November 20th, 2010 2:24pm
Hi,
in general when you have a space in folder name you have to use quotes like this example:
wbadmin start backup -backuptarget:e: -include:"c:\My Data"
HTHEdoardo Benussi - Microsoft MVP
Management Infrastructure - Systems Administration
https://mvp.support.microsoft.com/Profile/Benussi
Windows Server Italian Forum Moderator
edo[at]mvps[dot]org
Free Windows Admin Tool Kit Click here and download it now
November 20th, 2010 2:56pm
I tried the quotes and got the same error. Any other suggestions, without renaming.
thks..
November 20th, 2010 5:05pm
"-include" parameter has following explanation:
"Specifies the comma-delimited list of volume drive letters, volume mount points, or GUID-based volume names to include in the backup. This parameter should be used only when
-backupTarget is specified."
ref:
http://technet.microsoft.com/en-us/library/cc742083(WS.10).aspx
also try with this syntax:
wbadmin start backup -backuptarget:e: -include:c:\My Data,
with comma at the end.Edoardo Benussi - Microsoft MVP
Management Infrastructure - Systems Administration
https://mvp.support.microsoft.com/Profile/Benussi
Windows Server Italian Forum Moderator
edo[at]mvps[dot]org
Free Windows Admin Tool Kit Click here and download it now
November 21st, 2010 3:49am
I tried the comma at the end and it responds with >>
type ? or help all I get is >>
Something has to work since some default folders have spaces in the names.
Any other suggestion....
thks, Dan
November 21st, 2010 11:58am