Backup and Restore

Last updated

Backup and Restore
Other namesBackup and Restore Center
Backup Status and Configuration
Windows Backup
Windows 7 File Recovery
System Image Backup
Developer(s) Microsoft
Initial releaseNovember 30, 2006;16 years ago (2006-11-30)
Included with Windows Vista and later
Predecessor NTBackup
Successor File History
Service nameWindows Backup (SDRSVC)
Type Backup software

Backup and Restore [1] (formerly Backup and Restore Center [2] ) is the primary backup component of Windows Vista and Windows 7. It can create file and folder backups, as well as system images backups, to be used for recovery in the event of data corruption, hard disk drive failure, or malware infection. It replaces NTBackup, which has been part of Windows since Windows NT 3.51. Unlike its predecessor, it supports CDs, DVDs, and Blu-rays discs as backup media.

Contents

Backup and Restore offers file and folder backup in all editions of Windows. But its full set of features are only available on high-end editions of Windows, i.e., the Professional, Business, Enterprise, and Ultimate editions.

Microsoft deprecated Backup and Restore in Windows 8.0, recommending to use the File History app for file-based backup and a third-party solution for system imaging. Despite its deprecation, however, it is part of all versions of Windows released thereafter.

The Windows Server counterpart of Backup and Restore is called Windows Server Backup.

Backup types

Backup and Restore supports two different types of backup: File and folder backup, and system image.

File and folder backup

The Backup and Restore app can create backup copies of individual files and folders. These backups are saved to ZIP files. Two methods of file backup are supported. The first, normal backup, stores everything selected for backup. The second, incremental backup stores only files that are changed after a previous backup.

File backup in Windows Vista does not allow users to choose specific files, locations, or users to back up; instead, it backs up content from all users based on categories: audio tracks, compressed files, documents, email, photos, recorded television shows, videos, and additional user files. Users can only choose whether to perform a backup of a certain category. [3] Microsoft hoped that this simplistic approach would prove appealing to users who were easily appalled by "a long tree of checkboxes." [4]

File backup in Windows 7 presents two options for operation: Let Me Choose, which allows users to perform backups of specific folders, libraries, and to create a system image; and Let Windows Choose, which creates backups of all personal data in user folders and libraries, and also creates a system image. [5]

System image

The other method of backup, called Complete PC Backup in Windows Vista or system image in Windows 7, is a block-by-block disk image of the system, saved in a VHD file. The block-based backup is more efficient at performing subsequent differential backups, as only the blocks that have changed need to be backed up. [4] [6] [7] However, Backup and Restore can also only create system images of disks formatted with the NTFS file system. [5]

One could later restore the VHD through the Windows Recovery Environment. [7] [8] Beginning with Windows Vista SP1, system images can be restored to a machine with a different motherboard, which may have a different disk controller, but the target machine must have the same number of disks. [9]

Alternatively, one could mount the VHD image as a virtual disk, allowing extraction of individual files. The mounted virtual disk has all the features of an actual volume, meaning that the Previous Versions feature of Windows 7 is available on it. In Windows 7 Enterprise and Ultimate, it also possible to boot from the VHD file. [7] [8] Finally, hypervisors such as Hyper-V, VMware Workstation, and Oracle VirtualBox support VHD as their disk format, so it is possible to use these backups in virtual machines.

Backup targets

Backups could be stored on the root of any storage device other than the one being backed up or on a network share. However, Backup and Restore does not support backing up to a subfolder of a volume. [10] It also supports CDs, DVDs, and Blu-ray discs as backup destinations, [11] but does not support tape drives. [5]

Windows Server Backup in Windows Server 2008 does not support hard disk drives with large sector sizes (4096 bytes) unless they support 512 byte emulation. [12]

Operation

Backup and Restore is only a frontend for interfacing with the user. The backend component is a Windows service called Windows Backup. This service runs independent of user sessions and can perform scheduled backups even when no users have logged onto the system. Scheduled backups, by default, run every Sunday at 7 P.M. [5]

During a backup, Windows uses the Volume Shadow Copy Service (VSS) to ensure that files are not changed while they are being backed up. [13] VSS ensures both file system-level consistency and app-level consistency for apps registered as VSS writers. In Windows Vista and Windows 7, another Windows component called System Restore also uses VSS. As such, System Restore can use shadow copies that Backup and Restore created during a full system backup. [14]

