BUG: NTBackup can't backup individual files from a batch file or via a command promptID: Q216789
|
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.
By design, NTBackup can only back up directories when using a batch file or through a command prompt.
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"
Microsoft has confirmed this to be a problem in Windows NT version 4.0.
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.
Additional query words: ntbackup do not have permission to access portions nt 4.00
Keywords : kbbug4.00
Version : winnt:4.0
Platform : winnt
Issue type : kbbug
Last Reviewed: February 18, 1999