Edit: If you use a sd card as OS drive, making a disk image should be a good option, some of the steps in the linked post should be the same, the tech might be different. I use the gnome disks app to create backup images of running pi systems on SD cards that would take longer then a manual config to restore.