Software:Backup and Restore

From HandWiki
Short description: Primary backup component of Windows Vista and Windows 7
Backup and Restore
Backup center icon.png
Backup and Restore in Windows 7.png
Backup and Restore in Windows 7
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; 17 years ago (2006-11-30)
Included withWindows Vista and later
PredecessorNTBackup
SuccessorFile History
Service nameWindows Backup (SDRSVC)
TypeBackup 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.

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]
Features Editions
Starter Home Basic Home Premium Other editions
No Yes Yes Yes
No No 7 only Yes
Scheduling No No Yes Yes
Store backups on a network location No No Vista only Yes
Incremental backup No No Yes Yes
Shadow Copy No No No Yes

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]

References

  1. "Backup and Restore". Microsoft. http://windows.microsoft.com/en-US/windows7/products/features/backup-and-restore. 
  2. "Windows Vista features - security and safety". Microsoft. http://windows.microsoft.com/en-US/windows-vista/products/features/security-safety. 
  3. Shultz, Greg (April 25, 2007). "Back up your files with Vista's Back Up Files wizard". TechRepublic. CBS Interactive. https://www.techrepublic.com/article/back-up-your-files-with-vistas-back-up-files-wizard/. 
  4. 4.0 4.1 "File Backup in Windows Vista FAQ". TechNet Blogs (The Storage Team at Microsoft – File Cabinet Blog). Microsoft. November 6, 2006. http://blogs.technet.com/filecab/pages/file-backup-in-windows-vista-faq.aspx. 
  5. 5.0 5.1 5.2 5.3 "Tip: Create and Use Backups Using the Backup and Restore Center". TechNet Magazine (Microsoft). August 1, 2016. https://docs.microsoft.com/en-us/previous-versions/technet-magazine/ee872304(v=msdn.10). Retrieved January 9, 2021. 
  6. Back up... programs, system settings, and files (Windows 7).
  7. 7.0 7.1 7.2 "Create and Use a Virtual Hard Disk on Windows 7". Microsoft. https://technet.microsoft.com/en-us/magazine/ee872416.aspx. 
  8. 8.0 8.1 Bott, Ed; Siechert, Carl; Stinson, Craig (2009). "Chapter 11: Backup and Restore". Windows 7 Inside Out. Microsoft Corporation. Creating a System Image Backup. ISBN 978-0-7356-2665-2. http://download.microsoft.com/download/A/7/0/A704218A-B47C-4F2E-A318-22288DA1B801/626652_Win7InsideOut_Chapter_11.pdf. 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. TechNet Blogs (Microsoft Corporation). http://blogs.technet.com/filecab/archive/2008/03/10/what-s-new-with-backup-and-restore-on-vista-sp1.aspx. 
  10. Sneha (August 25, 2009). "Backup destination subfolder selection". Windows 7 IT Pro Forums (TechNet). Microsoft. http://social.technet.microsoft.com/Forums/en/w7itproui/thread/626b8ecf-e415-4fd8-95d7-fa02e4ad36f0. "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. http://download.microsoft.com/download/5/b/9/5b97017b-e28a-4bae-ba48-174cf47d23cd/BUS107_WH06.ppt. 
  12. Srivastava, Abhinav (October 29, 2009). "Backup fails with error code 2155348010 Windows Backup Forums". TechNet Forums. Microsoft. http://social.technet.microsoft.com/Forums/en-US/windowsbackup/thread/5d9e2f23-ee70-4d41-8bfc-c9c4068ee4e2. "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). https://msdn.microsoft.com/en-us/library/aa384589(v=VS.85).aspx. 
  14. Fok, Christine (September 2007). "A Guide to Windows Vista Backup Technologies". TechNet Magazine (Microsoft). https://technet.microsoft.com/en-us/magazine/2007.09.backup.aspx. Retrieved May 19, 2011. "Shadow copies created during File Backup and Complete PC Backup can also be used as restore points.". 
  15. 15.0 15.1 15.2 "Windows Vista Product Guide — Revisions". Microsoft. http://download.microsoft.com:80/download/8/4/f/84f00e29-10b8-4342-a102-f75100c8aa15/WVPG%20Revisions%20RTM.pdf. 
  16. 16.0 16.1 "Compare Windows – Windows 7 Editions". Microsoft. http://windows.microsoft.com/en-US/windows7/products/compare. "In addition to full-system Backup and Restore found in all editions, you can back up to a home or business network." 
  17. 17.0 17.1 Li, Arthur (October 28, 2009). "Windows 7 Home Premium network backup". TechNet Forums. Microsoft. http://social.technet.microsoft.com/Forums/en/w7itproinstall/thread/20e8e21f-c555-4d09-bc46-26cf9926d105. "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". Microsoft. https://msdn.microsoft.com/en-us/library/windows/desktop/hh848073(v=vs.85).aspx. 
  19. Mayer, Keith (September 17, 2013). "Backup and Recovery of Windows 8 & Windows 8.1 – Tip-of-the-Day". TechNet. Microsoft. http://blogs.technet.com/b/keithmayer/archive/2012/08/27/backup-amp-recovery-of-windows-8-windows8-itpro-tipoftheday.aspx. 
  20. Andersen, Ed (September 15, 2013). "Windows 8.1's user-hostile backup story". Self-published. http://www.edandersen.com/2013/09/15/windows-8-1s-user-hostile-backup-story/. 
  21. Thurrott, Paul (June 23, 2015). "Windows 10 Feature Focus: Backup and Recovery". Self-published. https://www.thurrott.com/windows/windows-10/4279/windows-10-feature-focus-backup-and-recovery. 
  22. "Windows 10 features we're no longer developing". Microsoft. https://docs.microsoft.com/en-us/windows/deployment/planning/windows-10-deprecated-features. 

External links