WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: xfiletool  (Read 3496 times)

Offline thane

  • Hero Member
  • *****
  • Posts: 697
xfiletool
« on: September 29, 2015, 12:49:52 AM »
Recently (probably belatedly) I noticed an increase in shutdown times and in the size of the mydata.tgz file. Looking at ControlPanel/System Stats/bigHomeFiles and in the home/tc directory I noticed a lot of new files connected with Firefox and Flash. Based on this I added these files/directories to xfiletool.lst:

.adobe/Flash_Player/NativeCache [already had AssetCache]
home/tc/.mozilla/firefox/57qtynf6.default/minidumps [already had webappsstore.sqlite]
home/tc/.mozilla/firefox/Crash Reports

This sped up the backup and cut down on the mydata.tgz file size quite a bit.

Anybody see downsides to this? Any suggestions for further additions to xfiletool.lst?

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11634
Re: xfiletool
« Reply #1 on: September 29, 2015, 02:27:21 AM »
Hi thane
Code: [Select]
home/tc/.mozilla/firefox/57qtynf6.default/minidumpsThat  57qtynf6  part looks like one of those cryptic names the browser makes up and uses for a while only to
eventually abandon it and make up a new cryptic name to use in its place. If/when that happens your backups
may slow down again.

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Re: xfiletool
« Reply #2 on: September 29, 2015, 04:41:02 AM »
Hi thane.

If you haven't already, control panel > backup/restore > dry run will give a good summary of culprits. Sometimes get sloppy but otherwise don't use /home for anything other than configs and minor data, largest file is ~1.5MB, total backup 9.5MB compressed to 2.1MB.

Ensure '57qtynf6' is your only Firefox profile.

.adobe and .macromedia can safely be deleted everytime, also the contents of dbus and anything related to FIrefox crashes.

Remove configs for software you no longer use, sometimes hiding in .config and .local.

My xfiletool.lst:
Code: [Select]
Cache
cache
.cache
XUL.mfasl
XPC.mfasl
mnt
.adobe/Flash_Player/AssetCache
.macromedia/Flash_Player
.Xauthority
.wmx
.mozilla/firefox/hk8j7w0g.default/healthreport.sqlite
.mozilla/firefox/hk8j7w0g.default/webappsstore.sqlite
.mozilla/firefox/hk8j7w0g.default/cookies.sqlite
home/tc/.mozilla/firefox/hk8j7w0g.default/minidumps
home/tc/.mozilla/firefox/Crash Reports
home/tc/.mozilla/firefox/hk8j7w0g.default/crashes
home/tc/.mozilla/firefox/hk8j7w0g.default/healthreport
home/tc/.cache/mozilla
home/tc/.macromedia
home/tc/.adobe
home/tc/.dbus
« Last Edit: September 29, 2015, 04:44:36 AM by nitram »

Offline ttz

  • Jr. Member
  • **
  • Posts: 82
Re: xfiletool
« Reply #3 on: September 29, 2015, 09:00:47 AM »
i use core precisely because i don't want persistence that i don't explicitily decide. this helps me so much; i can try things, make mistakes, and i can trust i get another clean chance. my data is always on some other drive that i can mount on whatever distro. with respect to core, i know i can, as alternative, create a data tcz.

the point is that my startup and shutdown times just stay fast; my perspective/choices make me wonder if u are holding on to data that should be separate. across four sticks, my core installs are all just under or close to 256MB.

newbie i am, so maybe things are markedly different for you -just a thot.

ttz

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: xfiletool
« Reply #4 on: September 29, 2015, 01:03:26 PM »
loading  gzip.tcz  speeds up creation of the backup quite a bit.

For  /opt/.xfiletool.lst  these may be handy too:

Code: [Select]
nohup.out
.local/share/recently-used.xbel
.gimp-2.8/pluginrc
.thumbnails

This file caused Geany to crash for me, if the former instance didn't quit correctly.
Code: [Select]
.config/geany/geany_socket_box__0

VLC player's streaming cache. Can grow hundreds of MB.
Code: [Select]
stream.yuv

Code: [Select]
.mozilla/firefox/Crash Reports
.mozilla/firefox/tc.default/crashes
.mozilla/firefox/tc.default/healthreport
.mozilla/firefox/tc.default/healthreport.sqlite
.mozilla/firefox/tc.default/healthreport.sqlite-shm
.mozilla/firefox/tc.default/healthreport.sqlite-wal
.mozilla/firefox/tc.default/safebrowsing
.mozilla/firefox/tc.default/startupCache
.mozilla/firefox/tc.default/webapps
.mozilla/firefox/tc.default/minidumps
.mozilla/firefox/tc.default/netpredictions.sqlite
.mozilla/firefox/tc.default/downloads.sqlite
.mozilla/firefox/tc.default/signons.sqlite
.mozilla/firefox/tc.default/sessionstore.bak
.mozilla/firefox/tc.default/sessionstore.js
.mozilla/firefox/tc.default/urlclassifier.pset
.mozilla/firefox/tc.default/urlclassifierkey3.txt
.mozilla/firefox/tc.default/flashgot.log
.mozilla/firefox/tc.default/flashgot.log.bak
Some firefox files that I want to keep are symlinked from HDD (bookmarks, plugins, etc) to keep the backup file small.

Profile name (xyz.default) can be changed in  ~/.mozilla/firefox/profiles.ini .


nitram, you have
Code: [Select]
.adobe/Flash_Player/AssetCache
.macromedia/Flash_Player
while already
Code: [Select]
.adobe
.macromedia

--

Oh, and  home/tc/  can be omitted, so it works with any user name.
« Last Edit: September 29, 2015, 01:29:49 PM by Misalf »
Download a copy and keep it handy: Core book ;)

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Re: xfiletool
« Reply #5 on: September 29, 2015, 06:22:08 PM »
Thanks for all the tips Misalf, simplified profile name and reworked xfiletool.lst. Contents of .mozilla are heavy for backup. Forgot to mention, minimize number of Firefox extensions utilized or sym-link. Also check Firefox about:config settings, for example the number of backups stored in bookmarkbackups.

Edit: Adding the .mozilla directory gmp-gmpopenh264 saves another ~1MB if never use the built-in about: addons 'OpenH264 Video Codec provided by Cisco Systems'.
« Last Edit: September 29, 2015, 06:32:24 PM by nitram »