Registrations are now open. Join us today!
There is still a lot of work to do on the wiki yet! More information about editing can be found here.
Already have an account?

Microsoft KB Archive/104081

From BetaArchive Wiki

Command Line NTBackup Won't Backup Files Using UNC Naming

Q104081



The information in this article applies to:


  • Microsoft Windows NT Server versions 3.1, 3.5, 4.0
  • Microsoft Windows NT Workstation versions 3.1, 3.5, 4.0
  • Microsoft Windows NT Advanced Server, version 3.1





SUMMARY

Windows NT Backup (NTBACKUP.EXE) does not support uniform naming convention (UNC) naming for paths. For example, when issuing the command

   ntbackup backup \\server1\share\<dirname> 

Windows NT Backup will not backup any files in the specified directory, even though files exist in the directory (\<dirname>).



MORE INFORMATION

This might be an issue for someone (such as a network administrator) who wants to make nightly backups using the AT command (which schedules programs to run on a computer at a specified time and date).

For example, you may want to issue the following command

   AT 3:30am backup.bat 

where the contents of the BACKUP.BAT file are the following:

   ntbackup backup \\server1\share\sys 

When you are using UNC naming conventions, you can avoid mapping a drive letter to a network resource; however, Windows NT Backup does not support UNC naming.

In the above example, then, the correct contents for the BACKUP.BAT is the following:

   rem Disconnect the current network resource if it exists.
   net use o: /d
   rem Connect to the correct network resource for the backup.
   net use o: \\server1\share
   rem Run the backup to the network resource.
   ntbackup backup o:\sys
   rem Disconnect the current network resource.
   net use o: /d 

Additional query words: prodnt

Keywords : kbtool
Issue type :
Technology : kbWinNTsearch kbWinNTWsearch kbWinNTW400 kbWinNTW400search kbWinNT350xsearch kbWinNT400xsearch kbWinNTW350 kbWinNTW350xsearch kbWinNTW310 kbWinNTSsearch kbWinNTS400xsearch kbWinNTS400 kbWinNTS350 kbWinNTS310 kbWinNTAdvSerSearch kbWinNTAdvServ310 kbWinNTS350xsearch kbWinNTS310xsearch kbWinNT310xSearch kbWinNTW310Search


Last Reviewed: October 27, 2000
© 2001 Microsoft Corporation. All rights reserved. Terms of Use.