Questions about what and how to backup your Raspberry Pi

learn more… | top users | synonyms

0
votes
0answers
17 views

Latest Jessie - Backups and update - FAILING

I installed the very latest Jessie on a 16GB card (I only use decent Sandisks). I installed Node-Red and other programs - and everything works - I transferred the card to a Pi2 - everything works. ...
0
votes
1answer
27 views

Cloning between RPi (different gen), other preparations

As i understand, an up to date installation of Raspbian is transferrable between different RPis. In my case this is a first gen, and a third gen RPi. I would like to test configurations or new ...
0
votes
2answers
29 views

Can I use 'dd' to clone the Raspbian image from the Pi itself?

My question is whether I can use the following command to create a SD card clone on the Raspberry Pi itself. sudo dd bs=4M if=/dev/mmcblk0 of=raspbian-5.15.16.img This can then be copied to my home ...
0
votes
1answer
16 views

Copy multiple partitions to one .img file

On my raspberry pi I want to back up my current sd card using dd. I have a 64 gigabyte card for raspbian wheezy but I made sure not to Expand the Filesystem (under raspi-config) so the used data in ...
0
votes
1answer
100 views

Win32 Disk Imager creates a corrupt file of my SD card

I need to "clone" my Raspberry's SD card, so I can send it to a friend. I need the project to work in any raspberry. Seeing a lot of posts about how to do this, I decided to use Win32 Disk Imager. ...
9
votes
4answers
636 views

Restore PI from Pi itself

Just started playing around with a raspberry pi model b+ I've had sitting around for ages and I had a question? Is it possible to restore a Raspberry Pi from itself? E.g: Can I put an image on the ...
1
vote
0answers
29 views

Created 1.2GB PI partition, but WinImage makes a 5.2GB image when I backup

I created a PI system that I want to copy to 20 or so other PI SD cards. The partition is only 1.2 GB (A Jessie image). I then use WinImage to create a vhd file using the "Create Dynamically ...
0
votes
3answers
149 views

Move a raspberry disk image from sd card to .img file with only linux and boot partitions. Not the empty space! [duplicate]

Do you know how I could easily and portably (ie: work in windows and mac) take a raspbian disk image from an sd card and create an image that I could send to my colleague via dropbox? I need just ...
0
votes
0answers
13 views

Zero unused blocks on a scheduled basis?

I've got a ~32 GB ext4 root partition on my pi2 (Raspbian wheezy), and I'd like to zero the free space on a periodic basis (maybe every few weeks) so that SD card backups compress more easily. I know ...
5
votes
2answers
799 views

Clone Raspberry Pi SDCard to file on Mac OS X?

Is there a simple way using Mac OS X (shell preferred) to clone an entire SDCard from the SDCard slot (byte-for-byte)), to a file? I would then want to reverse the process and restore the image from ...
6
votes
2answers
157 views

Is this the correct usage of rsync to create a Raspberry Pi backup?

Pardon my ignorance, I am a new user of this site, Linux, and the Raspberry Pi. The following is a link to a question, from which I used user goldilocks' well documented answer of using rsync, to ...
0
votes
0answers
36 views

Methods of Backing Up a Raspberry Pi [duplicate]

First an overview of my setup: I have an RPI 2 Model B that I use to store media, documents, and backups of other devices on my network. I've moved the root file system to an external USB 1TB HDD for ...
2
votes
1answer
31 views

How to check backup restoration on SD card

My Pi SD card got corrupted. I restored it from a backup on my Ubuntu system some time back but I'm not sure if I've done it correctly. Looking on my Windows machine I see <DIR> defaults ...
1
vote
0answers
16 views

Careless Backup Solution [closed]

General idea: A careless backup solution for files on a laptop. Whenever the laptop is connected to the home network changed files are automatically pushed/synced to a server in a ...
1
vote
3answers
188 views

Creating Disk Image of SD Card

So I've found this command: dd if=/dev/sdx of=/directory/for/image bs=1M But that gives me this error: dd: failed to open ‘directory/for/image’: Is a directory So I found that the directory has ...
1
vote
0answers
80 views

Pi won't start properly after dd backup

So I've used my Mac to write the Raspbian OS to a 16 GB SD card, and it ran without problem. Then I updated and upgraded with sudo apt-get update && sudo apt-get upgrade I also installed ...
1
vote
5answers
222 views

