Exclude Files from Shadow Copies (Previous Versions and System Restore)排除特定文件的卷影副本(以前的版本和系統還原)
Volume Shadow Copies (VSS or also known as Volume Snapshot Services) is the technology used to perform snapshot and backup of system files and user data files at a specific time at regular interval.卷影副本(或在VSS也稱為卷快照服務)所使用的技術執行快照和備份系統文件和用戶數據文件在某一特定的時間的間隔時間定期。 The incremental backup or snapshot by Shadow Copy is then used by System Restore or Previous Versions feature in Windows to restore Windows to previous state or recover deleted or altered files and folders.增量備份或快照由卷影複製,然後用系統還原或以前的版本功能在Windows到Windows還原至先前的狀態或恢復已刪除或更改的文件和文件夾。
When enabled and running properly, Shadow Copy service will backup almost everything on the drives.當啟用時和正常運行,區陰影複製服務將備份幾乎所有的關於該驅動器。 And Shadow Copy, which commonly known as System Restore accessible by System Protection in Vista System Properties is turned on by default on system drive.和陰影複製,俗稱系統還原進入系統保護在Vista系統屬性是預設為開啟系統驅動器上。 Thus, various System Restore Points created will save copies system and user data files incrementally in Shadow Copy repositories.因此,各系統還原點創建將可節省的副本系統和用戶數據文件,逐步在陰影複製存放。
The existence of backup copies of files and folders in another location in VSS repositories may bring several issues.存在備份文件和文件夾在另一個位置的VSS在存放可能帶來的幾個問題。 Firstly, for users who don’t use Previous Versions or System Restore features, or those (users of Home Premium and Home Basic editions of Vista) who can’t access shadow copies of user data files, keeping these files is wasting disk space.第一,為用戶誰不使用先前的版本或系統還原的功能,或在那些(用戶家庭高級版和家庭基本版Vista的)誰不能訪問卷影副本的用戶數據文件,使這些檔案是浪費磁盤空間。 Secondly, Shadow Copies may potentially leak trace and record of sensitive and private files or documents.其次,卷影副本可能洩漏追踪和記錄敏感的和私人的檔案或文件。
The first issue can be solved by第一個問題可以解決 disabling the Shadow Copy (or commonly known as System Restore)禁用陰影複製(或稱為系統還原) . 。 And for users who just want to keep some private confidential data out of the reach of been monitored and backed up can exclude files from Shadow Copies.而對於用戶誰只是想保留一些私人機密數據離開該達到的監測和後盾,可以排除的文件從卷影副本。 MSDN Library MSDN庫 describes how to using registry key to exclude files from Shadow Copies by deleting the selected files from shadow copy during creation.介紹了如何使用註冊表項,以排除特定文件的卷影副本,刪除選定的文件從陰影複製過程中創造。
Using the FilesNotToSnapshot Registry Key to Exclude Files from Shadow Copy 使用filesnottosnapshot註冊表項,以排除文件從陰影複製
Files can be deleted from a shadow copy during shadow copy creation by using the following registry key:文件刪除就可以從一個陰影複製在卷影複製創建使用以下註冊表項:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\BackupRestore\FilesNotToSnapshot hkey_local_machine \系統\ currentcontrolset \控制\ backuprestore \ filesnottosnapshot
This registry key has REG_MULTI_SZ (multi string) values for each application whose files can be excluded.此註冊表項已reg_multi_sz (多字符串)值,每宗申請的,其檔案可以被排除在外。 The files are specified by fully qualified paths, which can contain the * wildcard.文件所指定的完全合格的路徑,其中可以包含*通配符。 If a fully qualified cannot be specified, then a path can also be implied by using the $UserProfile$ or $AllVolumes$ variable.如果一個完全合格的不能指定,那麼,路徑也可以用暗示的元下USERPROFILE元或美元allvolumes元的變數。 For example:例如:
- UserProfile$\Directory\Subdirectory\FileName.*下USERPROFILE元\目錄\子目錄\文件名*
- $AllVolumes$\TemporaryFiles\*.*元allvolumes元\ temporaryfiles \ *.*
To make the path recursive, append ” /s” to the end.使路徑遞歸,附加“ /秒”到去年底。 For example:例如:
- $UserProfile$\Directory\Subdirectory\FileName.* /s元下USERPROFILE元\目錄\子目錄\文件名* /秒
- $AllVolumes$\TemporaryFiles\*.* /s元allvolumes元\ temporaryfiles \ *.* /秒
In all cases, the entry is ignored if there are no files that match the path string.在所有情況下,進入被忽略,如果沒有匹配的文件路徑字符串。 Note that the exclusion (or rather the deletion of the files from the Shadow Copy repository during creation by the shadow copy optimization writer) of the files been added to the appropriate registry key value, is on a best-effort basis.請注意,排除(或者更確切地說,刪除該文件從陰影複製存放在創造陰影複製優化作家)的檔案被添加到適當的註冊表項值,是在一個最好的努力的基礎上。
IMPORTANT : You're reading a machine translated page which is provided "as is" without warranty. 重要說明:您正在閱讀的機器翻譯網頁是“按原樣”提供的擔保。 Unlike human translation, machine translation does not understand the grammar, semantics, syntax, idioms of natural language, thus often produce inaccurate and low quality text which is misleading and incomprehensible.不像人類翻譯,機器翻譯不明白的語法,語義,語法,成語自然語言,因此,往往產生不準確的和低品質的文字,是具誤導性的和難以理解的。 Thus, please refer to因此,請參閱 original English article英文原版的文章 whenever possible.只要有可能。
MDL blog postings now continue at MDL公司博客帖子現在繼續在 Tip and Trick 提示和伎倆 , and readers are welcome to join ,和讀者都歡迎參加 My Digital Life Forums 我的數字生活論壇 . 。
Related Articles相關文章
- Vista: Reclaim and Release Disk Space from System Restore and Shadow Copies Vista的:填海和釋放磁盤空間,從系統還原和卷影副本
- Recover Files with Previous Versions (Volume Shadow Copy) in Vista Home Basic and Premium with ShadowExplorer收回的文件與以前的版本(卷影複製)在Vista Home Basic升級及地價與shadowexplorer
- Vista Hard Disk Space Shrinking and Reducing Anomaly Vista的硬盤空間萎縮和減少異常
- Vista Previous Versions (Shadow Copy) vs Recycle Bin Vista的先前版本(陰影複製)與回收站
- Disable and Turn Off System Restore (Shadow Copy) in Windows Vista禁用和關閉系統還原(陰影複製)在Windows Vista
- How to Change and Limit System Restore Storage Space Usage Size in Vista with VSSAdmin如何改變和限制系統還原的存儲空間的使用大小在Vista與vssadmin
- Shadow Copy and Salvage Previous Versions of Files in Windows 2000/XP/Vista with FileHamster陰影複製及救助先前版本的文件在Windows 2000/xp/vista與filehamster
- Change and Set Vista Shadow Copy or System Restore Disk Space Limit in Explorer GUI改變和設定Vista的陰影複製或系統還原的磁盤空間限制在Explorer貴
- Ways to Solve Hard Disk LED (Activity) Non Stop Blinking Issues如何解決硬盤為首的(活動)非停止閃爍的問題
- Change the Frequency or Backup Interval of System Restore in Vista and XP改變頻率或備份間隔系統還原在Vista和XP