Coder Social home page Coder Social logo

Comments (6)

mrrfv avatar mrrfv commented on August 18, 2024

Do you have any contacts saved on the phone? Did you export data in the companion app as requested by the script?

from open-android-backup.

kaxlabs avatar kaxlabs commented on August 18, 2024

I do have contacts saved and I used the companion app both times at the beginning of the program. I clicked export data and gave it permission when prompted.

from open-android-backup.

mrrfv avatar mrrfv commented on August 18, 2024

That's very odd, none of my test devices exhibit this type of behavior. Could you replace the get_file function (in backup.sh) with the following and see if it fixes anything?

# Usage: get_file <directory> <file> <destination>
function get_file() {
  if [ "$export_method" = 'tar' ]; then
    adb exec-out "tar -c -C $1 $2 2> /dev/null" | pv -p --timer --rate --bytes | tar -C $3 -xf -
  else # we're falling back to adb pull if the variable is empty/unset
    if [ "$2" = '.' ]; then
        adb pull $1 $3
    else
        adb pull $1/$2 $3
    fi
  fi
}

from open-android-backup.

kaxlabs avatar kaxlabs commented on August 18, 2024

It still happens. I've uploaded the log to pastebin: https://pastebin.com/RChTvs01
Is there a way to skip contacts as a workaround maybe?

from open-android-backup.

mrrfv avatar mrrfv commented on August 18, 2024

You can skip contacts by commenting get_file /storage/emulated/0/linux-android-backup-temp . ./backup-tmp/Contacts in backup.sh, but the log you posted shows that this could be a larger issue - it seems like the companion app is unable to create the folder used to get the contacts from the device. Did you allow the "All files access" permission when requested by the companion app?

from open-android-backup.

mrrfv avatar mrrfv commented on August 18, 2024

Closing due to a lack of response from the issue author.

from open-android-backup.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.