Skip to main content
25 votes

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

On Linux or OSX I use dd to make a backup from SD card. Reverse if and of (i.e. to where they point - source and destination) afterwards to restore, but be careful not to restore to a wrong disk. It ...
zarvox's user avatar
  • 361
13 votes
Accepted

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

I recently had to make a backup image for my Raspberry Pi 3 Model B and found an incredibly helpful guide from Beebom. The guide outlines the process for cloning and restoring a Pi SD image for all ...
ob1's user avatar
  • 459
7 votes

How do I make the OS reset itself every time it boots up?

The idea is to use a read only file system as you have it on a LiveCD together with a union filesystem. (quote [1]) Generally speaking, a union filesystem combines multiple filesystems into a ...
Ingo's user avatar
  • 42.2k
3 votes

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

I doubt that this question can be definitively answered. Here is my opinion. The /etc directory is used for configuration data. The files and their contents are likely to change on a release by ...
joan's user avatar
  • 71.2k
2 votes

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

I suppose your are using Raspbian. It depends on how old your installation is that you make the image from. Older installations are not able to run on Raspberry Pi 3B+. You didn't tell us what "...
Ingo's user avatar
  • 42.2k
2 votes

Are there Restore Points alternatives on Raspberry Pi?

The linux way to use MS windows like restore points is to use LVM (logical volume manager) and to take snapshots. I use it for development but unfortunately it is not direct supported by Raspbian. The ...
Ingo's user avatar
  • 42.2k
2 votes
Accepted

I inverted 2 GPIO pins. Is pi4 dead?

I think you mean "shorted" and not inverted. And yes, this is fatal for the PMIC (power management IC). Your Pi is dead.
kwasmich's user avatar
  • 2,702
1 vote

Pi4 backup/restore of /rootfs partition from bkup_rpimage

Do you know this: https://www.linux-tips-and-tricks.de/de/raspberry/23-pi-erstellt-automatisch-backups-von-sich-selbst-pi-creates-automatic-backups-of-itself/ I use it for backing up th whole pi, ...
Paul's user avatar
  • 21
1 vote
Accepted

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

/etc contains files involved in package management, so replacing these files with older versions may break respective software packages. Imagine you had /etc/foo/config which contained a setting bar=0 ...
Dmitry Grigoryev's user avatar
1 vote

How do I make the OS reset itself every time it boots up?

Start by separating changeable parts of the system, to different partitions. User changeable parts are in /home, but the OS also changes stuff in /var. Then mount the root partition as read-only. And ...
ctrl-alt-delor's user avatar
1 vote

Recover Files From Non Bootable Install

You should be able to mount the SD Card in a reader on any Linux machine, including the Pi. Trying to do on a Windows or Mac is a lot of trouble. You can mount an image on any Linux machine. You ...
Milliways's user avatar
  • 60.5k

Only top scored, non community-wiki answers of a minimum length are eligible