So, today I have managed to accidentally overwrite my GPT. None of my files were touched, but the partitions don't exist anymore.
I booted a USB to do an update, but as it turns out, the USB was meant to reinstall the system and created a new GPT in the process. Cos, why not?
Anyway, as soon as diskpart said that it had created a new GPT I stopped the script.
The disk in question fairly small and had a very simple partition table, with just an EFI partition, a windows partition and an OEM recovery partition (which I obviously don't have a copy of. I mean, who on earth makes backups?).
So, is there any bootable software that can restore my GPT somehow?