How to Back Up and Restore a Raspberry Pi SD Card Image Safely
How to Back Up and Restore a Raspberry Pi SD Card Image Safely
Clone a working Pi SD card to an image file with dd (or Raspberry Pi Imager's custom-image option) and restore it safely onto a new card.

