Yesterday I was trying to shrink my Gentoo Linux partition with LUKS encryption to make place for another distribution, but because it was an LVM partition I was just trying random commands from the internet not knowing what they did which was fairly stupid. I have 3 Logical volumes, /dev/mapper/vg0-root, /dev/mapper/vg0-var and /dev/mapper/vg0-home.
I ended up accidentally running mke2fs on my /dev/mapper/vg0-home partition, and afterwards I found out that this formatted my partition to an ext2 partition and that I lost all my data.
Testdisk didn't find anything because I don't think it can recover files on logical volumes and vgcfgrestore didn't result in any luck either.