As mentioned above, Backup and Restore is merely a frontend. Windows ships with an alternative frontend for Windows Backup, the WBAdmin command-line utility. Only a member of the Administrators groups or the Backup Operators group can run WBAdmin.

Edition comparison

The Home Basic edition of Windows can perform manual file backups. The Home Premium and later editions can automate file backups, create file backups on network locations, create backup schedules, and perform incremental backups of files. The Professional, Business, Enterprise, and Ultimate editions support both the system image and Shadow Copy. [15] The user interface of Complete PC Backup in Windows Vista does not support creating a system image to a network location; however, the WBAdmin command can perform this operation. Unlike Windows Vista Home Premium, [15] however, backing up files to a network share is not available in Windows 7 Home Premium. [16] [17] Windows 7 provides a user interface option to create a system image to a network location.

Comparison of the Backup and Restore features across Windows Vista and Windows 7 editions [15] [16] [17]
FeaturesEditions
StarterHome BasicHome PremiumOther editions
File and folder backup NoYesYesYes
System image NoNo7 onlyYes
SchedulingNoNoYesYes
Store backups on a network locationNoNoVista onlyYes
Incremental backup NoNoYesYes
Shadow Copy NoNoNoYes

Deprecation

With the release of Windows 8, Microsoft deprecated Backup and Restore in favor the new File History feature. Microsoft cited low use as the contributing factor for its deprecation, though the company retained all of its functionality for users who relied on it; the feature was moved to a Windows 7 File Recovery Control Panel applet and all previous points of access were removed. [18] In Windows 8.1, all interface functionality—with the exception of system image creation, which is in a System Image Backup option in File History—were removed. [19] Scheduling system image backups is not supported either. WBAdmin, however, remained available. [20] (As mentioned above, both Backup and Restore, and WBAdmin are merely frontends for the Windows Backup service.) With the release of Windows 10, the Backup and Restore (Windows 7) Control Panel applet was made available again.

File History remains the default and preferred method to back up local content in Windows 10. [21] For the system image functionality, Microsoft recommends using third-party software. [22]

Related Research Articles

New Technology File System (NTFS) is a proprietary journaling file system developed by Microsoft. Starting with Windows NT 3.1, it is the default file system of the Windows NT family. It superseded File Allocation Table (FAT) as the preferred filesystem on Windows and is supported in Linux and BSD as well. NTFS reading and writing support is provided using a free and open-source kernel implementation known as NTFS3 in Linux and the NTFS-3G driver in BSD. By using the convert command, Windows can convert FAT32/16/12 into NTFS without the need to rewrite all files. NTFS uses several files typically hidden from the user to store metadata about other files stored on the drive which can help improve speed and performance when reading data. Unlike FAT and High Performance File System (HPFS), NTFS supports access control lists (ACLs), filesystem encryption, transparent compression, sparse files and file system journaling. NTFS also supports shadow copy to allow backups of a system while it is running, but the functionality of the shadow copies varies between different versions of Windows.

Virtual PC is an x86 emulator for PowerPC Mac hosts and a virtualization app for Microsoft Windows hosts. It was created by Connectix in 1997 and acquired by Microsoft in 2003. The Mac version was discontinued in 2006 following the Mac transition to Intel, while the Windows version was discontinued in 2011 in favour of Hyper-V.

The Encrypting File System (EFS) on Microsoft Windows is a feature introduced in version 3.0 of NTFS that provides filesystem-level encryption. The technology enables files to be transparently encrypted to protect confidential data from attackers with physical access to the computer.

<span class="mw-page-title-main">Ghost (disk utility)</span>

Ghost is a disk cloning and backup tool originally developed by Murray Haszard in 1995 for Binary Research. The technology was acquired in 1998 by Symantec.

Bare-metal restore is a technique in the field of data recovery and restoration where the backed up data is available in a form that allows one to restore a computer system from "bare metal", i.e. without any requirements as to previously installed software or operating system.

<span class="mw-page-title-main">Shadow Copy</span> Microsoft technology for storage snapshots

Shadow Copy is a technology included in Microsoft Windows that can create backup copies or snapshots of computer files or volumes, even when they are in use. It is implemented as a Windows service called the Volume Shadow Copy service. A software VSS provider service is also included as part of Windows to be used by Windows applications. Shadow Copy technology requires either the Windows NTFS or ReFS filesystems in order to create and store shadow copies. Shadow Copies can be created on local and external volumes by any Windows component that uses this technology, such as when creating a scheduled Windows Backup or automatic System Restore point.

