The Following User Says Thank You to wolke For This Useful Post: | ||
|
2012-04-12
, 15:02
|
Posts: 39 |
Thanked: 37 times |
Joined on Mar 2012
@ Beijing
|
#32
|
The Following User Says Thank You to wwwjfy For This Useful Post: | ||
|
2012-04-12
, 15:05
|
Posts: 986 |
Thanked: 1,526 times |
Joined on Jul 2010
|
#33
|
|
2012-04-12
, 15:15
|
Posts: 986 |
Thanked: 1,526 times |
Joined on Jul 2010
|
#34
|
hi how can we merge two or more files from the backup.
during the backup i rec'd the error "the background thread has stalled" due to which the newer backups are smaller file sizes than the first backup. the new backups contain new smses and less than 1/3 of the old smses. so i want to merge these files and import them back.
thanks for your help
The Following 2 Users Say Thank You to wolke For This Useful Post: | ||
|
2012-04-13
, 11:45
|
Moderator |
Posts: 6,215 |
Thanked: 6,400 times |
Joined on Nov 2011
|
#35
|
|
2012-04-13
, 18:28
|
Posts: 986 |
Thanked: 1,526 times |
Joined on Jul 2010
|
#36
|
The Following User Says Thank You to wolke For This Useful Post: | ||
|
2012-04-13
, 20:04
|
Posts: 8 |
Thanked: 10 times |
Joined on Apr 2012
|
#37
|
|
2012-04-13
, 20:19
|
Posts: 986 |
Thanked: 1,526 times |
Joined on Jul 2010
|
#38
|
Hi,
I'm attempting to back up, as my N9 is imploding in on itself. I'm trying to preserve the texts I've exchanged with my lady for the past few months, since my last backup.
I used to be able to backup with PC Suite and an NBU, not so any more.
When running your script I got a timeout error, restarted tried again, now I get a huuuuuuuuge error - with something looking like DB values. It starts with:
GDBUS.Error rg.freedesktop.Tracker1.SparqlError.Internal: Operation was cancelled.
After this it just parses a few hundred lines of what looks like a db dump...
Any advice?
Edit; Forgot to mention, I was able to get some backup done previosuly.. only 16.2 kb though.. and not a lot of texts.. but some. I actually got two of that size, several of 0kb when the "timeout" thing happened.
The Following User Says Thank You to wolke For This Useful Post: | ||
|
2012-04-13
, 20:26
|
Posts: 8 |
Thanked: 10 times |
Joined on Apr 2012
|
#39
|
some advice; make a backup of your tracker db
~/.cache/tracker/meta.db and ~/.cache/tracker/meta.db-wal
|
2012-04-19
, 16:50
|
Moderator |
Posts: 6,215 |
Thanked: 6,400 times |
Joined on Nov 2011
|
#40
|
it looks at all your exports, automatically removes dupes, splits the texts by phone number into separate files, and sorts by date sent/received.
for restoring, it joins them together taking only texts from the last 30 days from the backup.
note: for non-united-states folks, you might wanna remove this line below before using.
@messages = removeUSCountryCode @messages;
i run it on the phone, like this:
#exports to ~/MyDocs/sms-backup/#######.sms
perl n9-sms-tool.pl backup
#reads all .sms files in ~/MyDocs/sms-backup,
#removes duplicates, and splits them out by phone number,
#into separate files in ~/MyDocs/sms-backup-repo
perl n9-sms-tool.pl split
#unnecessary step: commits a git repo {local only, no pushing}
perl n9-sms-tool.pl commit
#makes a file for importing, using texts only from the last 30 days
perl n9-sms-tool.pl join
~ teleshoes ~