Knowledge Base

Files that are automatically skipped by the backup program (Ntbackup.exe) during the backup and restore processes

Article ID: 104169

Article Last Modified on 12/3/2007


APPLIES TO


This article was previously published under Q104169
IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry

SUMMARY

The Backup program (Ntbackup.exe) automatically skips the following types of files during the backup and restore processes: NOTES

MORE INFORMATION

Files That Are Locked by an Application Other Than Backup

Windows supports the backup of local files that are exclusively locked by the operating system, such as event logs and registry files; however, another type of skipped file that Backup encounters is a file that is in use and locked by another process.

In this kind of event, Backup displays a "Skip Open Files Wait Time" dialog box. An internal timer is then started and Backup waits 30 seconds for the file to become available. During that time, Backup continuously tries to access the locked file. If the file does not become available during the 30-second waiting period, Backup skips the file, places its name in the backup log file (if the log is enabled), marks it as skipped in the log, and continues to the next file. You have the option to choose the Cancel button in the dialog box and immediately move to the next file, logging the skipped file as previously described. If the file becomes available before the 30-second time-out period, Backup backs up that file and continues with the rest of the backup.

If the file has an attached alternate data stream that is locked, Backup waits 30 seconds for the stream to become available. If the stream does not become available in that time, Backup makes an entry in the log (if enabled) that indicates that the file was corrupted.

You can modify the following registry entries to adjust the skipped files options.WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk. NOTE: In the U.S. version of Windows NT version 3.1 Service Packs 2 (and later), NTBackup does not use the registry, but instead uses %SYSTEMROOT%\Ntbackup.ini.

HKEY_CURRENT_USER\Software\Microsoft\Ntbackup\User Interface
   Name:            Skip open files
   Type:            REG_SZ
   Default:         0
   Definition:
   0 = do not skip, wait
   1 = skip files that are opened unreadable
   2 = wait on open files for "Wait time"
				
   Name:            Wait time
   Type:            REG_SZ
   Data:            30
   Definition:
   Maximum time (seconds) to wait for open files. Default is 30 seconds.
   Maximum value is 65535
				

Files That Are Skipped by Default by Backup

By default, Backup skips the following files: For Windows 2000, the Backup##.log files for the "active" backup_user are not backed up in the following folder:

Documents and Settings\User_name\Local Settings\Application Data\Microsoft\Windows NT\NTbackup\Data

Files that are skipped by default by Backup in Windows Server 2003

The following files are not backed up by Backup in Windows Server 2003:

Additional query words: prodnt

Keywords: KB104169