solo2500
Posts: 123
Joined: Sat Jul 09, 2016 12:38 am

Backing up SD card

Fri Aug 05, 2016 2:23 pm

Ok... I'm at the point where I need to back up my perfectly running Rpi3b. (after weeks of tweaking and finally a stable platform!)
I'm on a windows machine so I intend to use Win32DiskImager. However I have a few questions.
1. Does the "replacement" SD card have to be the same size?
2. Can the image be used on an identical Pi model... Or will there be serial number problems? If so, is there a way around this?

Next project is to set up a RAMDISK to try and minimise SD card failure! any thoughts?

THANKS ALL!!!!!
I'm a total novice, non-programer (...basically a hack.)

User avatar
RaTTuS
Posts: 10559
Joined: Tue Nov 29, 2011 11:12 am
Location: North West UK
Contact: Twitter YouTube

Re: Backing up SD card

Fri Aug 05, 2016 2:33 pm

1) yes - though you will probably never find a SDcard the same size
2) yes - no

re- 1) either shrink your sdcard a bit and back that up
or backup the individual partitions
or backup across the network to a remote drive using rsync
How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV

1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe

fruitoftheloom
Posts: 23337
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Backing up SD card

Fri Aug 05, 2016 2:48 pm

solo2500 wrote:Ok... I'm at the point where I need to back up my perfectly running Rpi3b. (after weeks of tweaking and finally a stable platform!)
I'm on a windows machine so I intend to use Win32DiskImager. However I have a few questions.
1. Does the "replacement" SD card have to be the same size?
2. Can the image be used on an identical Pi model... Or will there be serial number problems? If so, is there a way around this?

Next project is to set up a RAMDISK to try and minimise SD card failure! any thoughts?

THANKS ALL!!!!!
If you are using Raspbian Jessie as your OS, it now includes a SD Card Copier Utility:

https://www.raspberrypi.org/blog/anothe ... e-raspbian


Alternatively maybe rpi-clone will suffice:

https://github.com/billw2/rpi-clone/blo ... /README.md


FYI the RPi can boot from USB Drive: https://www.raspberrypi.org/blog/pi-3-b ... orage-boot

.
Rather than negativity think outside the box !
RPi 4B 4GB (SSD Boot)..
Asus ChromeBox 3 Celeron is my other computer...

solo2500
Posts: 123
Joined: Sat Jul 09, 2016 12:38 am

Re: Backing up SD card

Fri Aug 05, 2016 3:18 pm

Just so I understand this...

I need to resize my my "current" SD card an exact size that will fit on a replacement card... (is this done with Win32diskimager?)
And this new card will not work in any other machine. Only the original!

Thanks for indulging my ignorance.

RaTTuS wrote:1) yes - though you will probably never find a SDcard the same size
2) yes - no

re- 1) either shrink your sdcard a bit and back that up
or backup the individual partitions
or backup across the network to a remote drive using rsync
I'm a total novice, non-programer (...basically a hack.)

User avatar
RaTTuS
Posts: 10559
Joined: Tue Nov 29, 2011 11:12 am
Location: North West UK
Contact: Twitter YouTube

Re: Backing up SD card

Fri Aug 05, 2016 3:19 pm

solo2500 wrote:Just so I understand this...

I need to resize my my "current" SD card an exact size that will fit on a replacement card... (is this done with Win32diskimager?)
And this new card will not work in any other machine. Only the original!

Thanks for indulging my ignorance.
no the resize is done via linux
and it will work on any new machine
but see fruits answer as a better method
How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV

1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe

solo2500
Posts: 123
Joined: Sat Jul 09, 2016 12:38 am

Re: Backing up SD card

Fri Aug 05, 2016 3:22 pm

Oops... I didn't even see fruits reply... THANKS!!!
I'm a total novice, non-programer (...basically a hack.)

fruitoftheloom
Posts: 23337
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Backing up SD card

Fri Aug 05, 2016 3:39 pm

solo2500 wrote:Oops... I didn't even see fruits reply... THANKS!!!
You will have better results using Linux Tools. :D

Also be aware that not all SD Cards are the same size, even from the same Manufacturer, they can vary by a few bytes in size, which is why with Win32Formatter you need to reduce the partition size before cloning. ;)
Rather than negativity think outside the box !
RPi 4B 4GB (SSD Boot)..
Asus ChromeBox 3 Celeron is my other computer...

solo2500
Posts: 123
Joined: Sat Jul 09, 2016 12:38 am

Re: Backing up SD card

Fri Aug 05, 2016 3:43 pm

THANKS!
I think I will avoid the windows app.
fruitoftheloom wrote:
solo2500 wrote:Oops... I didn't even see fruits reply... THANKS!!!
You will have better results using Linux Tools. :D

Also be aware that not all SD Cards are the same size, even from the same Manufacturer, they can vary by a few bytes in size, which is why with Win32Formatter you need to reduce the partition size before cloning. ;)
I'm a total novice, non-programer (...basically a hack.)

Return to “Beginners”