Windows server 2003 shadow copy settings




















Keep in mind that VSS can only be enabled at the volume level. You can not control VSS at the disk level or at the folder or share level. You could just click the Enable button to enable shadow copies on the selected volume, but I recommend clicking Settings instead.

This allows you to configure the shadow copy behavior. Besides, as disk space starts to run low, Windows will automatically delete older shadow copies to make room for new data. Another feature of the Settings dialog box is the schedule.

By default, Windows schedules shadow copies to be made twice a day. When you are done setting up the configuration options, just click OK and then click Enable to enable VSS on the selected volume.

Enabling VSS is only half of the battle. The other thing that you must do is to configure your workstations so that they can access the shadow copy files. MSI program found in this folder. Running this file launches the Previous Version Client Setup wizard. Now suppose that a user needed to restore a previous version of a file.

To do so, they would need to right click on the file and select the Properties command from the resulting shortcut menu. Keep in mind that previous versions arte not automatically created every time that the file changes, but rather every time that a scheduled or manual shadow copy runs and detects a version change.

If there are previous versions available, they will be displayed as shown in Figure C. Figure C: This is how a user would restore a previous version of a file. To make the restoration, a user needs only to select the previous version and click Restore. The restored version will be in Read Only format though. The Read Only attribute is assigned as a way of protecting the file against unwanted changes. As you can see, VSS is not an alternative to a normal, nightly backup of the system.

It is however a handy way to allow users to restore accidentally deleted or modified files without involving you. Brien Posey is a freelance technology author and speaker with over two decades of IT experience. Each writer creates an XML description of the components and data stores that need to be backed up and provides it to the Volume Shadow Copy Service.

The writer also defines a restore method, which is used for all components. The Volume Shadow Copy Service provides the writer's description to the requester, which selects the components that will be backed up. The Volume Shadow Copy Service notifies all the writers to prepare their data for making a shadow copy. Each writer prepares the data as appropriate, such as completing all open transactions, rolling transaction logs, and flushing caches.

When the data is ready to be shadow-copied, the writer notifies the Volume Shadow Copy Service. The application freeze is not allowed to take longer than 60 seconds.

The Volume Shadow Copy Service flushes the file system buffers and then freezes the file system, which ensures that the file system metadata is recorded correctly and the data to be shadow-copied is written in a consistent order. The Volume Shadow Copy Service tells the provider to create the shadow copy.

At this point applications are free to resume writing data to the disk that is being shadow-copied. The shadow copy creation can be aborted if the writers are kept in the freeze state for longer than 60 seconds or if the providers take longer than 10 seconds to commit the shadow copy. The requester can retry the process go back to step 1 or notify the administrator to retry at a later time.

If the shadow copy is successfully created, the Volume Shadow Copy Service returns the location information for the shadow copy to the requester. In some cases, the shadow copy can be temporarily made available as a read-write volume so that VSS and one or more applications can alter the contents of the shadow copy before the shadow copy is finished.

After VSS and the applications make their alterations, the shadow copy is made read-only. This phase is called Auto-recovery, and it is used to undo any file-system or application transactions on the shadow copy volume that were not completed before the shadow copy was created.

A hardware or software shadow copy provider uses one of the following methods for creating a shadow copy:. Complete copy This method makes a complete copy called a "full copy" or "clone" of the original volume at a given point in time. This copy is read-only. Copy-on-write This method does not copy the original volume.

Redirect-on-write This method does not copy the original volume, and it does not make any changes to the original volume after a given point in time. Instead, it makes a differential copy by redirecting all changes to a different volume. After the mirror connection is broken, the original volume and the shadow copy volume are independent. The shadow copy storage area can be on the same volume or a different volume.

This preserves a copy of the data block on the original volume before the change overwrites it. The copy-on-write method is a quick method for creating a shadow copy, because it copies only data that is changed. The copied blocks in the diff area can be combined with the changed data on the original volume to restore the volume to its state before any of the changes were made.

If there are many changes, the copy-on-write method can become expensive. Instead, the change is written to another volume's shadow copy storage area.

Like the copy-on-write method, the redirect-on-write method is a quick method for creating a shadow copy, because it copies only changes to the data. The copied blocks in the diff area can be combined with the unchanged data on the original volume to create a complete, up-to-date copy of the data.

There are two types of shadow copy providers: hardware-based providers and software-based providers. There is also a system provider, which is a software provider that is built in to the Windows operating system. Hardware-based shadow copy providers act as an interface between the Volume Shadow Copy Service and the hardware level by working in conjunction with a hardware storage adapter or controller.

The work of creating and maintaining the shadow copy is performed by the storage array. Hardware providers always take the shadow copy of an entire LUN, but the Volume Shadow Copy Service only exposes the shadow copy of the volume or volumes that were requested. A hardware-based shadow copy provider makes use of the Volume Shadow Copy Service functionality that defines the point in time, allows data synchronization, manages the shadow copy, and provides a common interface with backup applications.

However, the Volume Shadow Copy Service does not specify the underlying mechanism by which the hardware-based provider produces and maintains shadow copies. These providers are implemented as a user-mode DLL component and at least one kernel-mode device driver, typically a storage filter driver.

Unlike hardware-based providers, software-based providers create shadow copies at the software level, not the hardware level. A software-based shadow copy provider must maintain a "point-in-time" view of a volume by having access to a data set that can be used to re-create volume status before the shadow copy creation time.

An example is the copy-on-write technique of the system provider. However, the Volume Shadow Copy Service places no restrictions on what technique the software-based providers use to create and maintain shadow copies.

A software provider is applicable to a wider range of storage platforms than a hardware-based provider, and it should work with basic disks or logical volumes equally well. A logical volume is a volume that is created by combining free space from two or more disks. In contrast to hardware shadow copies, software providers consume operating system resources to maintain the shadow copy.

One shadow copy provider, the system provider, is supplied in the Windows operating system. Although a default provider is supplied in Windows, other vendors are free to supply implementations that are optimized for their storage hardware and software applications. To maintain the "point-in-time" view of a volume that is contained in a shadow copy, the system provider uses a copy-on-write technique. Copies of the blocks on volume that have been modified since the beginning of the shadow copy creation are stored in a shadow copy storage area.

The system provider can expose the production volume, which can be written to and read from normally. When the shadow copy is needed, it logically applies the differences to data on the production volume to expose the complete shadow copy. For the system provider, the shadow copy storage area must be on an NTFS volume.

The Windows operating system includes a set of VSS writers that are responsible for enumerating the data that is required by various Windows features. In addition to backing up application data and system state information, shadow copies can be used for a number of purposes, including the following:. This is a fast-recovery scheme that allows an application administrator to restore data from a shadow copy to the original LUN or to a new LUN.

The shadow copy can be a full clone or a differential shadow copy.



0コメント

  • 1000 / 1000