Article ID: 216789 - Last Review: February 22, 2007 - Revision: 2.2 BUG: NTBackup Cannot Back Up Individual Files from a Batch File or by Using a Command PromptThis 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 specified path\filename.
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" STATUSMicrosoft 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. | Article Translations
|
Back to the top
