What is ADB?
ADB stands for Android Debug Bridge. As the name suggests it is intended for developers to debug apps from her/his machine. ADB is a part of Android SDK which is available for Linux, Mac and Windows Desktop OS’s.
How to Connect to ADB?
You need a PC and the compatible cable (Micro USB in most cases, can be proprietary) to connect your Android Phone/Tablet. To use ADB interface enable USB Debugging in your phone under Developer Options. You can enable Developer Options menu in Android 4.0 and up by tapping Build Number under About Phone or About Tablet menu for 7 time repetitively. After you get the toast message confirmation, hit back and Developer Options will appear around About menu. Enable USB Debugging under the same. ADB command which you need to run on your PC is included in Android SDK’s “platform-tool” directory. You also need driver for your device which can be downloaded via most of the manufacturer’s website, otherwise XDA-Developers is a good source for the same.
Create ADB Backup
After you have connected everything, open a command prompt / shell in the directory you want backup to be saved —
adb devices