Page 1 of 1

Backup up pi Sd

Posted: Wed Dec 13, 2017 12:31 am
by boomramada
Hi I got a raspberry pi with 64gb Sd card, but actual used size is around 8gb. However when I back it up using image reader software, it's comes up to 64gb.

Is there is a way to creating a backed up image file with much less size. I want to move the os from 64 to 32 gb card.

Re: Backup up pi Sd

Posted: Wed Dec 13, 2017 1:03 am
by n67
The standard answer to this question is: piclone

This is a GUI program that can be invoked either from the Terminal command line (as piclone) or via:

Menu -> Accessories -> SD Card Copier

It can be used on a "live" system - you can backup from the running system (on /dev/mmcblk0p?) to a fresh card in the USB card reader (/dev/sda)

Re: Backup up pi Sd

Posted: Wed Dec 13, 2017 1:25 am
by wolbert
What he said. Piclone makes a file based copy. It is different from dd which makes byte for byte copy.

Re: Backup up pi Sd

Posted: Wed Dec 13, 2017 1:59 am
by jcyr
Is there is a way to creating a backed up image file with much less size. I want to move the os from 64 to 32 gb card.
I use these easy personal scripts to do exactly that using my laptop, or desktop PC:

https://github.com/jean-m-cyr/raspbiansd