A Node.js command-line tool to create backups from Android devices using ADB (Android Debug Bridge). Allows you to browse device storage, select folders, and securely pull files to your computer.
- ✅ Connect to Android devices via USB or Wi-Fi
- ✅ Browse device directories and select folders to back up
- ✅ Interactive CLI with prompts for folder selection
- ✅ Supports multiple devices
- ✅ Creates backups locally with automatic folder creation
- ✅ Handles large file transfers using ADB
# Clone the repo
git clone https://github.com/yourusername/android-backup-cli.git
cd android-backup-cli
# Install dependencies
npm install
# Optional: make it globally executable
npm link# Start the app
node index.jsSelect your device from the list (paired via ADB).
Choose a folder from your device storage to back up.
Confirm your backup choice.
The selected folder will be downloaded to your computer.\
Select a device:
> adb-ZY32LD7ZGB-EDrqlb
> Connected successfully!
Select a folder to back up:
> DCIM
> Do you want to back up this folder or a subfolder?
> Back up this folder
Starting backup...
✔ Backup completed successfully!
Contributions are welcome! Please submit a PR or open an issue if you have suggestions or bug reports.
ISC License © 2025 Alexis Isidoro Bolaños Avalos