I have been using USB Image Tool to create backups of my installations and then using balenaEtcher to restore them. I have not used Win32DiskImager, but I think it should work. I’m not familiar with Pishrink either, but I used an 8GB eMMC to create the image, then when I flashed it into my 64GB eMMC I was able to add the unallocated space using Disks on Ubuntu.
I think USB Image Tool, should be a good option to backup your Ubuntu Installation.
Win32DiskImager can ONLY capture the entire Micro SD card, or EMMC SSD, even when you select ONLY read partitions, you end up with tons of white space in the img file. This is fine before NVME SSD on SBCs, but now I have a 2TB NVME on a Pi 5, and the OS is only the first 32GB on the NVME. But Win32DiskImager lives up to its name… it wants to capture the entire device!