Summary backup and recovery

The Windows 2000 Backup programs starts via the Start-menu (Programs - Accessories - System tools - Backup) or the command Ntbackup. It enables you take backup data manually or via a schedule. You can backup data to a file or a tape. The data can be stored on hard disks, removable disks (Jazz, Zip, etc.), tapes and recordable and optical disks.

Backup

All users can backup their own files/folders and those to which they at least have read permissions.
Members of the administrators-, server operators- and backup operators group can backup files as they have the 'Backup files and Directories and Restore File and Directories' user right.

Files that are backup on a disk, have a .bkf extension. The files that should be put on backup are stored in a .bks-files in the profile -> \Local Settings\Application Data\Microsoft\Windows NT\NTBackup\data folder . This folder also contains the log files. The NTBackup folder also has subdirectories for the  catalogs (\catalogs) and temporary files (\temp).

For each backup job you can enter the following options :

bulletBackup description. 'Set created at data at time' is the default description.
bulletAppend or replace data to backup.
bulletLabel to identify the backup of media is overwritten.
bulletSchedule tab. Set the times when the backup should start. Information is stored is a .job file as part as the Task Scheduler.
bulletAdvanced tab. Set if you want to backup the data that is in remote storage (default off), set if a verify is required (default off), set compression, backup system protected files with the system state, set the type of backup (normal, copy incremental, differential, daily)

Windows 2000 does support backup via the network but cannot backup Active Directory and Registry via the network. Windows 2000 does not backup open files.

There are 5 types of backup-modes :

bulletNormal. Backups all files without looking at the archive bit. The archive bit is cleared for each file that is put on the backup. (Full backup)
bulletCopy. The same as normal but it does not change the archive bit.
bulletDifferential. Only files with an archive bit are put on tape but it does not change the archive bit.
bulletIncremental. Only files with an archive bit are put on tape and it does clear the archive bit.
bulletDaily. Only the files changed that daily will be put on tape. The archive bit is not used.

When customizing the backup, you can select three items to backup :

bulletBackup everything on the computer.
bulletBackup selected files, drives or network data.
bulletSystem state. You can backup the Active Directory, boot files, Com+ class registers, registry and Sysvol.

A scheduled backup is stored as a job for the Scheduler-service in \winnt\tasks.

You can select the following Advanced options for a backup :

bulletType of backup operation. Normal, copy, differential, incremental and daily.
bulletBackup migrated remote storage data. Via HSM migrated data to remote storage.
bulletVerify data after backup. Recommended by Microsoft.
bulletUse hardware compression if available.
bulletIf the archive media already contains backups. Add or overwrite data on backup media.
bulletAllow only the owner and the administrator access to the backup data and any backups appended.
bulletBackup label. Default Set created Date at Time.
bulletMedia label. Default Media created Date at Time.
bulletWhen to backup. Now or via a schedule.

Via Tools - Options in the backup program you can change the default backup settings like the type of backup/restore, logs, excluded files, etc.

If you choose to backup the System State data, the following items will be backup :

bulletThe registry.
bulletThe Com+ class registration database.
bulletStartup and system files.
bulletCertificate services database (if the server is a certificate server)
bulletActive Directory database and sysvol (if the server is a domain controller)
bulletCluster database (only on cluster servers)

System State will also copy the registry to the \systemroot\repair\regback directory. This data can be used to restore the registry by putting the files in the \systemroot\system32\config directory.

Restore

All users can restore files/folder to which they at least have write access. Member of the administrators-, server operators- and backup operators group can restore as they have the 'Backup files and Directories and Restore File and Directories' user right.

A restore starts via the Restore wizard. You can choose to restore a full backup or a part of it. The data can be restored to the following locations :

bulletOriginal location. Data is restored to the original location.
bulletAlternate location. The data will be restored to a specified folder. The folder structure of the restore remains the same
bulletSingle folder. All data will be restored in a single folder. The folder structure of the data on the backup is ignored.

You can also set via Tools - Options - Restore tab what should happen if a file is already on the system during a restore :

bulletDo not replace the file on my disk (recommended). This is the default option. The file already on the system will not be overwritten during a restore.
bulletReplace the file on disk only if it is older than the backup copy. The file will only be restored if it does not exist or if it is newer than the file one the system.
bulletAlways replace the file on my computer. The file on the backup will always be restored to the system.

Before the restore starts, you can specify some advanced options :

bulletRestore security. Restore acl's. (default on)
bulletRestore removable storage database. This is \winnt\system32\ntmsdata. (default off)
bulletRestore junction points and the data under these points. (default off)
bulletRestore data as primary data in a FRS replica. (default off)
bulletPreserve existing volume mount points. (default on)

If you want to restore the Active Directory on a domain controller, you should follow the next steps :

bulletStart the server in 'Directory service restore mode'
bulletLog on with the stand-alone server's administrator account.
bulletRestore the Active directory.

If the restore data also should be replicated to the other domain controllers, use the ntdsutil utility with the 'Authorative restore' option to replicate the restored Active Directory information. After this, reboot the machine.

Emergency repair disk

The emergency repair disk in Windows 2000 is a disk that supports the repair tools on the Windows 2000 cd. It formats a floppy and copies the following files to it :

bulletAutoexec.nt
bulletConfig.nt
bulletSetup.log

When creating the emergency repair disk, the current registry settings are copied to \winnt\repair\regback. The emergency repair disk is not bootable.

System state (AD restore)

The system state can be used to backup Active Directory, the registry, start-up files, SYSVOL, the IIS metabase, cluster service, COM+ class registration database, performance counter information and the certificate service database. To restore the system state. the folder and disk location of the system folder must be the same as they were.
If you want to restore an domain controller, just boot in Directory Services restore mode, restore the system state and reboot. After this, data from domain controllers that did not have problems will be replicated to the restored domain controller as, by default, the restore was non-authoritative.
If you want to restore data to Active Directory, first reboot in Directory Services restore mode, non-authoritative restore Active Directory and use ntdsutil to select the accounts to be authoritative. This can only be done when the backup tape is not older than the tombstone lifetime. (default 60 days) It is not possible to replay the logfiles as Active Directory uses circular logging.
It is important to know that it is not possible to restore active directory objects from a backup that is older than the tombstone lifetime. This lifetime is by default 60 days and can be changed in Active Directory. (CN=Directory Service,CN=WindowsNT,CN=Services,CN=Configuration,DC=SERVERNAME,DC=COMPANY,DC=COM)

bulletBacking up and restore Active directory  (TechRepublic)
bullet Backing up and restoring AD (Windows 2000 magazine)
bulletAD disaster recovery (Windows 2000 magazine)
bulletActive directory disaster recovery (Microsoft)
bullet How to back up and restore the system state (Q240363)
bullet How to perform an authorative restore to a domain controller (Q241594)
bullet Impact of authorative restore on trusts and computer accounts (Q216243)
bullet Authorative restore of groups gie inconsistent membership (Q280079)
bullet Backup of the Active Directory has 60-day useful life (Q216993)
bullet On-line Active Directory restore not supported in Windows 2000 (Q296257)

Shadow copy/Automated system recovery

Windows XP support the shadow copy functionality which creates a snapshot of the machine. This enables a backup of open files while users can access the volume. It can be used via ntbackup /snap. The vssadmin tool can be used to view the available shadow copies.
Automated system recovery (ASR) can be used to restore a corrupt system. It replaced the emergency repair disk and enables you to restore the system state and critical files on the system and boot partitions.  It should only be used when the system cannot start in normal, safe, or recovery console mode. The floppy can be created via the Advanced mode of NTBackup, a restore can be started by pressing F2 during start-up to initiate an ASR restore.

More information

Related white papers

bulletManaging Windows 2000 disks and backup and restore

Links

bullet Technical overview of Windows Server 2003 file services
bulletWindows 2000 server disaster recovery guidelines
bulletBackup and restore the system state (Windows 2000 mag.)
bulletBackup and restore the system state (Microsoft)
bulletBacking up and restore Active directory  (TechRepublic)
bulletUsing NTBackup with Windows 2000 and NT. (Windows NT mag.)
bulletBackup and restore Active directory (Windows 2000 mag.)
bulletActive directory disaster recovery (Microsoft)
bullet Scheduling command-line Win2K backups (Windows .NET magazine)
bulletXP's system restore feature (Windows 2000 magazine Dec 2001)
bulletBackup secrets from a pro (MCPMag)
bulletPassword Directory service restore mode
bulletHow to create an emergency repair disk
bullet Volume shadow copy technology (Microsoft)
bulletSystem restore on Windows XP (Windows 2000 magazine)
bulletUnderstanding Windows safe mode options (TechRepuplic)
bulletBackup and restore links from LabMice

Search Windows 2000 knowledge base (on title)

bulletSearch for 'backup' in knowledge base
bulletSearch for 'ntbackup' in knowledge base
bulletSearch for 'restore' in knowledge base
bulletSearch for 'erd' in knowledge base
bulletSearch for 'ntdsutil' in knowledge base

Third-party products

bulletLiveVault 2.4 (Windows 2000 mag. nov 2000)
bulletUltrabac 5.5 stand-alone disaster recovery for Windows NT (Windows 2000 mag. jul 2000)
bulletSt.Bernard Open File Manager
bulletDisaster recovery for Windows environments (EntOnline)

Last update : 27 January 2003