What Are Shadow Copies? Mow to Configure Shadow Copies on the Server Previous Versions Client Software for Shadow Copies How to View Previous Versions of Client Software Shadow Copy Scheduling Hawta Schedule Shadow Copies Whait Is Restoring Shadow Copies? How to Restore a Previous Version * Best Practices for Using Shadow Copies
Introduction In Windows Server 2003, you can use Shadow Copies of Shared Folders as a data recovery tool. You can use shadow copies to view and restore shared files and folders as they existed at previous points in time.
Lesson objectives After completing this lesson, you will be able to:
■ Explain shadow copies.
■ Configure a shadow copy.
■ Describe the Previous Versions client software for shadow copies.
■ View previous versions of client software.
■ Explain scheduling shadow copies.
■ Create a shadow copy schedule.
■ Explain restoring shadow copies.
■ Restore a previous version.
■ Explain best practices for using shadow copies.
What Are Shadow Copies?
* Views the read-only contents of network folders as they existed at various points of time
Rsucverfiles ttiai were accidentally delated Recover files lh,T were accidentally overwritten A low version-checking while working on documents Is enabled on a per volume basis, not on specific shares I s not a repi acem a h t fa r re-g lH a r bac kups
* When storage limits are reached, the oldest shadow copy is deleted and cannot be retrieved
* To change the storage volume, delete die shadow copies first
Definition A shadow copy is a feature of the Windows Server 2003 family that provides point-in-time, read-only copies of files on network shares. With Shadow Copies of Shared Folders, you can view the contents of network folders as they existed at various points in time. To view Shadow Copies of Shared Folders, you must install the client software.
Shadow copy scenarios You can use shadow copies in the following three scenarios:
■ Recover files that were accidentally deleted.
This scenario is the network equivalent of a short-term local backup and restore. If a user accidentally deletes a file, the user can open a previous version of the file and copy it to a safe location.
■ Recover files that were accidentally overwritten.
Shadow Copies of Shared Folders can be very useful in environments where new files are commonly created by opening an existing file, making modifications, and then saving the file with a new name. For example, you might open a financial modeling spreadsheet, make modifications based upon new assumptions, and then save the spreadsheet with a new name to create a new spreadsheet. The problem arises when you forget to save the file by using a new name, thereby erasing the original work. You can use Shadow Copies of Shared Folders to recover the previous version of the file.
■ Allow version-checking while working on documents.
You can use Shadow Copies of Shared Folders during the normal work cycle to check the differences between two versions of a file. For example, you might want to know "What did this paragraph say this morning before I started to rewrite it?"
Shadow copy The following characteristics apply to shadow copies:
Configuring shadow copies is not a replacement for creating regular backups.
Shadow copies are read-only. You cannot edit the contents of a shadow copy.
Shadow copies are enabled on a per volume basis. You cannot enable shadow copies on specific shared resources.
After shadow copies are enabled on a volume, shadow copies are enabled for all shared folders on that volume.
Shadow copies storage The minimum amount of storage space for shadow copies is 100 megabytes
(MB). The default maximum storage size is 10 percent of the source volume or the volume being copied, but you can change the maximum size at any time. When the storage limit is reached, the oldest versions of the shadow copies are deleted and cannot be restored.
Allocate storage space When determining the amount of space to allocate for storing shadow copies, you must consider both the number and size of files that are being copied, as well as the number of times that the shadow copies are to be copied to the disk.
Store shadow copies on You can also store shadow copies on a different storage volume. However, a different vo|ume changing the storage volume deletes the shadow copies. To avoid this problem, verify that the storage volume that you initially select is large enough to handle your growing business needs.
Note For more information about shadow copies, go to the Microsoft Technet Services Web site at http://www.microsoft.com/windowsserver2003/docs /VolumeShadowCopyService.swf.
How to Configure Shadow Copies on the Server
Vour instructor will demonstrate how to configure shadow copies on the server
Introduction By default, shadow copies are disabled. You can enable shadow copies on the server by completing the following steps, but shadow copies is not enabled on the client computer until the client software for shadow copies is installed on the client computer.
Before you deploy Shadow Copies of Shared Folders, it is recommended that you create a plan that specifies the location and storage limits of the shadow copies. The default storage size is 10 percent of the source volume.
Procedure To configure shadow copies:
1. In Computer Management (Local), in the console tree, right-click Shared Folders, point to All Tasks, and then click Configure Shadow Copies.
2. Select the volume where you want to enable Shadow Copies of Shared Folders, click Enable, and then click Yes when prompted to enable shadow copies.
Previous Versions Client Software for Shadow Copies
Previous Versions client software for Shadow Copies of Shared Folders Is Installed oh ttie server
%Ey5"jemraot%\Ey5tem32te ients\twclisnt\x86 directory
Place the client software on a shared resource and send an e-mail with instructions on haw to dovunload and use
* Client view of shadow copies
Use if users work with fiies that are located in shared folders on your refworlt
Use to access previous versions of files
Previous versions on client computers
Locations of shadow copy views
Before users can use and access shadow copies, they must install the client software for shadow copies. The client software allows users to access previous versions of their files and folders from a shared folder.
Shadow copies are copies of files that are located on the server and appear as previous versions on the client computers. Shadow copies can be used on both servers and clients to view and locate previous versions of files. Both views are created by the systems administrator.
The locations of the shadow copies for both views are as follows:
■ The server portion of Shadow Copies of Shared Folders is located on the Shadow Copies tab of the Local Disk Properties dialog box.
■ The client view of the shadow copies is referred to as Previous Versions and is located in the Properties dialog box of the shared folder.
The client software for shadow copies is installed on the server in the %systemroot%\system32\clients\twclient\x86 directory. You can distribute the client software in a variety of ways; consider the various options before deployment. Windows Server 2003 provides several tools, such as Group Policy, that can make deploying and maintaining the client software easier.
Alert users It is recommended that you place the client software on a shared resource and then send an e-mail message to users that describes the function of the software and how to install it.
For example, you may want to inform users that:
■ A new feature, Previous Versions, is enabled on the following file server:
■ Files are scheduled to be copied at 7:00 A.M. and noon, Monday through Friday. Remember that these are copies of the files as they exist at these times and do not reflect any changes that are made to the files after these times.
■ Saving your work frequently is still the best way to ensure that your work is not lost.
■ To install the software, go to \\server\sharedresource and double-click twclient.msi.
Helps recover files for users
Accessing previous versions of files is useful because you can:
Recover files that were accidentally deleted. If you accidentally delete a file, you can open a previous version and copy it to a safe location.
■ Recover files that were accidentally overwritten. If you accidentally overwrite a file, you can recover a previous version of the file.
Compare versions of file while working. You can use previous versions when you want to check what has changed between two versions of a file.
Other distribution methods
You can use Group Policy to install the client software for shadow copies.
Note For more information about installing software using Group Policy, see Course 2279, Planning, Implementing, and Maintaining a Microsoft Windows Server 2003 Active Directory Infrastructure.
How to View Previous Versions of Client Software
Your instructor will demonstrate how to:
Install tiie client software for shadow copies View Previous Versions
Procedure for installing Previous Versions client software
Before a user can view a previous version of a file or folder, you must install the client software for shadow copies on the user's computer. Use the following procedures to install the client software and view the previous versions.
To install client software for shadow copies on a client computer:
1. On the command line, type \windows\system32\clients\twclient\x86\twcli32.msi and then press ENTER.
2. In the Previous Versions Client Setup Wizard, click Finish.
To view the previous version of a file or folder:
1. On the Start menu, click Run.
2. In the Run dialog box, type \\Computername\Share (where Computername is the name of the server hosting shadow copies).
3. Right-click any file or folder, and then click Properties.
4. Click the Previous Versions tab.
Shadow Copy Scheduling
Default shadow cop/ schedule is am and noon Create a shadow copy schedule based on:
Do moat wo;kera work in the samE time znne?
Does yoir organization need mane :hen Ihe default of twc Ehgdauj copies daily'i
How often can acdilioral coaies hs made before addit oral storage I be nsfiiedl
Deploy a ^cficdn'c and best it on a small group ifmfj'Lt«'!
r,vaiE i£#fw : n-TÏWi ? en M ■ n/imt li-Ei« ■fl/i/MB : « lu BauakE IKEUM , tW/fflKsflm
r,vaiE i£#fw : n-TÏWi ? en M ■ n/imt li-Ei« ■fl/i/MB : « lu BauakE IKEUM , tW/fflKsflm
Introduction When you enable Shadow Copies of Shared Folders, a default schedule is also created. Although this schedule may work for your organization, evaluate the work habits of your users before you use the default schedule.
When you create a shadow copy schedule, consider the location of your users. The default schedule is 7:00 A.M. and noon, daily. If users are located across multiple time zones, you probably need to create more than the default of two shadow copies per day.
If you increase the number of scheduled shadow copies, consider how often copies can be added without requiring additional storage. Before deploying Shadow Copies of Shared Folders, it is recommended that you create a plan that specifies where to store the shadow copies and what the storage limits are. You can store up to 64 shadow copies per volume. When this limit is reached, the oldest shadow copy is deleted and cannot be retrieved.
You may want to create an initial schedule and deploy it for a small group to test whether your schedule creates enough shadow copies while staying within your storage limits. Also, consider asking your users about their work habits and when they think that a shadow copy would be beneficial. For example, knowing that they make most of their errors in the late afternoon or first thing in the morning can help you determine the best schedule for your specific users.
Create a shadow copy schedule
Scenario You have enabled Shadow Copies for Shared Folders on all file servers and are using the default schedule. Your organization has a flexible schedule that allows employees to work any time between 8:00 A.M. and 6:00 P.M., as long as they work 8 hours a day. Many users create files between noon and 6:00 P.M.
Question: Are these files protected by shadow copies if users save them every hour?
Answer: The files of users who modify and save their files between noon and 6:00 P.M. are not saved by shadow copies until 7:00 A.M. the next day. To protect their files, set up a schedule to create shadow copies of their files every hour from 8:00 A.M. to 6:00 P.M. every weekday. Depending on storage limits, this schedule provides the users with up to five days of shadow copies.
How to Schedule Shadow Copies
Vour Instructor will demonstrate how to schedule shadow copies
Introduction You can create a shadow copy schedule to automatically provide copies of files as they appear at various points of time. You can use shadow copies as another option for providing a backup of files that you can to recover from data loss.
Procedure To create a shadow copy schedule:
1. In Computer Management, in the console tree, right-click Shared Folders, point to All Tasks, and then click Configure Shadow Copies.
2. Under Select a volume, click the volume for which you want to create a schedule, and then click Settings.
3. In the Settings dialog box, click Schedule, and then change the settings as appropriate.
What Is Restoring Shadow Copies?
Shadow copies are restored using previous versions of files and folders
No previous versions are listed
The file has n ot ch anged sin ce the oldest copy was made
Restoring a previous vaision ola folder
Shadow copies deletes the current version
Restoring a file
File permissions are not changed
The Previous Versions tab does not appear in Properties
Shadow copies may not be enabled
Copying a file
File permissions are set to default
After you create a shadow copy, you can use it to restore shared files and folders to a previous version.
Note You can only restore a shadow copy from a client.
If no previous versions are listed on the Previous Versions tab, the file has not changed since the oldest copy was made.
When you restore a previous version of a folder, files in the current folder that were not in the previous version of the folder are overwritten. If you do not want to delete the current version, use Copy to copy the previous version to a different location.
For example, the current version of a folder contains files A, B, and C. The previous version of the folder contained only files A and B. After you restore the previous version, the folder contains the previous version of file A, the previous version of file B, and the current version of file C.
When you restore a file, the file permissions are not changed. Permissions remain the same as they were before you restored the file. When you copy a previous version of a file, the permissions are set to the default permissions for the directory where the copy of the file is placed.
Restoring a previous version overwrites the current version. If you restore a previous version of a folder, the folder is restored to its state at the date and time that you selected. Any changes that you made to files in the folder before that time are lost.
Restored files and folders using previous versions
Example of a previous version folder
File permissions are not changed
Restoring overwrites the current version
How to Restore a Previous Version
Your instructor will demonstrate how to restore s previous version
Introduction You can restore data from previous versions of files and folders, assuming that the client software is installed on a computer running Windows XP (client) or Windows Server 2003, and you configured the volumes for which you want to create shadow copies.
Procedure To restore shadow copies:
1. In Windows Explorer, locate the file or folder that you want to restore, right-click the icon, and then click Properties.
2. In the Properties dialog box, on the Previous Versions tab, select the version that you want to restore, and then click Restore.
Practice: Configuring Shadow Copies
In this practice-, you will. Configure shadow copies Install Previous Versions client software Restore previous versions
Was this article helpful?