Windows Vista - Volume Shadow CopyWindows Vista - Volume Shadow CopyPeople laugh at me when I say: 'however big the hard disk - I always manage to fill it'. If you enable Vista's Volume Shadow Copy, I guarantee that you will soon see your free disk space drop. Vista comes with a trilogy of disaster recovery techniques, Backup, Restore Points and of course, Volume Shadow Copy. Imagine this situation: you are working with a spreadsheet, a PowerPoint Presentation, or even a report document, inexplicably you over-write a perfectly good file with gibberish or save a blank file. Here is where Volume Shadow Copy comes into its own; you can recover a previous version thanks to vssvc.exe (Volume Shadow Service). Topics for Volume Shadow Copy
Check the master VSS switchTo check that your Volume Shadow Service is active, visit the Control Panel. From there navigate to the System Properties and click on the System Protection tab. Examine the Available Disks and decide whether to leave the settings at their default, or whether to tick more drive letters.
How to Recover a Previous Version of Your DocumentThis Previous Version recovery is wonderful technology. It could not be easier.
In the unlikely event that this technique does not retrieve the document you wanted, return to the menu and select an older version.
Command Line - Investigate Volume Shadow Copy with vssadminOne common scenario is that you wish to check, and then reduce, the disk space that Volume Shadow copy consumes. By default, it appears that Vista allocates 15% of disk space to Volume Shadow copy. However, in the case of small disks, the shadows will not consume more than 30% of the available free disk space. Once this storage area is created, it does not dynamically shrink or grow, thus you need expertise with vssadmin if you want to reclaim some of the space held by Volume Shadow Copy. Let us investigate the command line program vssadmin, and see what's happening behind the scenes. The two crucial verbs are 'List' and 'Resize'. What I recommend is to launch a cmd prompt with *Administrative privileges, then try some of these commands:
Examples
And also * To gain Administrative privileges, right click the program and select 'Run As Administrator'. ˇ. Registry Settings to Exclude Files From Volume Shadow CopyIt is possible, even desirable, to exclude certain file types from the Volume Shadow copies. Temporary files are an obvious candidate; in addition, you could exclude whole folders, for example Temporary Internet Files in a user's profile. Here is the full registry path to FilesNotToSnapshot: HKLM\SYSTEM\CurrentControlSet\Control\BackupRestore\FilesNotToSnapshot Note: When you locate this registry key, you may already find a handful of entries already there.
From this registry key you can add a REG_Multi_SZ to exclude files and folders from the Volume Shadow copy. For example, you could create a New REG_MULTI_SZ, it does not seem to matter what name you
use. Here are suggestions to configure the Data for a Value named Drivers:
To fulfil my initial suggestion and exclude temporary files, you could experiment with the $AllVolumes$ variable: The History of Vista's Volume Shadow CopyCuriously, Vista's Volume Shadow Copy is not available on XP, yet it is a feature of Windows Server 2003. My reason for drawing this to you attention is to point out that VSS is a mature technology that has been tested in a server environment. Volume Shadow Copy is related to Restore Points, and indeed to Backup. With System Restore, if you place the emphasis on System, then its purpose becomes clear; to restore operating sytem related files without losing data, such as Word documents. You don't have to worry about taking periodic system snapshots because System Restore automatically creates a restore point whenever a significant change occurs. Naturally, you can also create restore points manually. Incidentally, System Restore is available in XP, but not on the original version of Windows Server 2003. Summary of Vista's Volume Shadow CopyVolume Shadow Copy has been described rudely as: 'The poor man's backup'. I would prefer to call it the 'Everyman's backup', because it is easy to use and available to anyone who can right-click a folder and select 'Properties, then Previous Versions. To investigate this useful service, firstly, check the configuration from the System Properties in the Control Panel. Secondly examine the shadows and reduce the disk space with vssadmin at the command prompt.
Watch a Vista Training Video Demo. Windows Vista Troubleshooting:^
|
|||||