Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [backup]

Questions about what and how to backup your Raspberry Pi

0
votes
1answer
84 views

Cloning the Raspberry Pi SD Card as a balenaEtcher-ready instal-able image

I'm currently working on a Raspberry Pi 3 Model B+ with Raspbian Stretch, and I have installed several libraries such as TensorFlow and OpenCV. These installations took quite some time to do, and I ...
1
vote
0answers
77 views

SD Card Copier - Space lost on backup

I'm making backups of my SD card as a preventative measure using the desktop tool "SD Card Copier". Whenever I make a backup using this tool, I end up with 2GB less free space ("Available") reported ...
0
votes
2answers
102 views

Backup RPI to a Linux Machine via ssh

How to backup my RPI and keep it up to date without needing to create an image with dd. I want to do it from a linux machine via ssh. With the backup I want to be able 1) to restore the system on ...
0
votes
3answers
68 views

Restore backup failed (using rsync)

I backuped my RPI following goldilock's answer (Can a Raspberry Pi be used to create a backup of itself?). Running this: rsync -axHv --delete --exclude-from=rsync-exclude.txt --rsh="ssh" root@...
1
vote
3answers
26 views

Debian RPi distro that can automatically backup itself regularly

I'm looking for either a complete Raspberry Pi distro or something that I can install on top of a Raspberry Pi distro that can do the following: -Automatically make backups of itself to either the ...
0
votes
1answer
37 views

Rsync freezing when trying to backup

I have been looking at other threads. Some have said the problem is a permission issue, and some have said it hasn't been solved. I am using rsync to backup to a USB drive. When I insert the usb drive,...
0
votes
2answers
291 views

Use SD Card Copier to create backup to USB, then copy back to SD card?

I'm trying to make a backup of my raspberry pi (raspbian) so I can come back to this backup just in case something bad happens. The problem is that I only have 1 SD card. I know that you can use SD ...
0
votes
1answer
24 views

Remote Backup Home Folder on Raspberry to TAR to MAC

Can someone please help me out on how to change this to make a tar file of a user home folder on the Raspberry and move it to my MAC desktop ssh pi@xxxx "sudo dd if=/dev/mmcblk0 bs=1M | gzip -" | dd ...
0
votes
1answer
65 views

Are there Restore Points alternatives on Raspberry Pi?

