grubparts is only meant to restore grub and partition table info not partitions. The uefi partition is a full partition and would require a separate file (and restore) of its own. I guess I can look at backing that up too.
Allright, thanks for the clarification.
The UEFI partition is usually 512 MB but Debian/OMV only uses 136KB, so there is virtually no space and time required to back it up. It has a boot flag, so it should be easy for you to build a logic to detect it and back it up.
This would be a great addition, because means we could restore an entire OMV setup to a new disk with only few commands in systemrescuecd, and not to do other this like reinstalling OMV (to be honest I haven't thought about it).