I have been using a desktop version of Pi OS - Bullseye on my Pi Zero 2 and I think it's a good time to try headless as I am getting used to controlling my pi through SSH. I am planning to use Pi OS Lite Bullseye (64bit).
My question is how to back up the headless OS. For the desktop version, it's pretty much just one-click copy and done.
Surprisingly there is not much information about how to easily copy the sd card. It looks like the Windows pi imager does not have the functionality which would be very useful though.
If you have done a headless sd card backup (clone), could you guide me on how to do it in a terminal or any easy/secure method? Any reference would be very useful as well.
Thanks!