Questions about what and how to backup your Raspberry Pi

learn more… | top users | synonyms

0
votes
0answers
33 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 ...
0
votes
0answers
15 views

Change owner for backup file generated by backupninja [closed]

I'm using BackupNinja on Raspbian Jessie Lite to create a scheduled backup of my SD. The backup job is configured as a simple TAR file backup. The default permissions on the generated backup files ...
2
votes
1answer
21 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
15 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
56 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
38 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
4answers
82 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
62 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
18 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
61 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
232 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
47 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
261 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
19 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
95 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
124 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 ...
-1
votes
1answer
75 views

Creating a SD card image over network from unmounted/readonly rootfs [closed]

tl;dr Why is the /dev/mmcblk0 gone when i umount -l / or why can't i mount -r -o remount / ? Long text: I create backups from the SDcards of my RPIs from time to time. Until today i have to power ...
3
votes
2answers
100 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 ...
7
votes
4answers
762 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
527 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
1k 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
133 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
555 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
280 views

Sync local Samba Server to OneDrive over Pi

Is it possible to sync my local Fileserver(Samba) to my OneDrive Account? I searched for tools but didn't found any working programms. The sync should work in both sides, that i can update a file on ...
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, ...
2
votes
1answer
187 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
147 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
103 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
328 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
30 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
184 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
434 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
382 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
142 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 ...
0
votes
2answers
112 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 ...
0
votes
2answers
203 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
408 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
740 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
90 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 ...
1
vote
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
892 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
341 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 ...
2
votes
5answers
7k views

Deleting NOOBS from SD card and only keep Raspbian

I've got NOOBS on my SD card, and chose to install Raspbian on it. Now what I want to do is to remove NOOBS from my SD card, while still keeping Raspbian and all of my programs/settings. I tried ...
3
votes
1answer
2k views

Tar extract error - implausibly old time stamp 1970-01-01 01:00:00

I was create a tar script to make a backup of / directory on flash drive with exluding these folders: /lost+found - /mnt - /media - /proc - /sys - /tmp Here's a fragment of script: sudo tar ...
0
votes
1answer
272 views

Restore of Raspberry Backup

I tried this backup script described in another question "A working script from the Raspberry Community made by a member there", it runs with "pv" and "dd", but I was not able to properly restore it ...
5
votes
4answers
9k views

How to restore Image of SD card from a larger SD card to smaller one

I made a backup of an SD card with DD. the SD card was 16Gb in size, the backup was completed using the following command: sudo bs=4M dd if=/dev/disk2 | gzip > pi_sd_prayertime.gz ...
0
votes
2answers
191 views

Advice on RPi as backup server [closed]

my goal is to setup my RPi to run as a headless, always-on server. I would like to plug a power cord, an ethernet cable, and an external drive (or two, later on). I would like to use that storage ...
1
vote
2answers
937 views

open a win32diskimager-imported file on Windows

I have a raspberry pi. I did a backup by importing an image with win32diskimager. Is there any way to open this imported image and explore the filesystem in it? I'm on Windows 8, but Windows can't ...
3
votes
2answers
2k views

What could cause the ext4 root file system to become unusable after a reboot or panic?

Isn't ext4 a journaling file system? I'm running Raspbian. testdisk recovered the partition, but the file system wasn't recoverable. I had to use dd to restore a copy of the entire sd card. ...
1
vote
1answer
945 views

Time machine over wifi: What hard drives do not give “failed verification” issues?

I have installed netatalk and set up my Time machine to backup via wifi on an USB hard drive wired to my RPi (followed these instructions). Nevertheless I repeatedly have "failed verification" issues ...