maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   backup HUGE (https://talk.maemo.org/showthread.php?t=65838)

tredlie 2010-11-18 15:17

backup HUGE
 
Hei Folks
I try to make regular backups on the N900 for communication, bookmarks, settings an programs lists.
The gzipped tarball is ever increasing running now at more than 70MB although all mails have bee deleted. It seems that somewhere stuff gets cached and not cleanly deleted.
any idea?

PMaff 2010-11-18 16:33

Re: backup HUGE
 
Quote:

Originally Posted by tredlie (Post 877145)
Hei Folks
I try to make regular backups on the N900 for communication, bookmarks, settings an programs lists.
The gzipped tarball is ever increasing running now at more than 70MB although all mails have bee deleted. It seems that somewhere stuff gets cached and not cleanly deleted.
any idea?

1) Install GNU find.
See: http://maemo.org/downloads/product/M...findutils-gnu/

2) Goto X Term.
3) type:
gfind <directory where to search> -type f -size +2M -ls
e.g.
gfind ~ -type f -size +2M -ls
In my case this finds a lot of files larger than 2Megabytes in
/home/user/MyDocs/cities/diskcache/
but I am not sure if they are backed up.

You have to look at the output.
gfind <directory where to search> -type f -size +2M -ls | more
may help.
;-)

See also:
http://unixhelp.ed.ac.uk/CGI/man-cgi?find

tredlie 2010-11-18 16:35

Re: backup HUGE
 
indeed, most of the files are in the cache somewhere. I find it hard to believe, that there is no builtin means of flashing them.

kureyon 2010-11-18 17:28

Re: backup HUGE
 
/home/user/MyDocs/cities is where Ovi Maps caches the map data it downloads. You can delete it if you want and Maps will recreate it next time you run it.

Dancairo 2010-11-18 17:29

Re: backup HUGE
 
Mine was getting rather large too, don't know if this is relevant to you but i found that once I had taken all the photo's off It decreased significantly..

Dan

PMaff 2010-11-18 17:41

Re: backup HUGE
 
Quote:

Originally Posted by tredlie (Post 877196)
indeed, most of the files are in the cache somewhere. I find it hard to believe, that there is no builtin means of flashing them.

gfind <directory where to search> -type f -size +2M -ls | grep -v "cache" | more
is probably better. You may filter other items with "grep -v ..."
and vary the size of course.

I also tried something different:
gfind ~ -type f -exec du {} \; | sort -nr | grep -v "cache" | more
This takes some time.
In my case it mostly showed larger videos. :-)

JonWW 2010-11-18 18:11

Re: backup HUGE
 
I reduced the size of my backups by deleting my email account then deleting /home/user/.modest because I discovered modest was abandoning old emails files and clogging up its cache with files that should have been deleted!

Also clearing you browser cache helps, quite why the backup app will backup your browser cache is beyond me! I find it will do this if you have a browser extension installed.

Doing this has got me down from 32M to 8.9M

Hope this helps as 70Mb is a joke.

mastac 2010-11-18 18:23

Re: backup HUGE
 
my backups are over 100mb. They take ages and ages to restore

tredlie 2010-11-18 18:28

Re: backup HUGE
 
Quote:

Originally Posted by JonWW (Post 877255)
I reduced the size of my backups by deleting my email account then deleting /home/user/.modest because I discovered modest was abandoning old emails files and clogging up its cache with files that should have been deleted!

Also clearing you browser cache helps, quite why the backup app will backup your browser cache is beyond me! I find it will do this if you have a browser extension installed.

Doing this has got me down from 32M to 8.9M

Hope this helps as 70Mb is a joke.

indeed,most of the stuff is in .modest . but deleting the account cannot be the way to go.
perhaps a developer reading this.....

JonWW 2010-11-18 18:28

Re: backup HUGE
 
OMG! :eek:

What size are you zip files?
Having cleared my browser cache, mine are:
Code:

applications -    2 KB
bookmarks    - 2,132 KB
comm_and_cal - 3,178 KB
settings    -  720 KB



All times are GMT. The time now is 17:17.

vBulletin® Version 3.8.8