How to back up Android via Adb on Ubuntu

Go to the settings on your android device. Then enable the developer options, enable USB debugging. Then set a tic to enable the settings

Here you can find the commands to back up your data

First, install these packages to manage everything more elegant

sudo apt-get install android-tools-adb

Plugin your USB cable and accept the access

adb start-server
adb backup -apk -shared -all #or you can use also this command
adb backup -apk -shared -all -f mybackupfile.adb

To restore everything you can use this command

adb restore mybackupfile.adb

Enable USB debugging

https://net2.com/how-to-backup-and-restore-your-android-device-with-adb-on-ubuntu/

Some additional further reading in German, maybe for future articles in German? ¯_(ツ)_/¯

https://www.droidwiki.org/wiki/Android_Debug_Bridge

Bonus: https://tutswiki.com/access-internet-on-linux-using-android-tethering/