Can I backup my SD card with Disk Utility on OSX?

I see a lot of backup instructions like this: How do I backup my Raspberry Pi? ...involving the command line in OSX. But can't I just use the OSX "Disk Utility" to create a "New Image" from the ...
4
votes
1answer
74 views

Using RPi as internet accessible backup server for multiple PCs

I currently have a 3TB hard disk attached to my RPi running a samba server which several family laptops/PCs using Aomei backup to. My plan is to allow internet access for these machines to continue ...
0
votes
0answers
20 views

Web-facing Server Backup [duplicate]

I am currently running a web-facing server with the root filesystem on an external USB disk with another USB disk attached and destined for backup of the server. What I really need to do, however, is ...
1
vote
2answers
69 views

Backup power for pi 2 model b

I'm developing a CCTV system out of a pi 2 modal b and everything is on track using noIR camera and stuff. Since a CCTV should work for few hours without power, I'm in need of a backup power source ...
2
votes
2answers
693 views

Backup Raspberry Pi automatically, with incremental backups

There are some different questions and answers on this subject. However, when searching I have been unable to find an answer that could be considered "canonical" or that gathers the various options in ...
0
votes
2answers
48 views

Can rPi control a computer and provide backup?

Im just wondering, is rPi is able control a computer (on/off), check if the computer is working (using ping test). If the computer is not able to use, the rPi will automatically switch on another ...
1
vote
2answers
657 views

How to shrink an image file after allocating full space

I'm in the process of experimenting with backing up a Raspberry Pi (Raspbian) sd card. I'm using Win32DiskImager to read the image (from SD card reader) onto my HDD, successfully - but now the size ...
0
votes
0answers
22 views

Rsync listed unchanged file for transfer, but they had no change to them

I have a Raspberry Pi 2 I use to run rsync to do a backup of the CentOS server on the LAN. I use the same script. Tonight when I ran it, I noticed it listed files for transfer which were part of the ...
2
votes
0answers
110 views

Raspbian not booting, possible file corruption on SD Card

So... The last thing I did was to install upstart and then try to restart my raspberry Pi. The install looked to be fine and then I posted a shutdown command: sudo shutdown (I think it was) I left ...
1
vote
3answers
216 views

How to backup Pi microSD card intelligently

There's lots of tutorials about using win32diskimager. But a lot of times, the image you make from a 16GB microSD card is too big to restore even on the same 16GB microSD card. It might work, but it ...
3
votes
2answers
108 views

Save an image of a RPi thats booting from a hard drive

I recently setup my RPi so that it boots from a hard drive (as much as I could move off of the SD card anyways). Previously I was simply plugging my RPi SD card into my computer and making a clone ...
8
votes
4answers
811 views

Self healing SD Card partitions

Many sd cards are rather fragile. I've had a pi for about 2 years now and the main failures were due to the sd card getting corrupted for a reason or another. I'm wondering if there is some ...
0
votes
1answer
804 views

Truncating SD image

I backed up my raspbian with dd dd id=/dev/sdb of=/home/user/raspbian-backup.img That gives me a img of the whole card (16gb). Then i followed the tutorial in raspberry.org to resize the image and ...
0
votes
2answers
2k views

Raspberry Pi and Amazon Cloud Drive, is that possible?

I have a rpi connected to my Apple Airport Extreme, where I plugged an external USB hard drive. Today I'm running a backup service from CrashPlan to basically backup almost 2TB of photos and ...
0
votes
3answers
164 views

How to make backup Raspbian image?

I'm using latest version of Raspbian from http://downloads.raspberrypi.org/raspbian_latest I've made changes to this image, can an image copy be taken which includes all OS changes made to Raspbian ...
1
vote
2answers
856 views

How do I make a copy of a NOOBS SD card?

When we install Linux on Raspberry Pi with a NOOBS SD card, the original data on the card is erased as it becomes the storage device for the new system. I have just bought a 16Gb NOOBS SD card, and I ...
0
votes
0answers
19 views

How to backup my running Pi to my NAS? [duplicate]

I seem to be able to find lots of guides for backing up my PI that involve taking the SD card out, or running dd and hoping nothing changes. But is there any way to take a proper, system-level, ...
3
votes
1answer
218 views

