I want to use dd under linux to make a backup image of my disk. With sata devices there is a /dev/sda for the disk, and /dev/sdaX for each partition.
But with this nvme I see /dev/nvme0, /dev/nvme0n1, and /dev/nbme0n1pX. That last is clearly the partitions, but which of the former should I use to backup my disk? (nvme0 vs nvme0n1).
What is the purpose of having 2 devices representing the disk?
And when I restore the disk, to which device do I write?