Categories
Linux Self-hosting Technology

Offsite backup solution – Part 1

Welcome back! In Offsite backup solution – Part 0 we discussed the importance of offsite backups and self-hosted solutions. We also went through the general steps of setting this all up. Now, let’s dive into getting Armbian running on a NEO 3 ARM computer since that is what I have at hand. We’ll cover everything from downloading the Armbian image to seeing the Neo3 booted up.

Step 1: Downloading the Armbian Image

Simple, right?

  1. Visit the Armbian Website: Head over to the Armbian download page.
  2. Search for the Neo3: The image should match your hardware.
  3. Download via Torrent: Opt for the torrent link. Your download client will handle the rest.

Why Torrent?
Downloading the large image via torrent is the way to go. Not only does it help share the bandwidth load, but it’s also a nod to the volunteer-supported nature of the project. Let’s give back to the community while we get what we need.

Step 2: Flashing the SD Card

Choosing Your Tool
For flashing your SD card on Linux, we have some great tools available. While Etcher is popular, let’s highlight Popsicle—a simple yet effective tool for this job.

  1. Install Popsicle:

Either from your distribution’s repository, or via Flatpak.

  1. Flash the Image:
  • Open Popsicle: Launch the tool.
  • Select Image: Choose the Armbian image file you downloaded.
  • Select Target: Pick your SD card as the target device.
  • Flash: Hit ‘Next’ and let it work its magic.

Step 3: Connecting via USB-to-Serial Adapter

Compatibility Matters
Not all USB-to-serial adapters are equal. The Neo3 requires a high baud speed: 1500000. Not all adapters support this and they won’t even give you an error when you try it. The CH340 chipsets are reliable and widely available, making them an excellent choice.

  1. Connecting the Adapter:
  • Plug In: Connect the USB-to-serial adapter to your Neo3 and your computer.
  • Check Compatibility: Ensure your adapter supports the required baud speed.
  1. Using GNU Screen to Connect:
  • Install Screen,
  • Start the Connection,
    bash screen /dev/ttyUSB0 1500000

At this point, you should see…nothing! Because the device is not running.

Step 4: Booting the Neo3

  1. Insert the SD Card: Place the flashed SD card into your Neo3.
  2. Power Up: Connect the power supply. Your Neo3 should start booting with Armbian Linux.

Now if you look at your serial console, you should see the Neo3 boot into Armbian Linux:

Welcome to Armbian_community 24.11.0-trunk.351 noble!

Congratulations! In the next part, we’ll build the software stack to perform an automated backup onto an external drive. Things will get interesting!