Hot answers tagged


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 will be destroyed without a warning!!! First use fdisk to get the device id of you SD card (check the size) fdisk -l then I use dd to make a diskimage (...


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 three operating systems. (Windows - Linux - MacOS). For this detailed and helpful guide visit: How to Clone Raspberry Pi SD Card on Windows, Linux and macOS.


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 single virtual filesystem. There are mainly two union filesystems: overlayfs and aufs. Both have the same basic model. The following is a dramatic simplification: ...


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 release basis. Copying an old /etc is likely to cause errors later on. If you are lucky you may spot the error and be able to trace it to a /etc file ...


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 "different version" means for your new Raspberry Pi. I suppose it is a RPi 3B+, and your old installation is made on a RPi 3B (for example). A clone from the RPi 3B ...


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 disk drivers for LVM are not compiled into the kernel. So you have to load them as modules at early boot from an init ramdisk. On a default Debian system this ...


Do you know this: I use it for backing up th whole pi, including an rootfs on external drive. raspiBackup helps to create backups of a running Raspberry with no shutdown or manual intervention which means your can ...


/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 at the time you made your backup. Then a newer version of foo is released where bar was renamed to baz. When you install this package, /etc/foo/config is also ...


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 mount the other parts on top. You can then wipe the variable parts without braking the immutable OS part.


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 can use a Linux bootable CD. I suggest you get a new SD, install Raspbian and copy the files.


There exists a backup tool for Raspberries called raspiBackup. If you restore this backup on a different SD card you're actually cloning your Raspberry.

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