From bfb3b53ae67efb5b211e176881047c411229c589 Mon Sep 17 00:00:00 2001 From: benoit Date: Sat, 2 Mar 2019 17:34:28 +0000 Subject: [PATCH] added dd --- BackupStrategy.page | 2 ++ 1 file changed, 2 insertions(+) diff --git a/BackupStrategy.page b/BackupStrategy.page index 70cb9b1..f458983 100644 --- a/BackupStrategy.page +++ b/BackupStrategy.page @@ -31,6 +31,8 @@ $ tar cvf - Oneplus6 | lz4 > Oneplus6.tar.lz4 && rm -rf Oneplus6 ``` $ 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 +$ adb shell 'dd if=/dev/block/mmcblk0' | lz4 > mmcblk0.img.lz4 +$ adb shell 'dd if=/dev/block/mmcblk1' | lz4 > mmcblk1.img.lz4 ``` Nextcloud is used for some data (photos, some synced folders) and all contacts, permanent synchronization. \ No newline at end of file