We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [backup]

Questions about what and how to backup your Raspberry Pi

Filter by
Sorted by
Tagged with
0
votes
3answers
45 views

Can I mount an USB stick (ext4) and create a backup of the Pi using the dd command?

I want to use the following command: sudo dd if=/dev/mmcblk0 of=/mnt/myBackup.img bs=1M What if the USB drive was formatted to vfat?
2
votes
2answers
41 views

Determining correct image size for Raspbian backup to fit only real data on rootfs

I regularly backup my Raspi using a script that rsyncs rootfs and /boot onto a image created with losetup. This is the current branch I am working on: https://github.com/ephestione/RaspiBackup/blob/...
2
votes
2answers
65 views

Periodic backup of Rpi3 Stretch SD card

Starting with a pristine install of Raspbian Stretch on a 16GB SD card, I plan to set up various sets of software packages. I would like to start with a baseline install and create a restore-point (...
2
votes
1answer
126 views

backup raspberry Pi OS

Hello i am running ubuntu mate on raspberry pi 3 and i would like to back up the img of the OS straight to an external usb. Do you have any suggestions ? Is this going to work ? sudo dd if=/dev/...
2
votes
0answers
43 views

Create a minimal system backup, with personal files and configuration parameters, for cloud upload

There are currently many tools that let you fully backup a running Raspberry into either a clone device (SD/pendrive), like rpi-clone, or to a series of rsync incremental backups (RaspiBackup by framp ...
1
vote
3answers
297 views

Why can't Pi 4B read a copied back-up micro-sd card in a usb card reader?

I am using the SD Card Copier accessory to make a micro-sd card back-up. The back-up card (in a micro-sd to USB adapter) is recognized by the copier as sdb, and I know that the copying is OK, because ...
0
votes
0answers
42 views

My Raspberry Pi crashed after pulling out USB drive from it

My Raspberry Pi's OS is Raspbian Stretch Lite. My Raspberry Pi crashed after pulling out USB drive from it. I'm not able to access it via SSH. I have connected the SD card of my Raspberry Pi to my ...
1
vote
2answers
88 views

How to clone a ssd which I am using to boot

I have an SSD that is connected via USB to SATA cable to the Pi. I have a lot of files and settings saved on this SSD, I wanted to make a backup of this on another SSD, such that if something happens ...
1
vote
2answers
79 views

Backing up a raspberry pi over the network

I have 4 Pis. On each Pi I have mounted my Airport Extreme (Apple router that has built in storage) to /home/pi/Airport. I would like to automatically backup each Pi on a set interval. Would doing ...
1
vote
1answer
17 views

can I backup pi3 to a image file remotely to macbook?

My pi3 is placed 300+ kilometers away and I can't reach it frequently(probably 2 times a year). I would like to backup the disk image remotely once a month, almost all tutorials I found are for which ...
1
vote
0answers
51 views

Technologies to use in a peer to peer, file sync, high availability, cluster like, backup solution [closed]

I've been doing research on how to setup a self host backup high availability solution using raspberry pi's. The biggest requirement is master to master replication and cross platform client support. ...
0
votes
1answer
62 views

Is there any way to extract files from damaged backup.img file?

I have a raspberry pi backup.img file that I was trying to extract some of its inside files, I used different softwares to do that but all failed. I used Winzip but I got a message sys that this file ...
0
votes
3answers
83 views

Full backup of server [duplicate]

I am building a web server od Raspberry Pi 3. The system and the data will be on microSD card and I am curious if there's any way to automaticaly backup the whole card with data? I mean - if anything ...
1
vote
0answers
128 views

Raspberry Pi UPS with LiPo Battery

I have been working on a battery back up for my raspberry. The idea is classic: connect power bank to wall outlet and raspberry to power bank output. It works well with only battery power. But when ...
1
vote
2answers
251 views

Backup Raspberry Pi without empty space on macOS

I've got an issue with making the backup from microSD 16GB card. My Raspbian installation takes up 2GB and the other space is empty. When I tried to use dd on my MacBook, I've got an image with 15....
1
vote
1answer
103 views

SD card copier fails. Backup hangs with “dphys-swapfile.service” message

I used the SD card copier program in the accessories menu. The SD cards are exactly the same brand and size. There were no errors during the backup process. When trying to boot from the backup SD ...
-2
votes
2answers
69 views

backup my whole raspberry pi so i can restore without re-installing or reconfiguring [duplicate]

I thought i did it all right. I had an image and backups from my raspberry When the Raspberry crashed I thought: "just plugin the copy sdcard in another raspberry and run" But it wasn't that simple (...
2
votes
1answer
3k 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
160 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
422 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
363 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
38 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
156 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,...
1
vote
2answers
2k 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
47 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
110 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 ...
2
votes
2answers
30 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 ...
3
votes
1answer
3k 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
107 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
203 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
48 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, ...
1
vote
1answer
476 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
2k 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
242 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
260 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
683 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
79 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
96 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 ...
0
votes
1answer
91 views

Software for compressing files in Raspbian [closed]

I am trying to compress a folder of many files into a tar.xz format. Does anyone know of some good software that does this job in Raspbian on a Raspberry Pi 2 B?
0
votes
1answer
374 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
91 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
662 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
35 views

Resizing Raspberry 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 ...
3
votes
4answers
5k 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
721 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
625 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
485 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 ...
15
votes
3answers
88k 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 ...
6
votes
3answers
2k 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
542 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 ...