I am pretty new to linux. I mostly started learning after I purchased a couple of Raspberry Pis. I like to make backups of my images as I have often made the mistake of corrupting my data :).
Normally I use dd:
dd of=mybackup.img in=/dev/diskX bs=2m
Since my image is on an SD Card, the back up image takes the whole size of the SD card. For example, the size of the actually images is around 30mb, but the SD card is 32gb. The backup images is 32gb. I normally will zip/compress the file down to about 2gb. Still, I would like to back up the partition only e.g 30mb.
if I type
I see the partition:
Filesystem 512-blocks Used Available Capacity iused ifree %iused Mounted on /dev/disk3s1 114576 38192 76384 34% 512 0 100% /Volumes/boot
Can I use
dd to backup the partition