I want to use Disk Utility to clone my whole internal 500 GB SSD to an image (Intel Mac from 2016). But my first attempts didn't work. I started in Recovery Mode and tried to clone the SSD from there. But I got immediately a message like "drive is busy". I then deactivated all of my APFS volumes on that SSD using Disk Utility. After that, the cloning worked, but the resulting image was only 60 GB of size and the cloning also finished much to fast, so it is clear that not my whole drive was cloned. I assume that the previously deactivated APFS volumes were not cloned within that process.
I then tried the very same procedure by booting macOS from an external hard drive and doing the cloning of the internal SSD from there. But the problems were the very same.
Has anybody of you succeeded in doing such a clone backup?
Please note that I want to use some internal Mac tool for that clone. I've already successfully created such a clone with Clonezilla. But for pretty specific reasons, I need another clone done by Disk Utility or by some other macOS native tool.
ChatGPT suggested that such a clone could also be done through the command line by using something like:
hdiutil create \
-srcdevice /dev/disk0 \
-format UDRO \
-o "/Volumes/Backup/Macbook-full.dmg"
I haven't looked into that deeper for now, but am ready to check it out if Disk Utility isn't working. Anybody has tried something like this?
EDIT:
The whole idea of all this is to have a full disk backup. If my Mac is getting broken, I could buy the very same Mac model on the used market, restore the clone, and everything will be like before.