Author Topic: How to backup email...where is it stored?  (Read 8374 times)

Anthony2816

  • Newbie
  • *
  • Posts: 3
How to backup email...where is it stored?
« on: March 02, 2013, 08:15:53 pm »
I just tried to log onto my Yahoo Mail account using my browser, and was greeted with a message saying my account has been deactivated. It gave me the option to reactivate it, but when I did, *all* of my email was gone from the server...thousands of messages. It seems AquaMail has stored many of these on my Samsung Galaxy S3, and I'd like to get them from there before AquaMail syncs with the server and deletes them from my phone, too. Is there a way to back them up, or at least find out where they are stored on my phone? The FAQ doesn't give any specific information.

Rachel Ambler

  • Full Member
  • ***
  • Posts: 140
  • Responsis, plura interrogandi
    • Random Thunks
Re: How to backup email...where is it stored?
« Reply #1 on: March 02, 2013, 10:04:39 pm »
Is your device rooted? If so then at the very least you'd be able to grab the SqlLite DB and store it somewhere safe (or use Titanium Backup).

Obviously I can't speak for Kostya, but given that the app is meant as a mobile viewer I'd be somewhat surprised if there was a means to export the mail database somewhere else.
Even desktop clients seem to lack this functionality.

Sent from my SCH-I535 using Tapatalk 2


Anthony2816

  • Newbie
  • *
  • Posts: 3
Re: How to backup email...where is it stored?
« Reply #2 on: March 03, 2013, 12:15:03 am »
Yes, it is rooted, and I do happen to have SQLite installed. However, I just ran it, and for AquaMail it says "No database files found".   :(

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12742
Re: How to backup email...where is it stored?
« Reply #3 on: March 06, 2013, 03:27:40 am »
The app uses the framework's Context#openOrCreateDatabase, so it should be in the "standard" location.

On my Galaxy Nexus with 4.2.2, that's: /data/data/org.kman.AquaMail/databases/Messages.sqldb

You will need to backup the accounts, stored as Android's "shared preferences", too. On my device, that's "/data/data/org.kman.AquaMail/shared_prefs/MailAccounts.xml".

Or all files under the package name / databases and /shared_prefs, really.....



Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

Anthony2816

  • Newbie
  • *
  • Posts: 3
Re: How to backup email...where is it stored?
« Reply #4 on: March 06, 2013, 03:35:16 am »
Excellent, thanks!

martinm

  • Newbie
  • *
  • Posts: 1
Re: How to backup email...where is it stored?
« Reply #5 on: August 30, 2020, 10:01:50 pm »
Hello. What can I to backup and restore the emails, if I don't have rooted android?

Radoslav Stoyanov

  • AquaMail QA
  • Global Moderator
  • Newbie
  • *****
  • Posts: 24
Re: How to backup email...where is it stored?
« Reply #6 on: August 31, 2020, 01:25:07 pm »
Hello. What can I to backup and restore the emails, if I don't have rooted android?

Hey,

AquaMail does not support copying messages between devices -- you can backup and restore your app settings and accounts, and it's assumed that messages are still available on the mail servers and will re-sync.
Now, if both of your devices were rooted, you'd be able to copy all of the app's data (including the message database), but that isn't something we can "officially" support either.

Cheers,
Radoslav

AquaMail QA Team