Microsoft KB Archive/821730

= NTBackup Does Not Run As Expected When You Run It from a Command Prompt =

Article ID: 821730

Article Last Modified on 7/24/2007

-

APPLIES TO


 * Microsoft Windows Server 2003, Web Edition
 * Microsoft Windows Server 2003, Standard Edition (32-bit x86)
 * Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)
 * Microsoft Windows Server 2003, Enterprise x64 Edition

-





SYMPTOMS
When you use a command prompt or a batch file to run the NTBackup utility, and you include command-line parameters with the ntbackup command, NTBackup does not run as expected.



CAUSE
This problem occurs if you use a slash character and a letter in the following combinations as part of a parameter for a switch:

/j

/p

/g

/t

/n

/f

/d

/ds

/is

/a

/v

/r

/l

/m

/rs

/hc

/um

NTBackup reads each of these character combinations as if it were another switch itself (instead of just part of a switch parameter).

For example, in the following command syntax, the parameter that is used with the /d switch contains the &quot;/r&quot; character combination. This character combination is read by NTBackup as the /r switch instead of as part of the /d parameter:

ntbackup backup &quot;@d:\backup.bks&quot; /j &quot;test backup job&quot; /f &quot;d:\backup.bkf&quot; /d &quot;backup set label /r&quot; /a /v:yes /m copy /hc:off

If this command were to include the /r switch in the syntax, this problem would not occur. For example, in the following command syntax, the /d parameter still contains the &quot;/r&quot; character combination. However, because the /r switch is also clearly stated in the syntax, the problem does not occur:

ntbackup backup &quot;@d:\backup.bks&quot; /j &quot;test backup job&quot; /f &quot;d:\backup.bkf&quot; /d &quot;backup set label /r&quot; /a /v:yes /r:no /m copy /hc:off



Hotfix Information
A supported hotfix is now available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next service pack that contains this hotfix.

To resolve this problem, submit a request to Microsoft Online Customer Services to obtain the hotfix. To submit an online request to obtain the hotfix, visit the following Microsoft Web site:

http://go.microsoft.com/?linkid=6294451

Note If additional issues occur or any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. To create a separate service request, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support

Prerequisites
No prerequisites are required.

Hotfix Replacement Information
This hotfix does not replace any other hotfixes.

File Information
The English version of this fix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.  Date         Time        Version          Size   File name - 17-Jul-2003  05:48    5.2.3790.69     1,168,384  Ntbackup.exe



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

Keywords: kbhotfixserver kbqfe kbbug kbfix kbqfe kbwinserv2003presp1fix KB821730

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.