Questions tagged [backup]

Questions about what and how to backup your Raspberry Pi

Backup refers to additional copies of important data and configuration files, on a separate disk or on a cloud service.

Common questions

  1. http://raspberrypi.stackexchange.com/q/311/46
185 questions
17
votes
4 answers

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 one place. I would like to backup the contents…
P A N
  • 331
  • 2
  • 4
  • 15
12
votes
3 answers

Would you recommend a Raspberry Pi as a remote file backup device?

I'd like to have a computer at home that I rsync my files to from anywhere, preferably at any time I choose. The daily volume of data will rarely exceed 100M. It needs to be cheap and easy to replace, not fast (it's for backup/archiving purposes…
reinierpost
  • 223
  • 2
  • 6
8
votes
1 answer

"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: No such file or directory What's the problem?
jcwu
  • 83
  • 1
  • 6
3
votes
1 answer

Raspberry Pi for quick photo backups

This is a question about feasibility so please bear with me. I'm going to Thailand for 4 weeks and I plan to bring my camera along. Now my SD card has only 16 GB of storage and I was thinking about a possibility to backup the pictures on the card…
Philipp
  • 133
  • 1
  • 5
2
votes
6 answers

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 might not. I wish raspi-config's file…
user851
  • 21
  • 3
2
votes
1 answer

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 on another SD-card. Is there a description how to…
Maverick
  • 21
  • 1
2
votes
0 answers

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 is a hugely versatile tool, and adds a LOT of…
ephestione
  • 125
  • 1
  • 8
1
vote
1 answer

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 it hangs with the message "dphys-swapfile.service"…
1
vote
1 answer

SVN on multiple drives

I'm running a Raspberry Pi as an SVN server, storing everything on the SD card. Is it somehow possible, to store all SVN data on multiple storages in parallel, in order to not running in any data loss in time? Are there any options to set up…
1
vote
1 answer

Rsync command is accessing excluded files

I have tried the rsync command from this post (with a different endpoint ofcourse): Can a Raspberry Pi be used to create a backup of itself? sudo rsync -avH --delete-during --delete-excluded --exclude-from=/usr/bin/rsync-exclude.txt /…
Laust
  • 13
  • 3
1
vote
2 answers

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 documents. I was wondering if there's some way to rsync…
apocalypse
  • 11
  • 1
  • 2
1
vote
0 answers

How to create regular backups of my PIs

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 the threads - but I don't have enough credits to do…
framp
  • 910
  • 7
  • 17
1
vote
2 answers

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 of=/path/to/backup.img bs=1m I end up with a 32G…
PersonOfInterest
  • 301
  • 5
  • 14
1
vote
2 answers

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 working.this will prevent me from having to charge…
Troquero
  • 11
  • 1
1
vote
4 answers

Timeshift does not work on pi4

I really like timeshift for backup and restore because it's simple, works well, and I can store the backup locally. I have not been able to get it to work on a pi though. When installed from apt this I get this error when I try to make a…
bob mcgrath
  • 39
  • 1
  • 7
1
2