Install adb
sudo apt-get -y install adb
Backup with adb
adb backup -apk -obb -shared -all -f ~/Desktop/AndroidBackup.ab
Unlock your phone, authorize usb debugging, and hit “Back up my data”
You may need to enable USB debugging in the developer options in the settings.