Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive

Recently I had to build a Linux kernel on my Raspberry Pi5 and detected the system became quite hot even with an original active cooler. That's the way I monitored the CPU usage and fan speed.

 

User Rating: 5 / 5

Star ActiveStar ActiveStar ActiveStar ActiveStar Active

I recently got a compute module 4 (CM4) donated to add support for NVMe in raspiBackup (See here for details). I'm used to use a Raspberry but never used a CM4 before so I had to ramp up on CM4 first. The following page describes how I managed to get a RaspbianOS (Buster) up and running on the CM4 and to boot from NVMe.

My CM4 specs: 1GB main memory, 32GB eMMC and 128GB NVMe from Hynix, no WiFi and a Waveshare Mini Base Board A (CM4-IO-BASE-A)

 

Parts

CM4Parts

Hynix NVMe, CM4 and Waveshare Mini Base Board A (from top to bottom)

 

 

Parts assembled

 

CM4

 

Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive

raspiBackup creates a backup which contains all required information to restore a backup manually. User Micha wanted to restore a backup manually and kindly documented the steps in detail in a comment in German. I transleted his comments into English:

 

User Rating: 5 / 5

Star ActiveStar ActiveStar ActiveStar ActiveStar Active

Following pages describe different usage scenarios and configurations. They should help to find the right usage configuration out of the various configuration options of raspiBackup. Later on these usage scenarios can be customized further. An overview of all option is available here. The different ways to restore a backup are described here.

All configurations which don't use a dd backup save an external rootfilesystem together with the SD boot partition. If the USB bootmode is used and no SD card is used any more the whole rootpartition is also saved.

 

Usage scenarios described:

1a. A Windows user wants to backup his Raspberry and restore it with windisk32imager on Windows.

1b. A Windows user has a 32GB SD card but uses only 12GB and 12GB should be saved only.

1c. A Windows user wants to use pishrink to create a minimal backup image.

2. Raspberry should be saved very fast. Backuppartition is a nfs mounted EXT4 partition which is provided by a Synology.

3. Raspberry should be saved on a Samba mounted filesystem, which is provided by a Windows box.

4. A snapshot should be saved because there are some major changes planned and it should be possible to revert quickly.

5. A USB boot system backup should include an additional partition.

6. Raspberry should be saved on a local USB stick or a local USB disk.

 

User Rating: 5 / 5

Star ActiveStar ActiveStar ActiveStar ActiveStar Active

I noticed there are a lot of raspiBackup users who use dd as backup method. In particular users which work primarily on Windows  use dd because they can restore a dd backup on Windows with win32diskimager or equivilent tools. There is a certain risk with dd which doesn't exist with tar of rasync. That's why I suggest better to use tar or rsync .

 

User Rating: 4 / 5

Star ActiveStar ActiveStar ActiveStar ActiveStar Inactive

Users of raspiBackup in the world (Status 01/2024)

Countries: 70

 

User Rating: 4 / 5

Star ActiveStar ActiveStar ActiveStar ActiveStar Inactive

raspiBackup can be used to restore a backup to it's original device configuration. There exist 3 configurations:

1) /boot and / on SD card

2) /boot on SD card and / external on a SSD, USB disk or USB flash drive (Raspi2 which doesn't support USB boot mode)

3) /boot and / on SSD, USB disk or USB flash drive (USB boot mode on Raspi3 or Raspi4)

raspiBackup can be used to migrate easily from (1) to (2) or (3).

 

User Rating: 1 / 5

Star ActiveStar InactiveStar InactiveStar InactiveStar Inactive

Whenever an upgrade to a new version of raspiBackup is executed it's tested whether the new version has new configuration options. If there are new configuration options used the local configuration file will be merged into a new file with the new configuration file while upgrading raspiBackup. Following page describes in detail what's going on during a configuration update.

Note

If a version less than 0.6.5 is upgraded the configuration file merge has to be started manually after upgrading. Following command will start the configuration update:

sudo raspiBackup.sh --updateConfig
 

Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive

raspiBackup - Supported hardware and software

 

raspiBackup is supported with RaspbianOS and Uvuntu and Raspberry hardware only. But raspiBackup can also be used successfully on different Raspberry compatible hardware with different Linux distributions. But note raspiBackup requires the /boot and /root partition used in RaspbianOS.

Just test raspiBackup on your environment and be happy if it works. But if it fails or you get error messages there is no support. You may create an issue in github and append the debug log and I will check whether the issue is minor and it's a low hanging fruit. But in any case the environment is unsupported.

 

Given the fact raspiBackup is maintained and supported for free

1) It's too expensive for me to buy all possible hardware required for tests

2) it's too expensive for me to setup and execute all test combinations

3) it's to expensive for me to execute all tests every time a new release will be published.

Donations may depending on the effort get me to enable unsupported environments.

raspiBackup checks whether it's running on a supported hard- and software and terminates if it's unsupported. Use option --unsupportedEnvironmentto disable this check.

 

Attention 

There exists now a complete new raspiBackup documentation that replaces all raspiBackup documention on this website.

User Rating: 4 / 5

Star ActiveStar ActiveStar ActiveStar ActiveStar Inactive

A lot of time people ask how the rsync backup type works and how hardlinks are used. Following article describes what happens when files are created and deleted on the file system in the backup process and how hardlinks are used.

User Rating: 5 / 5

Star ActiveStar ActiveStar ActiveStar ActiveStar Active

raspiBackup until now supported RaspbianOS only. Raspberries 4B with 8GB and Raspberries 400 allow to install Ubuntu as operating system and it's  heavily used. That's why raspiBackup will support Ubuntu Desktop and Ubuntu Server in next release.

I fortunately was able to buy a 8GB Raspi from the donations I got for raspiBackup to add and test the support for Ubuntu. 

Release 0.6.9 was published today (11/19/2023) and now raspiBackup supports also Ubuntu 22-04, 23-04 and 23-10

Attention 

There exists now a complete new raspiBackup documentation that replaces all raspiBackup documention on this website.

Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive

Depending on the backup method used in raspiBackup you should choose the right filesystem on your backup partition. Following table lists the different filesystems per backup method.

impossible: not possible, restricted: limited, possible: possible, plus: suggested

 

Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive

raspiBackup allows to create a kind of snapshot with option -M. It's a normal backup with two special properties:

  1. Snapshots will not be deleted by the selected backup strategy and will stay there until they are manually deleted.
  2. Snapshots have a description which is the parameter for option -M. This description is appended at the end of the backup directory name.

This allows to create a snapshot besides the usual backup and you can use the description to remember the purpose of the snapshot. That's convenient if you plan a software update or any other major change of your system. If the update fails then you can restore the snapshot easily and start over. If the update was successful delete the snapshot in the backup directory.

 

There is also a Youtube video available which explains raspiBackup snapshots and includes a demo.

Attention 

There exists now a complete new raspiBackup documentation that replaces all raspiBackup documention on this website.

Subcategories