There are several ways including one Tim and Kent have written about but which i can't find... I'm sure they'll be along soon to fix my ailing memory...
However, depending on your o/s these sites have full sd card image backup details if you want to do a reinstall of your current working system...
https://eltechs.com/raspberry-pi-backup/
https://www.raspberrypi.org/magpi/back-up-raspberry-pi/
https://www.raspberrypi.org/documentatio.../backup.md
However, depending on your o/s these sites have full sd card image backup details if you want to do a reinstall of your current working system...
https://eltechs.com/raspberry-pi-backup/
https://www.raspberrypi.org/magpi/back-up-raspberry-pi/
https://www.raspberrypi.org/documentatio.../backup.md
----------
bob
bob