Shuffler
Posts: 1
Joined: Thu Jun 23, 2016 12:04 pm

Raspberry backup

Thu Jun 23, 2016 12:10 pm

Hello friends,
Few days ago i started a 'magic mirror' project on my raspberry pi. Everything went smoothly, untill it didnt and i had to kinda repeat my work few times (It is mostly because of my incompetence in linux matters).

I was thinking about making some automatic backup on my raspberry. I tried to search on the forum some ways to backup the system and only solution i found was to use win32discimage (*or something) application and manually plugin the card into my main pc.

I would want to automate it a bit if possible. Backing up to usb stick inserted into raspberry or even better to some cloud storage. Is it even possible? Can some of you give me some brief details how to backup linux systems in general and how does it work in a case of raspbian jessie ?

Would much appreciate, thanks.

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

Re: Raspberry backup

Thu Jun 23, 2016 5:38 pm

Shuffler wrote:Hello friends,
Few days ago i started a 'magic mirror' project on my raspberry pi. Everything went smoothly, untill it didnt and i had to kinda repeat my work few times (It is mostly because of my incompetence in linux matters).

I was thinking about making some automatic backup on my raspberry. I tried to search on the forum some ways to backup the system and only solution i found was to use win32discimage (*or something) application and manually plugin the card into my main pc.

I would want to automate it a bit if possible. Backing up to usb stick inserted into raspberry or even better to some cloud storage. Is it even possible? Can some of you give me some brief details how to backup linux systems in general and how does it work in a case of raspbian jessie ?

Would much appreciate, thanks.
The latest update of Raspbian Jessie includes a SD Card Copier:

https://www.raspberrypi.org/blog/anothe ... e-raspbian
Rather than negativity think outside the box !
RPi 4B 4GB (SSD Boot)..
Asus ChromeBox 3 Celeron is my other computer...

TrapdoorSmoke
Posts: 81
Joined: Thu Nov 19, 2015 10:28 pm
Location: Scotland

Re: Raspberry backup

Thu Jun 23, 2016 11:05 pm

If you maker a empty text file on Windows and name it Backup.img
Go into win32disk imager and read onto that file.
Problem is if you expanded your root file system it will be massive if your card was 4GB that's how big the file will be.
So what you can do is put it in a zip file. :D

mfa298
Posts: 1387
Joined: Tue Apr 22, 2014 11:18 am

Re: Raspberry backup

Fri Jun 24, 2016 9:52 am

Shuffler wrote: I would want to automate it a bit if possible. Backing up to usb stick inserted into raspberry or even better to some cloud storage. Is it even possible? Can some of you give me some brief details how to backup linux systems in general and how does it work in a case of raspbian jessie ?

Would much appreciate, thanks.
Whilst it might not be a directly restoreable backup the likes of rsync will let you sync changed files from one drive to another (or even to another unix based system). This at least allows you to compare what's installed and contents of config files when you come to restore.

I also tend to write notes as I go of what I've installed and edited, this provides a means to re-install if needed and can also provide a useful guide when re-installing on a new/updated system in future. (Linux and Networking is part of the day job and documentation is part of that, so I do similar for my own projects)

Return to “General discussion”