Microsoft KB Archive/216789

= BUG: NTBackup Cannot Back Up Individual Files from a Batch File or by Using a Command Prompt =

Article ID: 216789

Article Last Modified on 2/22/2007

-

APPLIES TO


 * Microsoft Windows 2000 Server
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Professional Edition
 * Microsoft Windows NT Server 4.0 Standard Edition
 * Microsoft Windows NT Workstation 4.0 Developer Edition

-



This article was previously published under Q216789





SYMPTOMS
When you run NTBackup from the command line or from a batch file, and you specify a single file to be backed up, (for example: ntbackup backup c:\xfer\test.txt /D "Test One" /l "c:\backup.log"), you will consistently get the following error condition:

You do not have permission to access portions of.



CAUSE
By design, NTBackup can only back up directories when using a batch file or through a command prompt.



RESOLUTION
To work around this problem, specify the directory in which the file you want to back up resides, for example:

  ntbackup backup c:\xfer /d "Test Two" /l "c:\backup.log"



STATUS
Microsoft has confirmed that this is a problem in Windows NT version 4.0.



MORE INFORMATION
The Backup.log file will look similar to the following:

Backup Status

Tape Name: "Tape created on 1/21/99"

Backup of "C:"

Backup set #1 on tape #1 ONE"

Backup Method: Normal

Backup started on 1/21/99 at 5:21:03 PM.

Directory C:

Directory C:\xfer

You do not have permission to access portions of xfer\test.txt.

Please see the owner or administrator to get permission.

Backup completed on 1/21/99 at 5:21:03 PM.

Backed up 0 files in 2 directories.

Processed 2,344 bytes in 1 second.

For additional information, please refer to the online help for Microsoft Windows NT NTBackup.

Additional query words: ntbackup do not have permission to access portions nt 4.00

Keywords: kbbug KB216789

-

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

© Microsoft Corporation. All rights reserved.