Simplify File Recovery with Volume Shadow Copy Service
http://www.enterprisenetworkingplanet.com/netsysm/article.php/3429891/Simplify-File-Recovery-with-Volume-Shadow-Copy-Service.htm
As an administrator, how often have you had to restore a single file for a user who has deleted a file by mistake? How often have you had to restore a single file because a user has saved a new version of a file over the old one before realizing that they didn't want to save changes? If the environments you work in are similar to mine, the answer to these questions is "too often."
The answer to this problem of restoring files is addressed, to some degree, by a tool in Windows Server 2003 called the Volume Shadow Copy Service (VSS). VSS works by making periodic copies of files from shared folders, and then storing those copies for later retrieval. Files are stamped with the date and time when they were copied, so it's easy to figure out what file you should recover if the need arises. 'Shadow' copies of the files are stored until the amount of space taken up by the files reaches a certain threshold (which you can configure). At that point, the files are deleted on an age basis from oldest to newest. Prudent use of VSS can reduce the amount of time it takes to restore files, as well as providing another line of defense against potentially damaging loss of data.
Enabling Volume Shadow Copy
The process of enabling VSS is straightforward. First, while logged on as Administrator, click Start, My Computer and then locate the drive on which you want to enable VSS. Right-click the icon for the drive, and select properties. Then, click the Shadow Copies tab. You will the see the screen shown in Figure 1. Note that VSS only works on drives formatted with NTFS.
![]() |
(Click for a larger image) |
Anyway, back to the process. Before enabling VSS, it is worth first looking at and understanding the configuration options associated with the feature. You can see the settings for VSS by clicking on the Settings button, found on the Shadow Copies tab. The Settings screen is shown in Figure 2.
![]() |
(Click for a larger image) |
You can also configure how much space can be used by the VSS process. The minimum requirement is 100MB, but the amount of space you need to allocate depends on the size and amount of files you want to provide shadow copy service to, and how far back you want to go in terms of copies. VSS supports a maximum of 64 versions. There are really no guidelines to determine the appropriate amount of required disk space, but figure that keeping a large number of large files for a considerable length of time will take a significant amount of space. Of course the converse applies too.
Another thing that will dictate the amount of space required for shadow copies is the frequency at which copies are taken. In the default configuration, a copy is taken at 7:00 a.m. and 12:00 p.m. on all weekdays, but no copies are created on weekends. This schedule is completely configurable and can be accessed by clicking the Schedule button. Again, before doing something drastic like enabling copies to be taken on every hour of every day, consider just how much disk space you will need to accommodate the files. Also consider how much processing burden will be placed on the server each time it creates a shadow copy. If the files are big and many, there may be a noticeable impact on performance.
![]() |
(Click for a larger image) |
That's all there is to it. You have now enabled Volume Shadow Copy. Next, you'll need to access the files created by the process. We will look at the process of doing this in Part Two of this article. Until then!