Backing Up Open Files in Windows Server 2003 and Windows 2000 Server - 26 Oct 2004

How can I back up open files in Windows 2000 Server, and is the process the same in Windows Server 2003?

I assume you mean, How does NTBackup handle open files? The situation is different for Windows 2003 and Win2K. Let's look first at Win2K. To back up open files, you need to modify the registry. Open your favorite registry editor and go to the HKEY_CURRENT_USER\Software\Microsoft\Ntbackup\Backup Engine\Backup files inuse registry subkey. The data type is REG_SZ, and the default value is 0, which means NTBackup will skip open files. Change the value to 1, which will lock files while they're undergoing backup. One potential problem with this approach is that dynamic files (e.g., WINS database files) will be locked for a period of time. This problem doesn't occur in Windows 2003 because NTBackup uses Microsoft Volume Shadow Copy Service (VSS) to back up files.

VSS creates exact copies of files, including open files. You can place this shadow copy on a hard disk, tape, or other storage device. One good aspect of this approach is that files that change, (e.g., database files) aren't locked but are still included in the backup. You can perform a backup at any time, although periods of minimum activity are always best. Furthermore, you don't need to require users to log off the server during the backup process.

Discuss this Article 2

Randall (not verified)
on Oct 13, 2006
Absolutely useless

Please or Register to post comments.

IT/Dev Connections

Las Vegas
September 30th - October 4th

Paul ThurottYou'll have the opportunity to experience:
• The Microsoft
Technology Roadmap
• Office 365 Implementation
• Hyper-V Optimizing
• Windows 8 Deployment
and much more!

Come See Paul Thurrott & Rod Trent in Person!

Early Registration Now Open

Upcoming Training

Mastering System Center 2012

During over 6 hours of training you can join John Savill from your computer as he will walk you through the key components and capabilities of System Center 2012, what’s involved in using the components, and the benefit they can bring to your environment.

Register Now

Current Issue

May 2013 - The NameTranslate object is useful when you need to translate Active Directory object names between different formats, but it's awkward to use from PowerShell. Here's a PowerShell script that eliminates the awkwardness.

CURRENT ISSUE / ARCHIVE / SUBSCRIBE

Windows Forums

Get answers to questions, share tips, and engage with the Windows Community in our Forums.