Additional default exclusions

Bug #1322936 reported by Andrew on 2014-05-25
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Back In Time
Fix Released
Wishlist
Germar

Bug Description

Please consider adding the following to the default exclusion list:

 /etc/mtab
 /var/lib/nfs/*tab
 /var/cache/apt/archives/*.deb
 .kde/share/cache/*
 .firefox/default/*/Cache/*
 /usr/src/**/*.o
 lost+found/
/tmp
/var/tmp
/var/backups
/mnt
/media

(I realize cache is covered by [Cc]ache, but I noticed there is another bug report requesting deletion from the default exclusion list for a very good reason, so perhaps this will help identify some explicit cache cases in the event that feature gets implemented.)

I also found the below list after googling. I have a feeling neither of these lists are complete. I'm not sure how much is ubuntu specific (as that's what I use - ubuntu 12.04)

.gvfs # contains mounted file systems?
.local/share/gvfs-metadata
.Private # contains the actual encrypted home directory
.dbus # session-specific
.cache
.Trash # do I need to say more?
.local/share/Trash
.cddb # cached info about audio CDs
.aptitude # cached packages lists
Flash-specific:

.adobe # Cache for flash, maybe others?
.macromedia # except for Flash persistence, there is no reason to keep this
Files:

.xsession-errors # contains errors from the current graphical session
.recently-used # recently used files
.recently-used.xbel
.thumbnails
.Xauthority # session-specific
.ICEauthority
.gksu.lock
.pulse # directory
.pulse-cookie
.esd_auth
KDE specific:

.kde/share/apps/RecentDocuments # Recent documents on KDE
.kde/share/apps/klipper # Contains a history of the Klipper clipboard (KDE)
.kde/share/apps/okular/docdata # you will loose saved scrolling positions of PDFs
.kde/share/apps/gwenview/recentfolders
.kde/share/apps/kmess/displaypics # cached other users' profile pics
.kde/share/apps/kmess/customemoticons # cached emoticons of others
Firefox-specific (see also Profile folder):

.mozilla/firefox/*/Cache
.mozilla/firefox/*/minidumps # in case Fx crashes dumps will be stored in this
.mozilla/firefox/*/.parentlock # session-specific
.mozilla/firefox/*/urlclassifier3.sqlite # phishing database, recreated
.mozilla/firefox/*/blocklist.xml # blacklisted extensions
.mozilla/firefox/*/extensions.sqlite # extension database, recreated on startup
.mozilla/firefox/*/extensions.sqlite-journal
.mozilla/firefox/*/extensions.rdf
.mozilla/firefox/*/extensions.ini
.mozilla/firefox/*/extensions.cache
.mozilla/firefox/*/XUL.mfasl # cached UI data, recreated
.mozilla/firefox/*/XPC.mfasl
.mozilla/firefox/*/xpti.dat
.mozilla/firefox/*/compreg.dat
Opera-specific (related question on Superuser.com: Is documentation available on files and directories in the Opera profile folder?):

.opera/temporary_downloads
.opera/cache
.opera/thumbnails
.opera/opcache
.opera/icons
.opera/application_cache
.opera/widgets/*/cache
.opera/lock
Komodo Edit:

.komodoedit/*/codeintel/db
.komodoedit/*/host-*/*/codeintel
.komodoedit/*/XRE/Cache
.komodoedit/*/XRE/.activatestate/komodo edit/Crash Reports
.komodoedit/*/XRE/.activatestate/komodo edit/*/Cache
.komodoedit/*/XRE/.activatestate/komodo edit/*/minidump
.komodoedit/*/XRE/.parentlock
.komodoedit/*/XRE/extensions.rdf
.komodoedit/*/XRE/extensions.ini
.komodoedit/*/XRE/extensions.cache
.komodoedit/*/XRE/XPC.mfasl
.komodoedit/*/XRE/XUL.mfasl
.komodoedit/*/XRE/xpti.dat
.komodoedit/*/XRE/pluginreg.dat
.komodoedit/*/XRE/compreg.dat
.komodoedit/*/XRE/*.sqlite-journal
.komodoedit/*/pystdout.log
.komodoedit/*/pystderr.log
.komodoedit/*/history.sqlite.bak
.komodoedit/*/running.lock
.komodoedit/*/mutex.lock
.komodoedit/*/*.xmlc
.komodoedit/*/startup-env.tmp
.komoeoedit/*/commandments.fifo
.komoeoedit/*/history.sqlite
GnuPG:

.gnupg/rnd
.gnupg/random_seed
.gnupg/.#*
.gnupg/*.lock
.gnupg/gpg-agent-info-*
Google Chrome:

.config/google-chrome/Default/Local Storage
.config/google-chrome/Default/Session Storage
.config/google-chrome/Default/Application Cache
.config/google-chrome/Default/History Index *
Other apps:

.pulse/icons # Pidgin
.java/deployment/cache # Cached applets
.icedteaplugin
.icedtea
.gnome2/epiphany/favicon_cache

Germar (germar) wrote :

Thanks for the lists. I'll take a look on your recommendations soon. The list from Google seems to be a bit heavy. I don't think I'll add them all.

Changed in backintime:
status: New → Triaged
importance: Undecided → Wishlist
milestone: none → 1.1.0
assignee: nobody → Germar (germar)
Andrew (publicface) wrote :

rsync has an overwhelming number of options. One might argue - too many. So, it's easy to miss some really good ones. From the man page:

            --exclude-from=FILE read exclude patterns from FILE
            --include-from=FILE read include patterns from FILE
            --files-from=FILE read list of source-file names from FILE

I hope this is useful to you.

Germar (germar) wrote :

Sure, it would work to put the list into a file and use --exclude-from. But this would also make it in-transparent from BIT GUI.

Germar (germar) on 2014-06-03
Changed in backintime:
status: Triaged → Fix Released
status: Fix Released → Fix Committed
Germar (germar) on 2015-01-15
Changed in backintime:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers