I installed the backup plugin that's supposed to make a copy of the sd card (raspberrypi).
I expected a img or a compressed single file.
I got a number of files.
My question is how to rebuild you sd card from those files.
backup plugin
-
- OMV 4.x
- richprim
-
-
-
Did you overlook the RPi mentioning above? I think we need to differentiate between 3 types of systems:
- x64 (need to restore Grub, partitions and rootfs)
- VideoCore IV AKA RPi (need to restore partition table, ThreadX files on the FAT partition and rootfs on the larger ext4 partition)
- ARM (need to restore partition table, u-boot living at the beginning of the media, contents of /boot and / partitions)
Most probably with 2) and 3) grabbing latest OMV image and replacing the rootfs with backed up contents might work.
-
Did you overlook the RPi mentioning above?
Yep.
x64 (need to restore Grub, partitions and rootfs)
The guide linked to does this.
VideoCore IV AKA RPi (need to restore partition table, ThreadX files on the FAT partition and rootfs on the larger ext4 partition)
I guess I should have the plugin backup any partition that is mount on /boot.
ARM (need to restore partition table, u-boot living at the beginning of the media, contents of /boot and / partitions)
Does u-boot live in the same place (and same size) on all of the omv/armbian images?
-
I guess I should have the plugin backup any partition that is mount on /boot.
Yes, this would be sufficient for both VC4 (VideoCore IV) and ARM SBCs.
Does u-boot live in the same place (and same size) on all of the omv/armbian images?
Unfortunately not. The write_uboot_platform function in /usr/lib/u-boot/platform_install.sh could be used for this in Armbian (will be updated by Armbian if location of u-boot changes). But no idea how ayufan is dealing with this on his images.
-
The write_uboot_platform function in /usr/lib/u-boot/platform_install.sh could be used for this in Armbian (will be updated by Armbian if location of u-boot changes)
That should work well then. I just need to check if platform_install exists.
But no idea how ayufan is dealing with this on his images.
He seems to be putting the images in /usr/lib/u-boot-rockpro64/ on my system.
-
Yes I did not see the RPi info, thanks I will try your suggestion.
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!