<span class="mw-page-title-main">System Restore</span> System recovery feature in Microsoft Windows

System Restore is a feature in Microsoft Windows that allows the user to revert their computer's state to that of a previous point in time, which can be used to recover from system malfunctions or other problems. First included in Windows Me, it has been included in all following desktop versions of Windows released since, excluding Windows Server. In Windows 10, System Restore is turned off by default and must be enabled by users in order to function. This does not affect personal files such as documents, music, pictures, and videos.

<span class="mw-page-title-main">Windows Server 2008</span> Fourth version of Windows Server, released in 2008

Windows Server 2008, codenamed "Longhorn Server", is the fourth release of the Windows Server operating system produced by Microsoft as part of the Windows NT family of the operating systems. It was released to manufacturing on February 4, 2008, and generally to retail on February 27, 2008. Derived from Windows Vista, Windows Server 2008 is the successor of Windows Server 2003 and the predecessor to Windows Server 2008 R2.

The Windows Imaging Format (WIM) is a file-based disk image format. It was developed by Microsoft to help deploy Windows Vista and subsequent versions of the Windows operating system family, as well as Windows Fundamentals for Legacy PCs.

Windows Vista introduced a number of new I/O functions to the Microsoft Windows line of operating systems. They are intended to shorten the time taken to boot the system, improve the responsiveness of the system, and improve the reliability of data storage.

Robocopy, for "Robust File Copy", is a command-line directory and/or file replication command for Microsoft Windows. Robocopy functionally replaces Xcopy, with more options. Created by Kevin Allen and first released as part of the Windows NT 4.0 Resource Kit, it has been a standard feature of Windows since Windows Vista and Windows Server 2008. The command is robocopy.

<span class="mw-page-title-main">Windows Home Server</span> Home server operating system by Microsoft released in 2007

Windows Home Server is a home server operating system from Microsoft. It was announced on 7 January 2007 at the Consumer Electronics Show by Bill Gates, released to manufacturing on 16 July 2007 and officially released on 4 November 2007.

NTBackup is the built-in backup application introduced in Windows NT 3.51 and included in Windows NT 4.0, Windows 2000, Windows XP, and Windows Server 2003. NTBackup comprises a command-line utility and a set of wizard interfaces that provide multiple options to create, customize, and manage backups, and it is integrated with Shadow Copy and Task Scheduler. NTBackup creates backups in a proprietary BKF file format to external sources including floppy disks, hard drives, tape drives, and ZIP drives.

Windows Vista contains a range of new technologies and features that are intended to help network administrators and power users better manage their systems. Notable changes include a complete replacement of both the Windows Setup and the Windows startup processes, completely rewritten deployment mechanisms, new diagnostic and health monitoring tools such as random access memory diagnostic program, support for per-application Remote Desktop sessions, a completely new Task Scheduler, and a range of new Group Policy settings covering many of the features new to Windows Vista. Subsystem for UNIX Applications, which provides a POSIX-compatible environment is also introduced.

VHD and its successor VHDX are file formats representing a virtual hard disk drive (HDD). They may contain what is found on a physical HDD, such as disk partitions and a file system, which in turn can contain files and folders. They are typically used as the hard disk of a virtual machine, are built into modern versions of Windows, and are the native file format for Microsoft's hypervisor, Hyper-V.

Windows Assessment and Deployment Kit, formerly Windows Automated Installation Kit, is a collection of tools and technologies produced by Microsoft designed to help deploy Microsoft Windows operating system images to target computers or to a virtual hard disk image in VHD format. It was first introduced with Windows Vista. WAIK is a required component of Microsoft Deployment Toolkit.

diskpart Command line program

In computing, diskpart is a command-line disk partitioning utility included in Windows 2000 and later Microsoft operating systems, replacing its predecessor, fdisk. The command is also available in ReactOS.

In computing, WBAdmin is a command-line utility built into Windows Vista, Windows Server 2008, Windows 7, Windows Server 2008 R2, Windows 8, Windows Server 2012, Windows 10 and Windows 11 operating systems. The command is used to perform backups and restores of operating systems, drive volumes, computer files, folders, and applications from a command-line interface.

