I have a Raspberry Pi 3B+ that I use for random tinkering projects.
What would be the correct way of backing up the entire "state" of the Pi, including any downloads, apps, scripts, settings, etc? Assume that only the SD card is used, not any other storage media.
The ideal outcome is that I can flash an entirely different project's image to the SD card, tinker with that, then go back to flashing the original SD card with all the settings / scripts / apps.
What's the best way to do this backup, and how do I flash the original file back to the SD card when I'm ready? Or is my only option simply buying an SD card for every "project"?
I'm currently using Raspbian but will probably use other OS's depending on the project I'm working on.
I found a similar question but that was asked 6 years ago, and was too advanced for me - I'm a beginner.