I'm currently working on a Raspberry Pi 3 Model B+ with Raspbian Stretch, and I have installed several libraries such as TensorFlow and OpenCV. These installations took quite some time to do, and I wouldn't want to do them from scratch again if in case something happens to my SD Card or my Pi. I know that Raspbian Stretch came with a built in "SD Card Copier", and I was actually able to clone my 32GB SD Card to another 32GB SD Card which was then used on another Raspberry Pi 3 B+ board.
The clone was copied perfectly, and the other board was able to boot without problems.
However, I was thinking if there's a way to copy and backup the SD Card entirely as an image that balenaEtcher can use to write onto an SD Card? My general plan is that I'd back up SD Card in my Mac laptop as an image from time to time, and then when the need arises, I'll get use balenaEtcher to write that backup into a fresh SD Card.
I have done research and I have come across some guides that recommend using DiskUtil on the Terminal, however, those guides are pretty old and when I use
diskutil list with my SD Card attached, my Mac can't properly identify the SD Card's Type and Name.
This was the most recent guide I saw. However it only runs on Windows and it will be overkill if I have to install VM or Bootcamp just to backup an SD Card.
Has anyone have an updated fool proof way of cloning a Raspbian Stretch SD Card?