Tool: zer0 backup
Last updated: September 17, 2025
See overview -> Tools
zer0-backup
Back up common user data folders from the device via ADB.
Usage zer0-backup [--dest DIR] [--zip] [--bugreport] [--include DIR]... [--exclude DIR]... [--yes] [--dry-run] [--verbose]
What it does
- Creates a timestamped backup directory on host.
- Pulls typical media/docs folders from internal storage (sdcard): DCIM, Documents, Download, Pictures, Movies, Music.
- Optionally captures a bugreport ZIP.
Options
- --dest DIR Output directory (default: ./backups)
- --zip After copying, create a .tar.gz archive of the backup
- --bugreport Include
adb bugreport(can be large, slow) - --include DIR Extra folder to include (repeatable). Examples: /sdcard/Android/data/com.example.app/files
- --exclude DIR Folder to skip (repeatable). Examples: /sdcard/Movies
Summary
- Prints number of files copied and total size on host.