dd for image backup

My SD card corrupted itself but I have a back up image. The partition table leave 1GB unallocated space at the end so that I can restore to any 8GB memory card regardless of memory fluctuations. ...
0
votes
1answer
186 views

Syncing backups to cloud storage

I am about to embark on a project which will require a lot of documentation and since I have a spare Pi, I think it would be really useful to use it to store this documentation in a custom MySQL ...
0
votes
2answers
109 views

How to create a shrinked image of my working Rpi SD card

So i have this SD card of 64 GB lying around here. I want to distribute this image to other people which might have 8GB SD cards. I've tried the following: Read the image with win32 disk imager, ...
2
votes
2answers
372 views

Raspberry Pi backup server (windows & mac)

I would like to set up my raspberry pi model B and my 2TB hard drive as a backup server for both my windows pc and my mac. I would like to partition my hard drive such that 300GB is for mac time ...
1
vote
0answers
31 views

How to create regular backups of my PIs [duplicate]

I have three Pis running in my local net and backup them on a regular base. I just detected threads where people asked how to create a backup just in case something went wrong. I tried to answer in ...
1
vote
2answers
222 views

Using git to version control the Raspi OS

I find myself building up lots of versions of SD images as I incrementally develop a working system. Is there a way to manage this better, such as by capturing the SD image backup not as a img/gz but ...
0
votes
2answers
499 views

Is it possible to use the Raspberry Pi to automate backups from Dropbox to an external hard drive?

I'm investigating using a Raspberry Pi to perform an automatic backup of Dropbox to an external hard drive, probably every week. Is this possible? Would it be complex? I've heard that the Dropbox ...
3
votes
3answers
459 views

Shrinking partition for backup

I have a large SD card ~60G. I expanded Rasbian to the entire disk but now I want to make backups. Preferable backups that aren't 60G. How do those with large SD cards go about this? Granted I'm only ...
3
votes
3answers
154 views

Can a Pi back itself up?

I am looking for a way to have the Pi create an image of it's SD card and send it off to a networked file share in a repeatable manner, and then resume operations. I imagine that it would need the ...
1
vote
2answers
132 views

Can I perform a total backup of my system on an image file?

I am pretty new in Linux. I am configuring my Raspberry that use Raspbian. Before to perform some settings I want to have a backup of my entire system in the current state. What can I do to save the ...
0
votes
2answers
259 views

How to do a minimal size backup after expand_rootfs under Windows?

I downloaded official Raspbian image, did expand_rootfs, updated everything, installed needed packages, removed unneeded packages. So, now after everything is setup fine, I wanted to backup this image ...
0
votes
4answers
487 views

dd entire SD card to new one

I'm going to clone my 8GB SD card to my 16GB one. My current SD card 8GB Kingston SDHC Class 4, and my new one is 16 GB SanDisk Extreme 45MB/s SDHC Class 10. I've attempted using Win32 disk imager, ...
1
vote
2answers
841 views

How to backup only select partitions of an SD card?

I have an unexpanded partition on my SD card configured as needed. I want to backup the 2.9G data to a less than or equal 2.9G image file. My current SD card is 32G, so when I: dd if=/dev/rdisk2 ...
1
vote
2answers
94 views

Back up switch or circuit

I am looking to have a automatic switch that will switch to a small 12 volt back up battery when the car 12 volt power fails. It would help if it has a charger capability while the car system is ...
3
votes
1answer
3k views

I want my Raspberry Pi to be my Crashplan server but it only shows Raspberry Pi's directories, not my Mac's directories

I followed this tutorial to set up a way to wirelessly backup my Mac to an external hard drive connected to the Raspberry Pi. All the steps went smoothly and I managed to mount and search the drive on ...
0
votes
1answer
1k views

Copying files from boot partition whilst preserving ownership and attributes

I'm trying to copy the files on my mounted boot partition to another device whilst preserving ownership and attributes. I'm doing this on a Raspberry Pi running RaspBMC. I've mounted the destination: ...
0
votes
1answer
377 views

How to backup RPI when file directory is on USB device

Because I'm running a server, I moved my Pi's file directory to a USB device using this tutorial, which means that I'm booting from an SD card, but all of the stuff I need is in a USB drive. How can ...