Microsoft KB Archive/159218

= Proper Backup of Open Files Using Ntbackup =

Article ID: 159218

Article Last Modified on 11/1/2006

-

APPLIES TO


 * Microsoft Windows NT Workstation 3.51
 * Microsoft Windows NT Workstation 4.0 Developer Edition
 * Microsoft Windows NT Server 3.51
 * Microsoft Windows NT Server 4.0 Standard Edition
 * Microsoft BackOffice Small Business Server 4.0
 * Microsoft BackOffice Small Business Server 4.5

-



This article was previously published under Q159218



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



SYMPTOMS
Files may not be properly restored with a backup program (such as Windows NT Backup).



CAUSE
This problem can be caused by either of the following:  Corrupt file

Some third-party backup programs set the following value to 1 during setup while Windows NT Backup sets this value to 0:

HKEY_CURRENT_USER\SOFTWARE\Microsoft\Ntbackup\Backup Engine\Backup files inuse

Open files are generally in an inconsistent state and any attempt to back up these files may cause corruption (for example, WINS and DHCP databases). Missing file

If the value above is set to 0, the backup program skips open files; therefore, some files may be missing when you restore from backup.



RESOLUTION
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.

Perform one of the following to resolve this problem:  Set the following value to 0:

HKEY_CURRENT_USER\SOFTWARE\Microsoft\Ntbackup\Backup Engine\Backup files inuse

 Make sure a consistent file is available for backup before you start the backup. To do this, perform one of the following:  Application method

Use a utility for that application file that creates a good backup while that file is open. For example, rdisk -s backs up the registry in the %SystemRoot%\Repair folder.

NOTE: When performing a remote backup of any server's registry, you must run rdisk -s or rdisk /s- on that server first because remote registries are not available to be backed up over the network.</li> System method

Close the files before backup (for example, stop logons, close current sessions with existing clients, and stop all non-essential services). You may be able to accomplish this by using the AT command or the Command Scheduler (Winat.exe).</li> Application and System method

The best approach may be to use both methods to make sure all data is accessible from a backup and to test your plan fully before implementing it.</li></ul> </li></ul>

<div class="moreinformation_section">

MORE INFORMATION
If the following value is 1, backup programs attempt to back up open files:

HKEY_CURRENT_USER\SOFTWARE\Microsoft\Ntbackup\Backup Engine\Backup files inuse

Additional query words: scheduler sbs backup

Keywords: kbhowto KB159218

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.