AquaMail Forum

English - Android => How do I... => Topic started by: Anthony2816 on March 02, 2013, 08:15:53 pm

Title: How to backup email...where is it stored?
Post by: Anthony2816 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.
Title: Re: How to backup email...where is it stored?
Post by: Rachel Ambler 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

Title: Re: How to backup email...where is it stored?
Post by: Anthony2816 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".   :(
Title: Re: How to backup email...where is it stored?
Post by: Kostya Vasilyev 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.....



Title: Re: How to backup email...where is it stored?
Post by: Anthony2816 on March 06, 2013, 03:35:16 am
Excellent, thanks!
Title: Re: How to backup email...where is it stored?
Post by: martinm 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?
Title: Re: How to backup email...where is it stored?
Post by: Radoslav Stoyanov 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