References

  1. "Backup and Restore". Microsoft. Archived from the original on 8 June 2011. Retrieved 19 May 2011.
  2. "Windows Vista features - security and safety". Microsoft. Archived from the original on 8 June 2011. Retrieved 19 May 2011.
  3. Shultz, Greg (25 April 2007). "Back up your files with Vista's Back Up Files wizard". TechRepublic . CBS Interactive . Retrieved 9 January 2021.
  4. 1 2 "File Backup in Windows Vista FAQ". TechNet Blogs (The Storage Team at Microsoft – File Cabinet Blog). Microsoft. 6 November 2006. Archived from the original on 10 February 2007. Retrieved 9 January 2021.
  5. 1 2 3 4 "Tip: Create and Use Backups Using the Backup and Restore Center". TechNet Magazine . Microsoft. 1 August 2016. Retrieved 9 January 2021.
  6. Back up... programs, system settings, and files (Windows 7).
  7. 1 2 3 "Create and Use a Virtual Hard Disk on Windows 7". Microsoft.
  8. 1 2 Bott, Ed; Siechert, Carl; Stinson, Craig (2009). "Chapter 11: Backup and Restore" (PDF). Windows 7 Inside Out. Microsoft Corporation. Creating a System Image Backup. ISBN   978-0-7356-2665-2 . Retrieved 9 May 2011.
  9. Fok, Christine (10 March 2008). "What's new with backup and Restore on Vista SP1". The Storage Team at Microsoft – File Cabinet Blog. Microsoft Corporation. TechNet Blogs. Retrieved 19 May 2011.
  10. Sneha (25 August 2009). "Backup destination subfolder selection". Windows 7 IT Pro Forums (TechNet). Microsoft. Archived from the original on 15 October 2010. Retrieved 23 December 2011. Right now, backup does not support backing up to a sub folder of a volume. [...] However, this should not stop you from running backups of multiple computers to a device since every backup creates a <<MachineName>> folder and runs <<MachineName>> machine's backups to it.
  11. Stevenson, Dan (23 March 2006). "Backup And Restore in Windows Vista And Windows Server Longhorn" (Microsoft PowerPoint). WinHEC 2006. Microsoft Corporation. Archived from the original on 5 June 2011. Retrieved 19 May 2011.
  12. Srivastava, Abhinav (29 October 2009). "Backup fails with error code 2155348010 Windows Backup Forums". TechNet Forums. Microsoft. Archived from the original on 10 June 2011. Retrieved 10 June 2011. The issue is that the Samsung drive has a 4096 byte sector size. Windows server[ sic ] backup is not designed to run on such disks. We will try and address this issue in a future release. However, some disks with 4096 byte sector size do support and emulation mode for 512 byte sector. [...] If 512 sector size emulation can be enabled then windows backup[ sic ] will be able to use this disk.
  13. "Overview of Processing a Backup Under VSS". Microsoft Developer Network (MSDN).
  14. Fok, Christine (September 2007). "A Guide to Windows Vista Backup Technologies". TechNet Magazine . Microsoft . Retrieved 19 May 2011. Shadow copies created during File Backup and Complete PC Backup can also be used as restore points.
  15. 1 2 3 "Windows Vista Product Guide — Revisions" (PDF). Microsoft. Archived from the original (PDF) on 31 January 2009. Retrieved 25 October 2019.
  16. 1 2 "Compare Windows – Windows 7 Editions". Microsoft. Archived from the original on 19 May 2011. Retrieved 19 May 2011. In addition to full-system Backup and Restore found in all editions, you can back up to a home or business network.
  17. 1 2 Li, Arthur (28 October 2009). "Windows 7 Home Premium network backup". TechNet Forums. Microsoft. Archived from the original on 3 December 2011. Retrieved 3 December 2011. Frankomali: I had this capability in Vista, and just lost it when I paid for and applied the "upgrade" to Windows 7. Arthur Li: Yes, this is the truth. Windows 7 Home Premium does not support to backup to a network location.
  18. "Windows 7 Backup and Restore deprecated". MSDN . Microsoft . Retrieved 8 January 2021.
  19. Mayer, Keith (17 September 2013). "Backup and Recovery of Windows 8 & Windows 8.1 – Tip-of-the-Day". TechNet . Microsoft. Archived from the original on 7 December 2015.
  20. Andersen, Ed (15 September 2013). "Windows 8.1's user-hostile backup story". edandersen.com. Self-published . Retrieved 7 January 2021.
  21. Thurrott, Paul (23 June 2015). "Windows 10 Feature Focus: Backup and Recovery". thurrott.com. Self-published . Retrieved 8 January 2021.
  22. "Windows 10 features we're no longer developing". microsoft.com. Microsoft. Retrieved 5 February 2020.