jensstein / oandbackup

backup manager for android
Other
539 stars 193 forks source link

Backup success but no data is copied #209

Open 28446 opened 6 years ago

28446 commented 6 years ago

Hi, I'm on a 5.1 rooted meizu flavored (flyme 6.1.0) android device and oandbackup produce only directory whit .log inside, no data. It' is compatible whit 5.1? If not never mind.

I would use oandbackup to make a backup of messages and contacts, I can do

cp /data/data/com.android.providers.contacts/databases/contacts2.db /mnt/sdcard/oandbackups/

and it works, I use termux as terminal. Is oandbackup relay on android api? Or it use cp? My suggestion is to add a fall back to cp option. This "Flyme" is quiet outdated and, I suppose, locked.

Plus, It need busybox or toybox? I've installed busybox and (manually) toybox after reading message about the absence of the latter. Then it started complaining about toybox>$test absence, but $test is not in toybox but in busybox.

Finally, I've symlinked a directory that oandbackup complain did not found, a path I' ve never entered in config and that does not exist in the fs hierarchy but that oandbackup need. This device, MX4, does not have external SD slot.

Thank you

catto.log

ildar commented 6 years ago
  1. You need either busybox or toybox. Having both should work but I haven't heard about such cases.
  2. In case you have toybox you need to expicitly set it in OAB, see https://github.com/jensstein/oandbackup/issues/116
  3. OAB actually uses cp/chmod and such for its work.
  4. When testing please try a few apps, see if the result is different

Hope it helps