adb backup

This commit is contained in:
benoit 2019-03-02 15:37:21 +00:00
parent e87a61a69e
commit 40343f746f

View file

@ -26,9 +26,10 @@ No backup strategy for now...
```
$ adb pull -a /sdcard Oneplus6
```
- GalaxyTabS2, monthly TWRP backup (+tar.gz media) to Mikubook /media/sata/$USER/Backups
- GalaxyTabS2, monthly `adb backup` in recovery (+tar.gz media) to Mikubook /media/sata/$USER/Backups
```
$ adb exec-out 'tar --create /sdcard1/media/0 2>/backup-errors.txt' | gzip > media.tar.gz
$ adb backup --twrp --compress system data cache boot efs persist
$ adb exec-out 'tar --create /sdcard1/media/0 2>/backup-errors.txt' | pigz > media.tar.gz
```
Nextcloud is used for some data (photos, some synced folders) and all contacts, permanent synchronization.