Searching reveals
'Disks' is a 'GNOME Disk Utility'.
'img' file created by it is just a block-level copy of partition or whole disk (whatever you choose when backup), created with dd
utility.
You need to download and burn Ubuntu live-cd/dvd/usb, boot your computer with it and restore partition from .img file with 'GNOME Disk Utility'.
If 'GNOME Disk Utility' can't restore selected partition from whole disk image (it's not well documented) then you may use dd
as your last resort.
To use restore with dd
boot from live-cd, open shell and execute
losetup -P -f --show filename_of_your_img_file
It creates loop- aka 'virtual' device partitions, one /dev/loopXpY per partition (/dev/loop0p1, /dev/loop0p2...), from your 'img' file where X is disk number, Y - partition number.
You should identify visually what of /dev/loopXpY is your Ubuntu backup partition with
lsblk
and
file /dev/loopXpY
Or yo may mount those loop partitions one by one
mount /mnt /dev/loopXpY
and check filesystem's content with ls
o midnight commander.
After you figured out which partition is the your ubuntu backup you may copy partition from backup .img file like
dd if=/dev/loopXpY of=/dev/sdZN
where is /dev/loopXpY is backuped Ubuntu partition and /dev/sdZN is yor Ubuntu partition on hard drive.
Check
https://askubuntu.com/questions/1356134/img-file-restore-to-disk-partition
https://askubuntu.com/questions/69363/mount-single-partition-from-image-of-entire-disk-device
https://askubuntu.com/questions/768876/what-is-the-format-of-img-files-created-by-gnome-disk-utility
http://comfilewiki.co.kr/en/doku.php?id=cupc:backup_restore:index
udisksctl loop-setup -f imagefile
. The partitions should become visible as/dev/loopXpY
. – Hermann Jul 25 '22 at 23:39