Command Line Windows NT Backup Backs Up Files as Directories

Last reviewed: May 9, 1997
Article ID: Q104168
The information in this article applies to:
  • Microsoft Windows NT operating system version 3.1
  • Microsoft Windows NT Advanced Server version 3.1

SYMPTOMS

When issuing the following command

   ntbackup backup o:\readme.txt

Windows NT Backup will report that it "Backed up 0 files in 2 directories." The file is backed up; however, it is backed up as a directory instead of a file.

The following backup status report results from the above-mentioned example command:

   Backup Status

   Tape Name: "Tape created on 8/31/93"
   Backup of "O: \\products2\release"
   Backup set #1 on tape #1
   Backup description: ""
   Backup started on 8/31/93 at 9:29:57 AM.
   Directory \
   Directory \README.TXT
   Backup completed on 8/31/93 at 9:29:58 AM.
   Backed up 0 files in 2 directories.
   Processed 903 bytes in  1 second.

In the backup status report, "Directory \README.TXT" indicates that Windows NT Backup considers README.TXT to be a directory, which is not the case.

CAUSE

Windows NT Backup is intended as a backup program for entire directories instead of individual files, and as such, treats an individual file listed on the command line as a directory to be backed up.

RESOLUTION

When you are using Windows NT Backup from the command line, specify entire directories to be backed up.

STATUS

Microsoft has confirmed this to be a problem in Windows NT version 3.1 and Windows NT Advanced Server version 3.1. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.


Additional query words: prodnt
Keywords : kbbug3.10 kbtool ntutil
Version : 3.1
Platform : WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: May 9, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.