Windows IT Pro is the authoritative and independent resource for windows nt, windows 2000, windows 2003, windows xp. Features a collection of resources and magazines for windows IT professionals.
  
  
  Advanced Search 


April 2003

Volume Shadow Copy Service

Giving users the power to restore files
RSS
Subscribe to Windows IT Pro | See More Backup and Recovery Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

Microsoft Volume Shadow Copy Service (VSS) isn't sliced bread, but for file backup and restoring, it might be the next best thing. VSS, which ships with Windows Server 2003, creates a point-in-time copy of files stored in shared network folders—even files that are open or locked. Applications can continue to write data to the disk volume during the shadow copy process, which eliminates the need to perform backups before or after business hours. Additionally, a volume copy backup lets users perform file restores, minimizing administrative overhead for basic restore operations.

Configuring VSS is straightforward. Right-click the volume on which the network shares reside, then select Properties to open the configuration window. Click the Shadow Copies tab, then click the volume you want to back up. Click Enable to enable a shadow copy of all shares on the volume and create the first backup. Figure 1 shows the Shadow Copies tab with shadow copy enabled. On this tab, under Select a volume, you can see the next copy runtime, the number of shares on the volume, and the amount of disk space that the shadow copy function is using. Under Shadow copies of selected volume is a list of copies of the selected volume. To create additional copies, click Create Now. You can stop the shadow copy creation process by clicking Disable, but be aware that doing so deletes any copies you've already created.

To configure other VSS settings, click Settings on the Shadow Copies tab. On the Settings dialog box, which Figure 2 shows, you can configure the maximum disk space for the shadow copies. Click Schedule to specify when VSS runs. By default, VSS runs twice every weekday, at 7:00 a.m. and 12:00 p.m. Click Schedule to open the Schedule dialog box, in which you can view scheduled backup times and configure new backup times. Click New to add new backup times, click Delete to remove scheduled times, and click Advanced to configure advanced schedules. The scheduling feature of the VSS function allows granular control, but I recommend that you try to avoid scheduling copies more frequently than once per hour.

VSS can ease the administrative burden by transferring certain tasks to users, but to take advantage of this functionality, client software is required. This client software is the Previous Versions Client (twcli32.msi), which you can find on your Windows 2003 server in the windows\system32\clients\twclient\x86 folder. You can run the .msi file to install the client manually, or use Group Policy or a software deployment application such as Microsoft Systems Management Server (SMS) to push the client to your corporate workstations. The installation is simple and requires no additional configuration. To uninstall the client, simply run the .msi file again.

With the client installed, your users can access previous versions of files on network shares. To access previous versions of files, right-click the applicable network share and select Properties. Next, select the Previous Versions tab, as Figure 3 shows. From this tab, select a volume copy, then click View to see the contents of the backup. The backup file opens in a standard Windows Explorer window. You can then choose files you want to reinstate and copy them to the appropriate network share. You can also click Copy to copy the entire backup to another location, or click Restore to restore the entire network share backup.

The Previous Versions Client gives users with Modify permissions to a network share the power to restore deleted or older versions of their files without administrative intervention. However, this feature is a double-edged sword that requires user training to ensure proper use.

VSS doesn't eliminate the need for full and regular backups. This functionally provides richer backup capabilities and offers autonomy to end users but still requires a strong backup strategy to protect the data and system information on your server. Additional information about VSS is available in the Windows 2003 Help and Support files.

End of Article



Reader Comments
One interesting point is:
How much disk space does each shadow copy process take ?
If I have a volume of 100G will EVERY snapshot take 100GB ?

Thomas April 15, 2003


Can we use shadow copy only for particular share on a particular volume i.r. i dont want to shoadow copy and entire shared volume but only particular share on that volume

mangesh June 25, 2003


What about VSS for SQL Server databases? Does it handle database files that are online?

Dan Carollo March 10, 2004


Shadow copies are typically 10% of your used disk space. I've seen them grow as large as 20% but it all depends on usage.

Shadow Copies are only enabled at the volume level. You cannot restrict to just a single share.

As for SQL, I'm not entirely sure on that one. I don't believe you can use the Previous Versions client to recover a SQL database, but maybe someone can shed some light.

I know Exchange 2003 is a supported application, so when the shadow copy service is called, it asks Exchange to stop writing while the snapshot is taken. Again, with previous versions, I'm not sure if this is the case, but something like Veritas Storage Foundation that uses their own technology to perform snapshots actually leverages VSS in this manner.

drob8 January 29, 2005 (Article Rating: )


Hi, I Enable Shadow Copy, the firts time generate automaticly a copy but after no wants to make more copies. Have schudule 2 for day but nothing. Some Idea???

abdelcordero May 21, 2007 (Article Rating: )


You must log on before posting a comment.

If you don't have a username & password, please register now.




Top Viewed ArticlesView all articles
Friday at PASS Europe 2006

Kevin talks about the closing day of the event and shares a funny Microsoft film. ...

Escape From Yesterworld

Kevin points you to the funniest SQL Server website ever! ...

PsExec

This freeware utility lets you execute processes on a remote system and redirect output to the local system. ...


Windows OSs Whitepapers Why SaaS is the Right Solution for Log Management

Related Events Virtualization, Automation and Databases

Optimize your VMware Infrastructure with the New Releases from the Symantec Backup Exec Family

Virtualization Management

Check out our list of Free Email Newsletters!

Windows OSs eBooks Understanding and Leveraging Code Signing Technologies

A Guide to Windows Certification and Public Keys

SQL Server Administration for Oracle DBAs

Related Windows OSs Resources Become a VIP member of the Windows IT Pro community!
Get it all with the VIP CD and VIP access. A $500+ value for only $279!

Subscribe to Windows IT Pro!
Solve your toughest technical problems with our experts and access 10,000 + articles online. 30% off

Monthly Online Pass - Only $5.95!
Get instant access to 10,000+ articles from Windows IT Pro Magazine!

TechNet Virtual Labs
Evaluate and test Microsoft's newest products.


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro Windows Dev Pro IT Job Hound ITTV
IT Library Technology Resource Directory Connected Home Windows Excavator Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 Copyright © 2008 Penton Media, Inc., All rights reserved. Terms and Use | Privacy Statement | Reprints and Licensing