Unable connect to SBC due to accidental removal of iproute2 during uninstallation of PiHole

What can I do in this situation?

  • When the system is running smoothly, make a backup onto a new USB stick, then follow the steps as you mentioned in these topic1 topic2
  • Create a full backup of the SD card as an image?
  • If I mount the SD card storage to another device and restore it using a script and backup files, is this method feasible? If so, where should I start?