BackupPC Excludes for Windows Clients

From Kyle's Wiki
Jump to: navigation, search

Windows Vista / Windows 7:

$Conf{BackupFilesExclude} = {
  #Windows 7/Vista specific!
  '*' => [
	#7/Vista junction points
	'/Documents and Settings',
	'/ProgramData/Application Data',
	'/ProgramData/Desktop',
	'/ProgramData/Documents',
	'/ProgramData/Favorites',
	'/ProgramData/Start Menu',
	'/ProgramData/Templates',
	'/Users/All Users',
	'/Users/Users/Default User',
	'/Users/Users/All Users/Application Data',
	'/Users/Users/All Users/Desktop',
	'/Users/All Users/Documents',
	'/Users/All Users/Favorites',
	'/Users/All Users/Start Menu',
	'/Users/All Users/Templates',

	#Junction points common to every user profile
	'/Users/*/Application Data',
	'/Users/*/Cookies',
	'/Users/*/Local Settings',
	'/Users/*/My Documents',
	'/Users/*/NetHood',
	'/Users/*/PrintHood',
	'/Users/*/Recent',
	'/Users/*/SendTo',
	'/Users/*/Start Menu',
	'/Users/*/Templates',
	'/Users/*/AppData/Local/Application Data',
	'/Users/*/AppData/Local/History',
	'/Users/*/AppData/Local/Temporary Internet Files',
	'/Users/*/Documents/My Music',
	'/Users/*/Documents/My Pictures',
	'/Users/*/Documents/My Videos',

	#Temporary and in-use user data
	'/Users/*/AppData/Local/Microsoft/Windows/Temporary Internet Files',
	'/Users/*/AppData/Local/Temp',
	'/Users/*/NTUSER.DAT*',
	'/Users/*/ntuser.dat*',
	'/Users/*/AppData/Local/Microsoft/Windows/UsrClass.dat*',
	'/Users/*/AppData/Local/Microsoft/Windows Defender/FileTracker',
	'/Users/*/AppData/Local/Microsoft/Windows/Explorer/thumbcache_*.db',
	'/Users/*/AppData/Local/Microsoft/Windows/WER',
	'/Users/*/AppData/Local/Mozilla/Firefox/Profiles/*/Cache',
	'/Users/*/AppData/Local/Mozilla/Firefox/Profiles/*/OfflineCache',
	'/Users/*/AppData/Roaming/Microsoft/Windows/Cookies',
	'/Users/*/AppData/Roaming/Microsoft/Windows/Recent',
	'ProgramData/Microsoft/Search',
	'ProgramData/Microsoft/Windows Defender',
	'*.lock',
	'Thumbs.db',
	'IconCache.db',
	'Cache*',
	'cache*',

	#Installation folders and system data
	'/Program Files',
	'/Windows',
	'/$Recycle.Bin',
	'/MSOCache',
	'/System Volume Information',
	'/Boot',
	'/autoexec.bat',
	'/bootmgr',
	'/BOOTSECT.BAK',
	'/config.sys',
	'/hiberfil.sys',
	'/pagefile.sys'
  ]
};

Windows XP:

$Conf{BackupFilesExclude} = {
  #XP specific!
  '*' => [
	#Temporary and in-use user data
	'/Documents and Settings/*/Cookies',
	'/Documents and Settings/*/Local Settings/Temporary Internet Files',
	'/Documents and Settings/*/Local Settings/Temp',
	'/Documents and Settings/*/NTUSER.DAT*',
	'/Documents and Settings/*/ntuser.dat*',
	'/Documents and Settings/*/Local Settings/Application Data/Microsoft/Windows/UsrClass.dat*',
	'/Documents and Settings/*/Local Settings/Application Data/Mozilla/Firefox/Profiles/*/Cache',
	'/Documents and Settings/*/Local Settings/Application Data/Mozilla/Firefox/Profiles/*/OfflineCache',
	'/Documents and Settings/*/Recent',
	'*.lock',
	'Thumbs.db',
	'IconCache.db',
	'Cache*',
	'cache*',
	
	#Installation folders and system data
	'/WINDOWS',
	'/RECYCLER',
	'/MSOCache',
	'/System Volume Information',
	'/AUTOEXEC.BAT',
	'/BOOTSECT.BAK',
	'/CONFIG.SYS',
	'/hiberfil.sys',
	'/pagefile.sys'	
  ]
};

Special Thanks to Cody Dune for sharing this info.

Personal tools
Namespaces

Variants
Actions
Efforts
Toolbox
Meta