By Ugorji Nwoke   15 Nov 2010 (updated 27 Apr 2019)   /project   android geek technology x-featured

Conversation Backup (1.4)

This tool can backup your SMS messages, MMS messages with included attachments, and call records, into a zip archive. You can specify a set of numbers to limit the conversations backed up. Optionally, you can request that those archived messages and/or call logs from your device are deleted.

This supports Android 4.0 and above.

The zip archive file created by the tool contains:

  • acb_summary.json (json file summarizing your request)
  • acb_messages.json (json file containing text of all backed up SMS and MMS)
  • acb_call_log.json (json file containing call logs)
  • MMS attachments referenced from messages (of the form mms.<id>.<filename>)
The zip file also includes a browser based viewer, which runs off those data files above to allow you view the files.
  • index.html (allows you view your backed up information easily on a browser, working off the JSON files above)
  • acb_style.css (style sheet)
To view the files, unzip the archive onto an empty directory and open up the index.html file in that directory within a browser. This is usually as easy as double-clicking on the index.html from a file browser.

How It Works

On startup, a page is shown allowing the user select options. The options are:

Option Description
Backup for all numbers If selected, then we run a backup on every conversation in your phone
Specific Numbers Else if you specify specific numbers, then we run backup only for the numbers defined.

Note that some numbers in your phone database might be the same but appear differently e.g. +44 234 510 8834 and 234 510 8834 are treated as the same number.

To support this, we actually do a matching search. We recommend you put the shorter one as unique as you can, and we match for it. ie In the example above, type 2345108834 in the specific numbers to backup.
Select Contacts ... This goes along with the specific numbers. It allows you select contacts from your contacts list, and it adds all the contacts numbers to the "specific numbers" list.
What to Backup Self explanatory. Select what you want us to backup for you, from the set of SMS Messages, MMS attachments and call records.
Delete After Backup If selected, we will delete the messages we backed up from your phone datastore. This is the only option that alters your phone contents (so is inherently risky). You may choose to delete the conversations yourself.
Send Backup If selected, we will prompt you to email the archive wherever you want to.

Once backup processing begins, we run the backup and update you via a progress bar, and a notification on your phone. You can see updates easily from the notification bar. The backup time is relative to the amount of messages and attachments on your phone. It typically completes in a few seconds. Once completed, a prompt comes up to send/share your archive. You can usually email it, share it via bluetooth, or use any online backup app on your phone that supports it (e.g. Google Drive, etc).

Reviewing backup archives on your phone

The backup files live on your phone in a directory private to the app net.ugoji.android.conversationbackup, with names matching: android_conversation_backup__DATE.zip (where DATE is in format YYYY_DD_MM__HH_MM_SS e.g. 2012_04_20__23_47_37).

If using Android 5.0 (lollipop) and up, then we use the private area on your external storage (physical or emulated), and this allows you browse the archives from the folder /Android/data/net.ugorji.android.conversationbackup/files. The Files By Google 1 is a great app to view files with.

The app allows you to review backups and share and/or delete those files. In effect, by sharing, you can send the files via any supported modes on your phone, including email, google drive, etc.

To do that

Viewing your backup

The zip archive file contains a html file that parses the contained json files and displays the information for you. To view your archive,
  • Save the zip file to your computer (from your email)
  • Extract the archive to an empty directory on your computer (using whatever application handles zip files on your computer - most computers now have native support for zip files).
  • Open up the index.html file there in a browser. You can do this by double-clicking on the index.html from a file explorer on your computer, or use "File --> Open File" in your browser.
  • All the files here are plain text files which you can read easily (JSON files are plain readable text files). The index.html just shows how easy it is to parse and view the contents.

Caveat

  1. Can I take the archive and put the messages back on a different phone?
    This is a one-way archive. It does not support taking this and putting back onto your phone. Sync and archive are two different things. As an archive solution, it allows you store outside your phone information you want to save, but does not support injecting this back into your phone (or another phone).
  2. The email function does not work
    Different email providers and email clients have limits on the maximum size of attachments and may reject attachments for one reason or another.
    There is nothing we can do to mitigate it. This is because the email provider (e.g. hotmail, yahoomail, gmail, etc) or client cannot inform us that an email is not accepted or will not be sent through.
    If email does not work for you, you can use a different mode to share the file e.g. share via online storage like Google Drive, DropBox, etc. We have tested with Google Drive. Note that you will need to have the app for it installed on your phone).

Check out us out on

Tags: android geek technology x-featured


Subscribe: Technology
© Ugorji Nwoke