- Hi there I'm Rob from The MagPi,
the official Raspberry Pi Magazine
and today I'm doing something
a little bit different.
I'm going to show you how
the backup your Raspberry Pi.
(upbeat music)
So there are several methods of backing
up your Raspberry Pi
but we're gonna show you
a couple of the more easy yet important,
methods in this video.
The first one is a quick
and easy way to backup
your important files,
that anyone can do thanks
to a humble USB stick.
Now the point of backing up your files
is that you have a copy
in a different location.
That can just be this USB
stick for this purpose.
Find a spare USB port on your Raspberry Pi
and plug it in.
It should automatically
open a little window
showing the contents of
inside the USB stick.
But if it doesn't,
click on the folder icon on the topbar,
click on the computer, media, pi
and then the folder inside.
Open up another file window
and click on the up button
to go up one level to the home folder.
Now in this home folder, right
click on pi and select copy
then go to the USB folder,
right click again and then click paste.
In this home folder is all
your important documents
and pictures and programs and such.
With this method you can copy
it all over pretty quickly.
From here you can then copy over
to another computer for safe keeping.
Unfortunately any software
or Python libraries
you've installed won't be
saved with this method.
The second method is to clone the SD card.
There's a way to do this on Raspberry Pi
using the SD card copier tool.
But you'll need to store
on the computer anyway
we're gonna show you how to do it
actually on the computer itself.
Now first of all, turn
off your Raspberry Pi
take out the SD card and plug it
into your computer or USB card reader,
if that's what we're gonna be using
If you're using Windows
open up Win32 Disk Imager.
You might need to install that,
and in the Imagefile box select
where you want to put the
copy and give it a name.
Under the device box select your SD card
and then you click read
to create the copy image.
Now this method is a bit slow
but it's also much more thorough.
You end up with a complete
copy of your SD card
which you can then
restore at a later date.
Now, if you're wondering how
to do this on a Mac, well.
(hard chiming bells)
- Here's how you backup your
Rapsberry Pi on your Mac.
Take your SD card and connect it
to your Mac using the SD card port.
If you don't have an SD card port,
then you'll need a USB to SD card adapter.
Now if you've got one
of the really new Macs
without the USB port
you'll need a USB dongle
and an SD card adapter.
Anyway you don't need to install anything
just use a built-in app
called Disk Utility.
Press command and space and then type disk
and it'll pop up as the first option.
You'll see the SD card in
the side bar and internal.
Highlight the bitmap boot and choose file,
new image, image from boot,
chose format DVD master and click save.
Enter your password and click OK.
That's it, boom, done, easy, Apple Mac.
The file will be saved in your
documents folder as boot.cdr.
A .cdr CD file is the
same as an .iso file.
If you want to restore it,
change the filename from
boot.cdr to boot.iso
and use Etcher to flash it to an SD card.
(hard chiming bells)
- Thanks Lucy, she sure knows about
the Macintoshes and stuff.
Anyway and we hope you
find the tutorials useful.
You can find other tutorials like this
and many more subjects in the MagPi,
the official Raspberry Pi magazine,
which you can find in the link right here.
So for the MagPi, I
we've been Lucy and Rob,
see you next time.