I have the following problem - we are distributing Raspberry Pi devices with our some software installed into it to our clients. Occasionally we need to update the current state of their OS (for ...
0
votes
0answers
97 views

Raspberry Pi as Time Machine

I've used this tutorial to setup a Pi 3 with a 2TB external USB drive as a replacement Time Machine. TL;DR: Format drive ➜ ~ sudo mkfs.ext4 /dev/sda Install netatalk ➜ ~ sudo apt-get update ➜ ~ ...
0
votes
0answers
38 views

Rpi sd card image back up done in windows not open in ubuntu?

I have taken the back up of my Rpi SD card using win32diskImager in windows. I have got the successful message and the Image file. Then I tried to open the same image in the ubuntu but only the boot ...
2
votes
2answers
25 views

Restoring backup of /etc on new disk image and best practices

My Pi crashed and lost data recently but I had an old backup of /etc and /home. When I reflashed the SD card I used a new OS, my question is can I just replace this /etc with the old one? I’m happy ...
0
votes
0answers
26 views

Expand file sytem only to certain size of sd card

Is it possible to expand the file system only to a certain amount? I guess everyone is familiar with the following problem: You start with for e.g. an 8 GB sd card. Expand the file system and when ...
1
vote
1answer
985 views

Easy backups and snapshots of a running system with LVM

LVM (Logical Volume Manager) has some useful enhancements. You can make a snapshot, then check new programs and if they don't work as expected or you don't like them you can simply revert to your ...
0
votes
1answer
57 views

Problem backing up Raspberry Pi with Mac

Because I have installed a bunch of things for a larger project on my Raspberry Pi 3 Model B, I would like to backup the entire (bootable) SD card on my Mac. I tried to insert the SD card into my Mac ...
0
votes
1answer
90 views

Backup Raspberry Partition Layout?

I've noticed that when doing backups of Linux Machines there tend to be two parts: File Backups and partition layout backups. File Backups backup the non-os type files that are unique to you, and ...
1
vote
0answers
39 views

Why is my new Raspberry Pi 3 shutting down after inactivity?

My new Raspberry Pi 3 seems to shut down after a certain amount of inactivity. Is that intended behaviour? I've not found any documentation that says specifically whether this is supposed to happen, ...
0
votes
0answers
28 views

Raspberry Pi back up image shrinking [duplicate]

I have a Raspberry Pi running Raspbian. I need to make an image of a whole SD card, shrink it to minimal size and, in case of errors, corruption, etc., be able to burn this image to a new SD card. So ...
0
votes
1answer
192 views

How to setup a simple No-brainer 'TimeMachine' like backups for Raspbian

Trying to create an experience as simple as the 'Time Machine' functionality for my RPi3 running Stretch. I'd like to have a few options if possible. Creating a backup to a sufficient capacity disk ...
1
vote
2answers
843 views

Industrial Reliability of Raspberry Pi for long-term use? [closed]

I need to automate my plant room, having a few water tanks and pumps. Will RPi 3 Model B be reliable for this purpose? It will need to be 24/7 monitoring. Any experiences? Any mathematical ...
0
votes
1answer
166 views

Backup of SD image on Mac could not be written back to same-size SD: too large

I've built a beautifully crafted SD card for my application using a Raspberry Pi Zero. Before shipping it to my customer I've made a backup. What I did on my Mac BookPro is Open DiskUtility Menu `...
1
vote
1answer
200 views

Is possible to make the backup and the recovery root partition from one to the other?

I have two Raspberry Pi boards. One is a (Pi 1) Model B and the other is a Pi 2 Model B. The Pi 1 Model B is a new one from my friend. I had used the Pi 2 Model B for a long time. I know the ...
0
votes
1answer
339 views

Raspberry Pi Boot USB Flash Drive Automatic Image Backup

I boot Raspberry Pi’s from USB Flash Drives and have been trying to utilize the bkup_rpimage found on GitHub. I changed the drive to point to the USB Flash Drive in the bkup_rpimage.sh file; however, ...
0
votes
1answer
62 views

Partition of raspberry pi on Ubuntu 16.04

When I booted raspbian on raspberry pi, the name of partition is /dev/mmcblk0 But when I connect sd card via USB reader on Ubuntu 16.04, it shows a different name as /dev/sdc These sd cards are ...
0
votes
2answers
75 views

Backing up Raspberry PI

I have been backing up my Raspberry Pi using a script that: Stops the cron service does a "dd if=/dev/mmcblk0 of=sharedStorageFile.img starts the cron service Every time I have had to use ...
1
vote
1answer
2k views

Howto prepare a SD card from a tar archive

For testing various setups I feel it more comfortable to use tar archives instead of images. You only save programs and data, no need to fiddle with nullbytes to optimize compression or shrink ...
0
votes
1answer
244 views

Connect a Tape Drive LTO4 to the raspberry pi

I have a NAS System at home with a RAID-6 and somewhere around 20TB of data. I have bought a LTO4 external drive that connects over SAS and a few tapes for testing. A few questions: Do you have any ...
0
votes
2answers
70 views

Is it possible that an SD is broken and I can not make an image out of it?

I'm trying to make a system image for a backup of my rpi3 microSD, but when I try to restore it do not works. First method I've tried is dd on Linux with this well known commands: sudo dd bs=4M if=/...
1
vote
1answer
545 views

Restoring a Raspbian system with an rsync ssh backup: permissions at backup time

I have a Raspberry Pi 2 running Raspbian Jessie. It is being used as a reverse proxy for my various self-hosted services, it is running openHAB, it is my mosquitto server, etc. I would like to create ...
1
vote
0answers
28 views

Resizing Rasperry Pi Image [duplicate]

I am trying to make a backup of my raspian image, so I can distribute it to more Raspberrys in the future. I used dd for that, but as my sd card is larger then the image, I ended up with a 16 Gb file ...
1
vote
4answers
2k views

Is there a way to compress a backup of the RPi because the backup has empty space?

I did a backup for my RPi (64GB microsd card) and it saved the entire 64GB worth .img file... while theres only ~14GB worth actual data, the image file accounts also for that empty space. Anyone know ...
1
vote
3answers
500 views

How to restore SD backup

Environment: My laptop OS: Linux Mint 18.2 Cinnamon 64-bit - Kernel: 4.10.0 My Raspberry OS: Raspbian Stretch with desktop (Version: August 2017) - Kernel: 4.9 Raspberry is installed on a 16GB SD ...
1
vote
1answer
486 views

Live stream video surveillance as client

Live streaming video using a raspberry pi, over a 4G network which is accessible from anywhere around the world. In this application raspberry pi will be the client to a webserver, and user should be ...
0
votes
1answer
392 views

Backup SanDisk Ultra 32GB using Win32DiskImager or Roadkill

I formatted the SD card using Windows Vista and SD Formatter. Then I copied NOOBs files, inserted it into the PI3 and installed all my softare (Raspberry...). The system works but I am unable to ...
10
votes
3answers
63k views

How to clone Raspberry Pi SD Card on Windows, Linux, and macOS? [duplicate]

I want to make a back up of my raspberry pi because I have done a lot of work and repeating the process would take a lot of time. How does one go about making an image of a Raspberry Pi SD card for ...
7
votes
4answers
1k views

Create a Raspberry pi backup without dd

I would like to backup the entire content of my Raspberry Pi SD Card on linux PC. I have found online many tutorials that suggest to use dd to perform the operation. However my SD Cards have a wide ...
2
votes
1answer
452 views

Cloned Jessie image fails to acquire a dhcp address

I have a very nasty issue with Jessie :-( Background: I wrote a tool called raspiBackup which backups and restores a Raspberry and because it works fine for me and helped me multiple times to recover ...
2
votes
1answer
527 views

“No such file or directory” while backing up the SD card using dd on Mac

The diskutil said that my SD card is located on /dev/disk4, so I typed sudo dd if=/dev/rdisk4 of=~/Desktop/backup.img bs=1m to backup my SD card. But there is a message dd: ~/Desktop/backup.img: ...
0
votes
0answers
112 views

Relax-and-Recover Bootable Image Types that work with the Raspberry Pi?

Are there any bootable image types that Relax-and-Recover creates that could be booted and used to restore the system layout on a Raspberry Pi / Jesse 8? I know that the system layout of the SD Card ...
1
vote
3answers
4k views

How to shrink the size of your sd card before using dd to backup your sd card [duplicate]

I use 32gb micro sd card for my raspibian. I use dd this command to backup it. But, I found it is too large. How to shrink it before I backup it? Thanks. Add words: I had used a 16gb sd card. Then, ...
0
votes
1answer
108 views

Image non-resized partition from a large SD

I burnt a 2GB OS image on a 16GB sd card and went thru the whole configuration process (a good half day of work to adapt it to our needs) except for the resizing of the partition. I would now, ...
3
votes
3answers
10k views

How can I backup my whole SD to an img file usable with Etcher to restore later?

My question is related to the part towards the end of this short article ("SD card image"): https://www.raspberrypi.org/documentation/linux/filesystem/backup.md My question is how can I backup ...
1
vote
3answers
887 views

Impossible to restore a backup raspberry 3 image

The sdcard of my raspberry 3 crashed a few weeks ago. I am trying to restore the raspbian system on another sdcard of the same capacity using a backup image of the sdcard created before the crash. ...
0
votes
6answers
5k views

Backing up SD card generates a huge .img file

I am trying to back up a 16GB SD card as it is proposed here: How do I backup my Raspberry Pi? I have started with 2017-01-11-raspbian-jessie-lite.img and then did some work with FFmpeg (cloned & ...
1
vote
1answer
2k views

Usage of external HDD, power consumption

I'm thinking in getting a RPi+USB HDD to make a server in my office, it would be working 24/7 and the primary usage would be to storage backups which would be automatically uploaded from different ...
2
votes
2answers
536 views

Raspberry Pi image files - is .img created by dd the same as .img used by Win32DiskImager?

I'd like to have a strategy to be able to make backup images of a Pi while it is running, but then have the option to restore that image to the SD Card in the case the system becomes unbootable or ...
0
votes
1answer
690 views

Problem copying SD card with `dd` on OSX

i am trying to back up my sd-card(16GB) with Mac using: sudo dd if=/dev/rdisk3 of=~/Desktop/raspberrypi20161117_r.dmg bs=1m Output: dd: /dev/rdisk3: Input/output error 2996+0 records in 2996+0 ...
0
votes
1answer
147 views

Can't backup RPi using dd. One partition causing issues

I've been trying to backup my RPi Model B but I'm having no luck whatsoever. Here's what my Macbook's terminal shows under "diskutil list": /dev/disk2 (internal, physical): #: TYPE ...
0
votes
1answer
156 views

HDDRawCopy for backing up Rasperrry Pi SD cards

I routinely backup my Raspberry Pi SD card to my PC using HDDRawCopy. It works fine and basically I'm happy. However, several months ago I backed up one of my Pi's and proceeded to continue ...
1
vote
3answers
99 views

After installing and customised how to make an distribution image (size of only data)

I just installed FreeBSD 11 on a Raspberry Pi 1 Model B, the raw image is less than 1GB after installing some packages and customising the setup I would like to create an image the one I could share ...