Ich mache meinen Post zum Thema Fullbackup am besten nochmal als eigenes Thema auf.
Ich habe es in letzter Zeit im Zusammenhang mit Update/newflash manchmal so gemacht:
- erste Partition - stablies Notfall-Image
- zweite Partition - aktives Image
- dritte Partition - Backup Image
1. Backup von der aktuellen Partition (2)
2. Restore auf Backup-Partition (3)
3. Update/new flash auf (2)
Also habe ich in dem Fall ein lauffähiges Backup. Ich habe dann auch von diesem gebootet und ein new flash auf die (2) gemacht.
Ich denke, man müßte das Ganze abkürzen können, indem man quasi live die Partitionen klont, oder?
Zum Beispiel mit "dd"?
Was meinen die Experten?
So schaut die Umgebung aus:
root@ax51:~# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 2,7T 0 disk
└─sda1 8:1 0 2,7T 0 part /media/hdd
mmcblk0 179:0 0 3,7G 0 disk
├─mmcblk0p1 179:1 0 3M 0 part /home/root/test
├─mmcblk0p2 179:2 0 8M 0 part
├─mmcblk0p3 179:3 0 800M 0 part
├─mmcblk0p4 179:4 0 8M 0 part
├─mmcblk0p5 179:5 0 800M 0 part /home/root/test1
├─mmcblk0p6 179:6 0 8M 0 part
├─mmcblk0p7 179:7 0 800M 0 part /
├─mmcblk0p8 179:8 0 8M 0 part
├─mmcblk0p9 179:9 0 800M 0 part
└─mmcblk0p10 179:10 0 491M 0 part [SWAP]
mmcblk0boot0 179:16 0 2M 1 disk
mmcblk0boot1 179:32 0 2M 1 disk
mmcblk0rpmb 179:48 0 128K 0 disk
lrwxrwxrwx 1 root root 9 Sep 19 13:28 /dev/root -> mmcblk0p7
Also ist p7 meine aktuelle Partition.
root@ax51:~# mount /dev/mmcblk0p1 /home/root/test
root@ax51:~# ls -l /home/root/test
-rwxr-xr-x 1 root root 113 Aug 3 12:15 OpenATV
-rwxr-xr-x 1 root root 113 Aug 3 12:15 OpenHDF
-rwxr-xr-x 1 root root 113 Aug 3 12:15 OpenHDF 2
-rwxr-xr-x 1 root root 113 Aug 3 12:15 OpenHDF 3
-rwxr-xr-x 1 root root 113 Sep 19 11:35 STARTUP
Das sind meine Partitionsdefinitionen.
Das sind meine Partitionen:
root@ax51:~/test# cat OpenATV
boot emmcflash0.kernel4 'brcm_cma=440M@328M brcm_cma=192M@768M root=/dev/mmcblk0p9 rw rootwait hd51_4.boxmode=1'
root@ax51:~/test# cat "OpenHDF"
boot emmcflash0.kernel1 'brcm_cma=440M@328M brcm_cma=192M@768M root=/dev/mmcblk0p3 rw rootwait hd51_4.boxmode=1'
root@ax51:~/test# cat "OpenHDF 2"
boot emmcflash0.kernel2 'brcm_cma=440M@328M brcm_cma=192M@768M root=/dev/mmcblk0p5 rw rootwait hd51_4.boxmode=1'
root@ax51:~/test# cat "OpenHDF 3"
boot emmcflash0.kernel3 'brcm_cma=440M@328M brcm_cma=192M@768M root=/dev/mmcblk0p7 rw rootwait hd51_4.boxmode=1'
Kann ich auch mounten und zugreifen:
root@ax51:~/test# mount /dev/mmcblk0p5 /home/root/test1
Das ist jetzt meine Standby-Backup-Partition.
Müßte man jetzt nicht p7 auf p5 "kopieren" können?
(Meine Box ist quasi "produktiv", da kann ich nur sehr eingeschränkt experimentieren ...
Ich habe es in letzter Zeit im Zusammenhang mit Update/newflash manchmal so gemacht:
- erste Partition - stablies Notfall-Image
- zweite Partition - aktives Image
- dritte Partition - Backup Image
1. Backup von der aktuellen Partition (2)
2. Restore auf Backup-Partition (3)
3. Update/new flash auf (2)
Also habe ich in dem Fall ein lauffähiges Backup. Ich habe dann auch von diesem gebootet und ein new flash auf die (2) gemacht.
Ich denke, man müßte das Ganze abkürzen können, indem man quasi live die Partitionen klont, oder?
Zum Beispiel mit "dd"?
Was meinen die Experten?
So schaut die Umgebung aus:
root@ax51:~# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 2,7T 0 disk
└─sda1 8:1 0 2,7T 0 part /media/hdd
mmcblk0 179:0 0 3,7G 0 disk
├─mmcblk0p1 179:1 0 3M 0 part /home/root/test
├─mmcblk0p2 179:2 0 8M 0 part
├─mmcblk0p3 179:3 0 800M 0 part
├─mmcblk0p4 179:4 0 8M 0 part
├─mmcblk0p5 179:5 0 800M 0 part /home/root/test1
├─mmcblk0p6 179:6 0 8M 0 part
├─mmcblk0p7 179:7 0 800M 0 part /
├─mmcblk0p8 179:8 0 8M 0 part
├─mmcblk0p9 179:9 0 800M 0 part
└─mmcblk0p10 179:10 0 491M 0 part [SWAP]
mmcblk0boot0 179:16 0 2M 1 disk
mmcblk0boot1 179:32 0 2M 1 disk
mmcblk0rpmb 179:48 0 128K 0 disk
lrwxrwxrwx 1 root root 9 Sep 19 13:28 /dev/root -> mmcblk0p7
Also ist p7 meine aktuelle Partition.
root@ax51:~# mount /dev/mmcblk0p1 /home/root/test
root@ax51:~# ls -l /home/root/test
-rwxr-xr-x 1 root root 113 Aug 3 12:15 OpenATV
-rwxr-xr-x 1 root root 113 Aug 3 12:15 OpenHDF
-rwxr-xr-x 1 root root 113 Aug 3 12:15 OpenHDF 2
-rwxr-xr-x 1 root root 113 Aug 3 12:15 OpenHDF 3
-rwxr-xr-x 1 root root 113 Sep 19 11:35 STARTUP
Das sind meine Partitionsdefinitionen.
Das sind meine Partitionen:
root@ax51:~/test# cat OpenATV
boot emmcflash0.kernel4 'brcm_cma=440M@328M brcm_cma=192M@768M root=/dev/mmcblk0p9 rw rootwait hd51_4.boxmode=1'
root@ax51:~/test# cat "OpenHDF"
boot emmcflash0.kernel1 'brcm_cma=440M@328M brcm_cma=192M@768M root=/dev/mmcblk0p3 rw rootwait hd51_4.boxmode=1'
root@ax51:~/test# cat "OpenHDF 2"
boot emmcflash0.kernel2 'brcm_cma=440M@328M brcm_cma=192M@768M root=/dev/mmcblk0p5 rw rootwait hd51_4.boxmode=1'
root@ax51:~/test# cat "OpenHDF 3"
boot emmcflash0.kernel3 'brcm_cma=440M@328M brcm_cma=192M@768M root=/dev/mmcblk0p7 rw rootwait hd51_4.boxmode=1'
Kann ich auch mounten und zugreifen:
root@ax51:~/test# mount /dev/mmcblk0p5 /home/root/test1
Das ist jetzt meine Standby-Backup-Partition.
Müßte man jetzt nicht p7 auf p5 "kopieren" können?
(Meine Box ist quasi "produktiv", da kann ich nur sehr eingeschränkt experimentieren ...
_________________________________________________________________
GB ue 4k mit ST3000LM024-2AN1 und Synology über Denon X1700H an LG OLED OLED65C17LB
AX 4K HD51 mit Synology an OLED55C8LLA
Anadol Multibox SE an Samsung c
ET10000 an Pioneer PDP-436RXE
Unicable mit IG-IDLU-UST110-CUO4O-32P
GB ue 4k mit ST3000LM024-2AN1 und Synology über Denon X1700H an LG OLED OLED65C17LB
AX 4K HD51 mit Synology an OLED55C8LLA
Anadol Multibox SE an Samsung c
ET10000 an Pioneer PDP-436RXE
Unicable mit IG-IDLU-UST110-CUO4O-32P
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von fern-seher ()