Automatic indi-allsky backup on external drive (Fritzbox NAS) – Phase 2: Files

After the database, configuration and migration of indi-allsky have already been automatically backed up to an external drive, the next step was to work on the actual files: the night images from which Timelapse, Keogramm and Startrails will later be created.

The basis for this is phase 1 of the backup, which I have described here:

Automatic indi-allsky backup on external drive (Fritzbox NAS) – Phase 1

Phase 2 is much more demanding. While database backups are comparatively small and deterministic, with image data we are quickly talking about several gigabytes per night – and about data that is not all equally valuable.

Why not simply “back up everything”?

An all-sky system produces images every night – regardless of whether the sky is clear, partially cloudy or completely unusable. If you backed up all the files blindly, even a large external hard disk would fill up very quickly.

That’s why it was clear from the start: the backup must be quality-based.
Not every night is equally valuable – and with indi-allsky this can be derived very well from the database.

And this is how I proceeded…

Automatic indi-allsky backup on external drive (Fritzbox NAS)

In this article, I describe how I back up my indi-allsky installation on my Raspberry Pi fully automatically to an external hard disk.

The official indi-allsky documentation describes very well what should be backed up – but leaves open how to turn it into a reliable, automated backup.

In my setup, indi-allsky runs permanently on a Raspberry Pi. The backup is not done locally, but on an external SSD on a Fritzbox, connected via SMB.

The aim was to consistently implement the recommendations from the official documentation: Backup and Recovery – indi-allsky and to expand it to production readiness:

  • external target
  • automatic backups
  • integrity checks
  • time-based retention
  • Mail notification in case of errors

…and this is how I proceeded!

Digital picture frame with Allsky images: Update with timelapse videos on the Raspberry Pi

After using the basic version of my Raspberry Pi setup as a digital picture frame for a few weeks in everyday life, it was clear that the system was stable – but the dashboard itself could be significantly improved.

I have described the basis here:
Raspberry Pi as a digital picture frame in kiosk mode – hardware, setup & troubleshooting

This update builds exactly on this and describes the final, corrected version, which is now running permanently and unattended.

Raspberry Pi 5: Replace microSD with NVMe SSD and migrate system cleanly

I have moved my Raspberry Pi system from a microSD card to an NVMe SSD. Specifically, a 512 GB NVMe is now being used via a PCIe HAT. The aim was to make the system more robust, faster and more stable in the long term.

microSD cards are sufficient for many Raspberry Pi projects, but quickly reach their limits when used continuously with many write accesses. In my case, I run indi-allsky, image storage, database access and regular uploads, among other things. An NVMe SSD is simply the better choice for this: higher performance, significantly longer service life and less risk of file system problems.

In the following, I describe step by step how I migrated the existing system from the microSD to the NVMe during operation.

Raspberry Pi as a digital picture frame in kiosk mode – hardware, setup & troubleshooting

External displayI had the crazy idea of building a digital picture frame to display the latest photo from my Allsky camera. The main trigger was the realization that indi-allsky with Redirect Views makes it really easy to always display the latest picture. And the second realization: touch displays aren’t even that expensive.

In this article, I document a tried-and-tested setup with Raspberry Pi 4, HDMI touch display and Chromium in real kiosk mode – including typical pitfalls and their solutions.

Hardware setup

The following components were used for the setup:

  • Raspberry Pi 4 (2-8 GB RAM)
  • HDMI touch display (10.1 inch, 1280×800) – available e.g. from a large Chinese online retailer – detailed information here
  • MicroSD card (min. 32 GB)
  • Separate power supply for Raspberry Pi and display
  • USB touch cable + HDMI cable

Contrary to the manufacturer’s instructions, I use neither a Y-cable nor a loop-through solution for the power supply of Pi and display, but a dual-port power supply (USB-C for the Pi, USB-A/micro-USB for the display).