Unless you backup the database regularly, to my knowledge there is no way to restore a machine.
However, on the machine side, the most important table is hardware.
If at least 1 table must be saved, it's this one (hardware) !
Otherwise, many tables depend on the hardware table (softwares, devices, plugins, etc.)...