Acode icon indicating copy to clipboard operation
Acode copied to clipboard

Backup more data?

Open blanhhy opened this issue 1 month ago • 4 comments

Check for existing issues

  • [x] Completed

Describe the feature

Could you enhance the backup/restore feature to backup more data, such as theme, fonts, installed plugins?

I'm trying to migrate my Acode data to a new device, but app's backup/restore seems to only backup preferences.

I have used TitaniumBackup at first, but when I open Acode on new devices, it occurs too many errors and the app crashed quickly.

java.io.FileNotFoundException: /data/user/0/com.foxdebug.acode/app_webview/webview_data.lock: 
open failed: EACCES (Permission denied)

(from adb logcat output)

If applicable, add mockups / screenshots to help present your vision of the feature

No response

blanhhy avatar Nov 30 '25 11:11 blanhhy

It already backup the settings, keybindings, plugins(not the local one), obviously theme , probably there will be any bug with custom font. But what else you want to backup? We can't back-up app state such as opened folders etc as they can't be restored because of saf uri workings etc.

That error is related to reading of some revoked permission files.

bajrangCoder avatar Dec 01 '25 18:12 bajrangCoder

@bajrangCoder I checked again and found that the backup file does contain all the data I wanted to back up. However, during the actual restoration process, it doesn't fully restore to a "ready-to-use" state.

Does the restoration of themes and plugin settings only take effect if the corresponding themes and plugins are already installed locally? If so, that feels a bit limited, because I'd have to manually check what I had installed before.

What I want exactly is either backing up the plugin local resources themselves, or having the restore feature automatically download (or at least prompt me what to download) any missing resources.

blanhhy avatar Dec 02 '25 09:12 blanhhy

It already installs the installed plugins after the restore

bajrangCoder avatar Dec 09 '25 15:12 bajrangCoder

@bajrangCoder no...it didn't install for me

blanhhy avatar Dec 13 '25 09:12 blanhhy