I dont know if this is the correct sub for this, but i want to image my pi 4 disk to my external disk i use for backups. before i was only imaging the sd card with dd and compressing it at the same time, but now i migrated everything to the external ssd that is 250gb. so dd runs for ever with the compression and only around 40gb is used how can i make an exact copy of my disk without taking up a lot of space?
My only image backup right now is one that i did dd the whole disk onto my hdd and then used 7zip on windows to compress it down to 200gb and it took all night to compress this on my laptop
The pi 4 is the 8gb one and i want to image it (or do some kind of system backup )using the pi it self to do the job onto the external hdd. It runs raspbery pi os (debian 13) without a gui (headless)
edit: the pi 4 only uses a 250gb ssd for its os