An open API service indexing awesome lists of open source software.

https://github.com/QC2168/mib

A backup tool based on Node.js and ADB development, according to your configuration will automatically migrate data files on mobile devices to the computer backup, support incremental backup
https://github.com/QC2168/mib

adb android nodejs typescript

Last synced: 6 months ago
JSON representation

A backup tool based on Node.js and ADB development, according to your configuration will automatically migrate data files on mobile devices to the computer backup, support incremental backup

Awesome Lists containing this project

README

          

# MIB
一款基于`electron`+`react`+`typescript`的开发的备份工具(GUI),根据你的配置自动将移动设备上的数据文件迁移备份至电脑上,支持增量备份。

![Home](https://github.com/QC2168/mib/blob/client/public/home.png)

## 🌈 功能
- [x] USB连接备份数据
- [x] 无线连接备份数据
- [x] 增量备份
- [x] 多设备备份选择
- [x] 单节点全量备份
- [x] 单节点选择备份
- [x] 主题切换
- [x] 已备份数据类型分析

## 🚀 如何开启adb模式
[在设备上启用 adb 调试](https://developer.android.com/studio/command-line/adb?hl=zh-cn#Enabling)

## 🌊 如何使用无线连接

[通过 Wi-Fi 连接到设备(Android 10 及更低版本)](https://developer.android.com/studio/command-line/adb?hl=zh-cn#wireless)

[通过 Wi-Fi 连接到设备(Android 11 及更高版本)](https://developer.android.com/studio/command-line/adb?hl=zh-cn#connect-to-a-device-over-wi-fi-android-11+)

## 📁 MIB 配置文件 .mibrc

> 默认配置文件存放在用户目录下
>
> 当前版本已支持在软件内部编辑,无需手动改动配置文件

``` JSON
{
"backups": [
{
"path": "/sdcard/DCIM/Camera/",
"comment": "本地相册"
},
{
"path": "/sdcard/DCIM/Screenshots/",
"comment": "屏幕截屏"
},
{
"path": "/sdcard/MIUI/sound_recorder/",
"comment": "录音"
},
{
"path": "/sdcard/MIUI/sound_recorder/app_rec/",
"comment": "应用录音"
},
{
"path": "/sdcard/MIUI/sound_recorder/call_rec/",
"comment": "通话录音"
}
// 添加更多的备份节点
],
// 推荐使用绝对路径
"output": "E:/files",
// 读取扫描忽略文件、文件夹名称
"ignoreFileList": []
}
```

### 🧱 节点选项

| 属性 | 类型 | 描述 | 是否必选 |
| ------- | ------- | -------------------- | -------- |
| path | String | 设备备份路径 | 是 |
| comment | String | 节点说明 | 是 |
| full | Boolean | 当前节点全量备份 | 否 |
| output | Boolean | 指定当前节点导出路径 | 否 |