How to backup/restore u-boot?

Hi,

I would like to know, how to backup / restore u-boot manually (my case is C2 + SD Card, but I assume it will be similiar for all devices).

I understand, I can restore u-boot by

mount -o remount,rw /flash
dd if=Odroid_C2_u-boot of=/dev/mmcblk0 conv=fsync bs=1 count=112 status=none
dd if=Odroid_C2_u-boot of=/dev/mmcblk0 conv=fsync bs=512 skip=1 seek=1 status=none
mount -o remount,ro /flash

But I am a bit struggling, how to make “live backup”.

parted /dev/mmcblk0 'unit s print'
Model: SD SA16G (sd/mmc)
Disk /dev/mmcblk0: 30375936s
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:

Number  Start     End        Size       Type     File system  Flags
 1      2048s     2099199s   2097152s   primary  fat16
 2      2099200s  30361599s  28262400s  primary  ext4

dd if=/dev/mmcblk0 of=/storage/bootloader.bin bs=512 count=2048

bootlader.bin is a bit different from the original bootloader (tested on 8.99.1)


.
.