export saves the file in an inaccessible location
Export saves the file to
/storage/emulated/0/Android/data/org.runnerup/files/runnerup.db.export
but although i can re-import this into runnerup, i cant access it from any other app (eg android 'files' cannot find the file. within termux i can see the file is there with 'ls' file, but apparently not copy it
$ ls -la /storage/emulated/0/Android/data/org.runnerup/files/runnerup.db.export -rw-rw---- 1 u0_a341 sdcard_rw 12271616 Jul 1 15:21 /storage/emulated/0/Android/data/org.runnerup/files/runnerup.db.export $ cp /storage/emulated/0/Android/data/org.runnerup/files/runnerup.db.export . cp: cannot open '/storage/emulated/0/Android/data/org.runnerup/files/runnerup.db.export' for reading: Permission denied
this seems to stop me taking a backup - or importing on a new phone?
could you perhaps make it save the backup to the Downloads folder?
Later Android limits the access rights quite much. Shared paths do not require permissions. The command line app is also restricted. I expected that Android Files to request such permissions. Solid Explorer works for me. So try another file manager.
Some implementation is required to handle the scooped storage framework. There are some issues with requesting permissions from settings too, that was not easily solved (I spent some time on this before going with the current implementation.
Also running into this. The old phone was rooted, and I was able to extract the export, but I can't put it into the right place on the new phone because the included files app doesn't show the folder. Using third party file managers also failed with permission problems for me so far.
What's the point of import/export if it only imports back to the same place of export?
For me, this became an issue when I wanted to get the app from github using obtanium, where I was previously using the f-droid version. The f-droid version stores data in the org.runnerup.free directory, but the release on github used org.runnerup.
I tried several file managers and only the original one had access to Android/data/ and it was read-only. So I was able to export the file but I can't import it. I lost the original org.runnerup.free directory when I uninstalled the F-droid version.
So now I have this useless backup with three years of running that can't be restored until this bug is fixed.
This is a consequence of the Google changed requirements that constantly. That takes the fun of development. Contributions are welcome.
You may build your own version to access the files (but that will not help importing to another build).
So I was able to export the file but I can't import it. I lost the original
org.runnerup.freedirectory when I uninstalled the F-droid version.So now I have this useless backup with three years of running that can't be restored until this bug is fixed.
Would a solution for you be to manually copy your exported file to, e.g., the Downloads folder, and then in RU be able to select that folder when importing?
A file picker should not be too hard
Scooped storage may be OK too, then it is similar to older Androids. That did not work before, maybe OK now after @roberi rewrote the preferences handling.
A file picker should not be too hard
With the Storage Access Framework (uses a system picker), it wasn't hard at all. In a day (or two), I can make a PR..