I think you can use CloneZilla. I have used it for backup an entire ssd on my laptop and I have restored it without any problem. You can make a bootable usb with a CloneZilla image and boot Clonezilla Live to do the backup, it is very simple, there are a lot of tutorials in internet.