App version: x.y.z (state whether from Google Play/F-Droid/Custom built APK)
Problem you may be having, or feature you want:
I want to be able to back up the app’s settings.
Suggested solution:
Screenshots / Drawings / Technical details:
App version: x.y.z (state whether from Google Play/F-Droid/Custom built APK)
Problem you may be having, or feature you want:
I want to be able to back up the app’s settings.
Suggested solution:
Screenshots / Drawings / Technical details:
The ability to backup your database and everything associated with it already exists. Or are you specifically referring to the granular settings such as your theme and other UI, playback, network, storage, etc. Is that what you want to backup?
I don’t recall, because I haven’t done it in awhile. @ByteHamster do settings get backed up when someone dies a database backup?
yes,back up theme and other UI, playback, network, storage…Not just a database.

App settings like theme are currently not backed up - just the database with subscriptions/playback state. This is already tracked on the developer platform: https://github.com/AntennaPod/AntennaPod/issues/4089
+1 for a way to backup database with subscriptions/playback state + all your settings for the app.
I’m replying to this old thread to show my support for this idea. Please tell me if it’s best to open a new one instead.
@Moloch981 For feature requests it’s always best to give a heart to the first post, or to add a comment if you want something slightly different, if you would like it to function in a specific way or if you want to share your use-case. (Creating new threads would make it more difficult to see the interest in a feature because the numbers would be spread out.)
@ByteHamster and @keunes - could we consider backing up user preference to the Google drive using Google’s Auto backup feature so when we restore our phones, all the preferences are restored? With 25 MB of max backup size, we might not be able to backup the sqllite database.
To me, it feels a bit strange to store settings but not the actually important things – the subscriptions. We already have an open issue for backing up the subscriptions: Store list of subscriptions (possibly settings) through Google's Auto Backup for Apps · Issue #1899 · AntennaPod/AntennaPod · GitHub There is also some code that looks like it does something like this: AntennaPod/storage/importexport/src/main/java/de/danoeh/antennapod/storage/importexport/OpmlBackupAgent.java at develop · AntennaPod/AntennaPod · GitHub I don’t know if the code works, though. I don’t upload my app data to Google
In my opinion, backing up the settings is quite a low priority change. It might even be an advantage that users are reset to the default settings when changing devices. That way, potentially “misconfigured” settings get changed back to the default.
I think it’d be helpful to have settings migrated, but I wouldn’t be in favour of doing it through Google as just settings alone are quite useless, only really relevant in conjunction with the content. So for me it should be included in the (full) database export directly from the app. (Or, at the very least, indeed in conjunction with the subscriptions, via Google.)
Maybe it’s not a good idea but why not store settings in exported database. On import user could choose what he wants to restore : database only, settings or both.
@ByteHamster, I’d like to ask whether a pull request for this would be accepted. Issue #4089 is locked, so I’m asking here, as ibrahim-iqbal suggested on GitHub.
I have implemented settings export and import as a separate option, as AndyIII and Eiion suggested in the issue. The database export and import are not changed. I have tested it on my phone, and it has unit tests. The code is here: Comparing AntennaPod:develop...nivaca:settings-export · AntennaPod/AntennaPod · GitHub
It adds a “Settings” section to Settings → Import/Export, with two entries:
Some values are not exported, because they belong to one device or are private: the data folder, the automatic export folder, the proxy username and password, the synchronization login, the playback state, and a sleep timer that is waiting to start. A file that does not contain AntennaPod settings is rejected, and nothing is changed.
About the concerns in the issue: the settings are not stored in the database, and no XML files are copied. The import writes each value through the normal SharedPreferences editor, so the system knows about every change. Each value is saved with its type, so it comes back as the same type.
If the approach is acceptable, I will open the pull request against develop. If you would prefer a different design, I’m happy to change it first.