Skip to content

alanbutidk/ADBBackup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

ADBBackup

A simple command line tool to back up your Android device over ADB without using the ancient adb backup command (which is deprecated and honestly never worked properly anyway).

Pulls your files directly from the device storage and saves them on your PC. That's it.


Installation

Grab the latest ADBBackup.exe from the releases page and put it somewhere on your PATH. No Python needed.

You'll also need adb.exe from the Android platform tools. If you already have Android Studio installed, you probably have it already.


Usage

ADBBackup --adbpath C:\platform-tools\adb.exe --allmediabackup

If adb is already in a standard location, you can skip --adbpath entirely and it'll find it automatically. If you're not sure where it is, --recursive_adb_search will scan your drives for it.


Commands

--photobackup backs up photos only.

--photovideobackup backs up photos and videos.

--allmediabackup backs up everything media related, photos, videos and audio.

--allbackup backs up all of the above plus APK files.

--adbpath <path> lets you point to adb.exe manually if it's somewhere unusual.

--recursive_adb_search scans all connected drives to find adb.exe automatically.

--help prints usage.

--version prints the version.


Requirements

Your phone needs USB Debugging enabled. Go to Settings, find Developer Options, and turn on USB Debugging. If you've never done this before, you'll need to tap the Build Number in About Phone seven times to unlock Developer Options first.

Once plugged in, your phone will ask you to authorize the connection. Hit Allow.


How it works

ADBBackup uses adb pull to copy files from /storage/emulated/0/ on your device to a backup folder on your PC. The folder gets created automatically in whatever directory you run the command from.

No deprecated commands, no black box backup formats, just files.


License

GPLv3. Free to use, modify and redistribute. See LICENSE for details.

About

No description, website, or topics provided.

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors

Languages