Difference between revisions of "Microsoft KB Archive/104168"

From BetaArchive Wiki
(importing KB archive)
 
m (Text replacement - """ to """)
 
Line 54: Line 54:
 
<pre class="codesample">  ntbackup backup o:\readme.txt
 
<pre class="codesample">  ntbackup backup o:\readme.txt
 
                 </pre>
 
                 </pre>
Windows NT Backup will report that it &quot;Backed up 0 files in 2 directories.&quot; The file is backed up; however, it is backed up as a directory instead of a file.<br />
+
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.<br />
 
<br />
 
<br />
 
The following backup status report results from the above-mentioned example command:
 
The following backup status report results from the above-mentioned example command:
 
<pre class="fixed_text">  Backup Status
 
<pre class="fixed_text">  Backup Status
  
   Tape Name: &quot;Tape created on 8/31/93&quot;
+
   Tape Name: "Tape created on 8/31/93"
   Backup of &quot;O: \\products2\release&quot;
+
   Backup of "O: \\products2\release"
 
   Backup set #1 on tape #1
 
   Backup set #1 on tape #1
   Backup description: &quot;&quot;
+
   Backup description: ""
 
   Backup started on 8/31/93 at 9:29:57 AM.
 
   Backup started on 8/31/93 at 9:29:57 AM.
 
   Directory \  
 
   Directory \  
Line 70: Line 70:
 
   Processed 903 bytes in  1 second.
 
   Processed 903 bytes in  1 second.
 
                 </pre>
 
                 </pre>
In the backup status report, &quot;Directory \README.TXT&quot; indicates that Windows NT Backup considers README.TXT to be a directory, which is not the case.
+
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.
  
 
</div>
 
</div>

Latest revision as of 08:30, 20 July 2020

Knowledge Base


Command Line Windows NT Backup Backs Up Files as Directories

Article ID: 104168

Article Last Modified on 11/1/2006



APPLIES TO

  • Microsoft Windows NT Advanced Server 3.1
  • Microsoft Windows NT Workstation 3.1
  • Microsoft Windows NT Advanced Server 3.1



This article was previously published under Q104168


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: KB104168