|
2013-03-26
, 00:57
|
Posts: 228 |
Thanked: 100 times |
Joined on May 2010
@ Australia
|
#122
|
|
2013-03-28
, 23:32
|
Posts: 986 |
Thanked: 1,526 times |
Joined on Jul 2010
|
#123
|
|
2013-03-29
, 03:41
|
Posts: 228 |
Thanked: 100 times |
Joined on May 2010
@ Australia
|
#124
|
https://raw.github.com/teleshoes/n9-...in/backup-comm
backup-comm sms --retry 50
backup-comm call --retry 50
note that it writes to ~/MyDocs/backup-sms and ~/MyDocs/backup-call
~ $ ./backup-comm sms --retry 50 mkdir -p /home/user/MyDocs/backup-sms readline() on closed filehandle CMD at ./backup-comm line 30. cat: can't open '/home/user/MyDocs/backup-sms/2013_03_29-1364528136.sms': No such file or directory exported 0 items
|
2013-03-31
, 07:13
|
Posts: 986 |
Thanked: 1,526 times |
Joined on Jul 2010
|
#125
|
Seems I am having issues:
the dir exists also.Code:~ $ ./backup-comm sms --retry 50 mkdir -p /home/user/MyDocs/backup-sms readline() on closed filehandle CMD at ./backup-comm line 30. cat: can't open '/home/user/MyDocs/backup-sms/2013_03_29-1364528136.sms': No such file or directory exported 0 items
|
2013-03-31
, 08:00
|
Posts: 228 |
Thanked: 100 times |
Joined on May 2010
@ Australia
|
#126
|
yea, sorry totally my fault. you need to add another script of mine, timedkill, to your path. i still dont promise it will work, but it should.
https://raw.github.com/teleshoes/n9-.../bin/timedkill
|
2013-04-08
, 18:02
|
Posts: 94 |
Thanked: 28 times |
Joined on Oct 2009
|
#127
|
|
2013-04-08
, 20:51
|
Posts: 94 |
Thanked: 28 times |
Joined on Oct 2009
|
#128
|
It seems I have another issue with smsbackupexport. One (at least) contact sms are just totally missing from the export file. They were present before, but now they aren't anymore. I'm not too sure why, maybe there's some kind of overflow (it's easily the contact which has the most messages). Any idea ?
"GDBus.Error:org.freedesktop.Tracker1.SparqlError.Internal: Operation was cancelled" QTrackerDirectSelectResult: QSparqlError(6, "GDBus.Error:org.freedesktop.Tracker1.SparqlError.Internal: Operation was cancelled", 4) "SELECT ?message rdf:type(?message) nmo:sentDate(?message) ?endTime nmo:isSent(?message) nmo:isRead(?message) nmo:deliveryStatus(?message) (SELECT GROUP_CONCAT(tracker:coalesce(nco:imID(?medium), nco:phoneNumber(?medium), ?medium), "\u001e") WHERE { ?from nco:hasContactMedium ?medium . }) (SELECT GROUP_CONCAT(tracker:coalesce(nco:imID(?medium), nco:phoneNumber(?medium), ?medium), "\u001e") WHERE { ?to nco:hasContactMedium ?medium . }) (SELECT GROUP_CONCAT( fn:concat(tracker:id(?contact), "\u001e", tracker:coalesce(nco:nameGiven(?contact), ""), "\u001e", tracker:coalesce(nco:nameFamily(?contact), ""), "\u001d", tracker:coalesce(nco:nickname(?contact), ""), "\u001d", tracker:coalesce(?nicknames, "")), "\u001c") WHERE { SELECT ?contact (SELECT GROUP_CONCAT(fn:string-join((nco:imID(?addr), ?nickname), "\u001f"), "\u001e") WHERE { ?contact nco:hasAffiliation [ nco:hasIMAddress ?addr ] . ?addr nco:imNickname ?nickname . }) AS ?nicknames WHERE { { ?target nco:hasIMAddress ?address . ?contact nco:hasAffiliation [ nco:hasIMAddress ?address ] . } UNION { ?target nco:hasPhoneNumber [ maemo:localPhoneNumber ?number ] . ?contact nco:hasAffiliation [ nco:hasPhoneNumber [ maemo:localPhoneNumber ?number ] ] . }}}) AS ?contacts rdf:nil nmo:phoneMessageId(?message) nmo:messageSubject(?message) nie:plainTextContent(?message) nmo:communicationChannel(?message) nmo:messageId(?message) nie:contentLastModified(?message) nfo:fileName(nmo:fromVCard(?message)) rdfs:label(nmo:fromVCard(?message)) nmo:encoding(?message) nie:characterSet(?message) nie:language(?message) nmo:isDeleted(?message) nmo:reportDelivery(?message) nmo:validityPeriod(?message) nie:generator(?message) (SELECT GROUP_CONCAT(?cc, '\u001e') {?message nmo:cc ?ccContact . {?ccContact nco:hasIMAddress [nco:imID ?cc]}UNION{?ccContact nco:hasPhoneNumber [nco:phoneNumber ?cc]}}) (SELECT GROUP_CONCAT(?bcc, '\u001e') {?message nmo:bcc ?bccContact . {?bccContact nco:hasIMAddress [nco:imID ?bcc]}UNION{?bccContact nco:hasPhoneNumber [nco:phoneNumber ?bcc]}}) nmo:reportReadStatus(?message) nmo:sentWithReportRead(?message) nmo:mustAnswerReportRead(?message) nmo:mmsId(?message) nmo:isAnswered(?message) (SELECT GROUP_CONCAT(fn:string-join((nmo:headerName(?header), nmo:headerValue(?header)), "\u001d"), "\u001f") WHERE { ?message nmo:messageHeader ?header }) WHERE { SELECT ?message ?from ?to IF (nmo:isSent(?message) = true, ?to, ?from) AS ?target ?message ?endTime WHERE {?message nmo:from ?from ; nmo:to ?to . ?message nmo:isDraft "false"; nmo:isDeleted "false" . ?message nmo:communicationChannel <conversation:2> . ?message a nmo:Message . ?message nmo:receivedDate ?endTime . } } ORDER BY DESC(?endTime) DESC(tracker:id(?message))"
|
2013-04-11
, 03:55
|
Posts: 228 |
Thanked: 100 times |
Joined on May 2010
@ Australia
|
#129
|
yea, sorry totally my fault. you need to add another script of mine, timedkill, to your path. i still dont promise it will work, but it should.
https://raw.github.com/teleshoes/n9-.../bin/timedkill
|
2013-04-11
, 04:06
|
Moderator |
Posts: 6,215 |
Thanked: 6,400 times |
Joined on Nov 2011
|
#130
|
Unfortunately I don't think the script was designed to handle upwards of 14000 messages. It keeps on receiving the errors.
I will sync with Nokia suite and remove messages one by one from there as I only want to remove certain messages.
every 6 months or so, i delete all the texts off my phone and load up just the last month, to keep it agile.
~ teleshoes ~