When backing up a user and shared users folder using the backup software of your choice on the operating system of your choice what files, file types, and folders do you exclude from the backup?


3 Answers 3


In Java Regular Expression format (some data from CrashPlan Excludes and other unlisted excludes from CrashPlan's my.service.xml file):


Default from CrashPlan: 
.*/iPhoto Library/iPod Photo Cache/.*
.*/Google/Chrome/Safe Browsing.* 

Extra not in CrashPlan by default:
(?i).*\.(tmp|temp|cache|part|rbf|chk|dov) <-- temporary files
(?i).*\.(bac|bak|bkp|bup|back|dmp|dump|err|log|old|prv) <-- backup files
(?i).*\.(asd|wbk|xlk|bde|bdi|bdm|bmb|bom|crc|m\_p|bdb|bks|bps|mch|sol|idb|nch) <-- program specific backup/temporary files
(?i).*\.(bmk|chw|ftg|fts|gid|hhc|hhk) <-- help index files
.*/Google/Chrome/.* <-- if using Chrome Sync
(?i).*/(Google Drive|LocalGoogle)/.*
.*/(My Cubby|cubby)/.*


Default from CrashPlan:
.*/Local Settings/History/
.*/Start Menu/
.*/System Volume Information/.*
.*/Temporary Internet Files/.*
.*/Local Settings/Temp.*
.*/Application Data/Application Data.*
(?i).*/Google/Chrome/User Data/Default/Cookies(-journal)?
(?i).*/(Application Data|AppData)/Apple Computer/Mobile Sync/.*

Extra not in CrashPlan by default:
.*/Local Settings/History/.*
.*/(Program Files|Program Files \(x86\))/.*
.*/AppData/Local/Packages/.* <- this really still needs to be figured out as per http://superuser.com/questions/490925/explain-windows-8-windows-store-appdata-packages-and-what-to-backup
.*/AppData/Local/Microsoft/Windows Store/.*
.*/Internet Explorer/.*


Default from CrashPlan:
.*/Network Trash Folder/.*
.*/VM Storage
/Previous Systems.*
.*/Microsoft User Data/Entourage Temp/.*
.*/iP.* Software Updates/.*
.*/Library/Application Support/SyncServices/.*
.*/Library/Mail/Envelope Index
.*/Library/Calendars/Calendar Cache
.*/iTunes/Album Artwork/Cache/.*
.*/iPhoto Library/iPod Photo Cache.*
/Desktop DB
/Desktop DF
/Users/Shared/SC Info.*
.*/Library/Saved Application State/.*
.*/Application Support/Google/Chrome/Default/Cookies(-journal)?


Default from CrashPlan:

Extra not in CrashPlan by default:


Default from CrashPlan:
  • If any of my regular expressions can be simplified please fix them! Jul 3, 2012 at 6:47
  • added some details from ehow.com/about_6565278_type-files-can-deleted_.html Jul 3, 2012 at 6:47
  • this is certainly very useful, but I wonder if someone could comment on each line (or groups of similar lines) to explain what we're actually excluding here and why. - To give an example: I can see why it might make sense to exclude ProgramData completely. But I think it might also be a bit risky since it may well contain some (non-user-specific) application data, right? So some annotations might help people to customize the list for their purposes.
    – Christoph
    Jan 17, 2016 at 5:01
  • @Christoph, unfortunately,C:\ProgramData\ is excluded by Crashplan by default. Guess what's in that folder? This xml file! (I was adding regex's to the exclusion list and it erased ALL my custom Regex's. With no backup from Crashplan. Luckily I'm OCD engineer and I had it also backed up locally w/ Acronis True Image Feb 9, 2017 at 20:54
  • 1
    Looks like there's a bug in this (2 years later). Under All, this entry .*/(cookies|permissions).sqllite(-.{3})? has two l's (lower case L's) in .sqlite Jan 22, 2019 at 4:29

Linux: Everything ending with a ~ (backups from several editors). And to "optimize" your regexps, just a short example:

  • Won't this result in searching for ".~" rather than "blahfile~"? Jul 3, 2012 at 0:50
  • Ooops -- sure, you're right, that part I messed up. Intention was to shouw how to combine the regexps. But you're absolutely right: the \~ part is wrong there and must go in a separate line.
    – Izzy
    Jul 3, 2012 at 6:39

After careful examination I also exclude files under %APPDATA% that match (ignoring case) any of these regular expressions:

  • Cache files
/Default/Media Cache
/Device Metadata/dmrccache$
/Package Cache$
  • log files
  • System files
/AppData/Local/Microsoft/Device Stage$
  • Temporary files

There's also discussion about this topic on https://forum.duplicati.com/t/common-exclusions-and-inclusions-from-appdata/807 . These lists appear there. CAUTION It seems like they use common regex but without taking care to escape literal dots):


.*/AppData\Local\Microsoft\Internet Explorer\Recovery\High\Active*.dat
.*/AppData\Local\Google\Chrome\User Data\Default\Current Session
.*/AppData\Local\Google\Chrome\User Data\Default\Current Tabs
.*/AppData\Local\Google\Chrome\User Data\lockfile

*System Volume Information*\
*\AppData\*\Internet Explorer\
*\Temporary Internet Files\
*\Microsoft\Windows Defender*\

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.