Skip to content

Server and backup · Release 1.2.1 · Verified

NOQ Purser

If your backups sit on the same machine as the server, whoever gets into the server can delete them too. Purser pulls the backups from the server itself; nothing can connect to it, the box always starts the connection. It does not make backups: it guards the repositories you already prepare with pgBackRest, Borg or restic. No cloud, no account, no internet access.

Difficulty
Medium: eleven solder joints
Time
An hour of soldering, half an hour of setup; the first fill takes hours, depending on the size of your backups
Connection
Local network only, by cable. It never goes online; no NOQ account, no NOQ server, no third-party service.
Licence
Software GPL-3.0-or-later · case and hardware files CERN-OHL-S-2.0

Release 1.2.1 · Verified

Verified: running every night, and we restored from it

  • Working

    Every night the box pulls the backup from the server itself, checks it by reading it back from the disk and keeps it as a new generation. A read-back that does not fit in one window resumes the next night. The card tool, pairing, the phone page, the light stick, the maintenance switch and the battery clock work.

  • Restore drill passed

    24 Nov 2026: a generation taken by the box was opened read-only and restored in a container with no network. PostgreSQL (pgBackRest) restored, recovered and opened writable; the last borg archive opened and the extracted files matched the live system byte for byte.

  • Next

    Purser v2: USB 3, version history and stronger encryption. See the On the way card below.

How it works

The box comes, takes, leaves

  • The box pulls the backup

    The server prepares its backups and freezes that night's state. The box connects at a fixed hour, fetches and checks only the list first, then opens its disk and pulls the backup read-only.

  • Nothing connects to the box

    With the maintenance switch off, nothing on the box is listening. Even if the server is taken over, the attacker has no way to reach the box.

  • It checks what it pulled

    Mass deletion, mass change, a file that should never change changing, or a stale source make it suspicious. When suspicious it deletes nothing and takes no new backup.

  • It keeps its own calendar

    Old backups are pruned by the box's schedule, not the server's. If someone on the server says "delete everything", the history on the box stays.

  • The light tells you

    On the eight LEDs each colour has exactly one meaning: green is tonight done, red is suspicion and nothing else. No notification service, app or account needed.

  • A switch for maintenance

    Flip the toggle and the box serves one page, on the local network only; you check its state from your phone. Flip it back and the page closes and sessions drop.

What you need

Eight parts, eleven wires; fifteen with the clock module

Tools

  • Soldering iron and thin solder
  • Multimeter
  • A Linux or macOS computer
  • microSD card reader

Time

An hour of soldering, half an hour of setup. The first fill depends on the size of your backups; at USB 2.0 speed, hundreds of gigabytes take hours.

Parts list

PartQtyNote
Orange Pi Zero 311 GB of memory is enough. Wi-Fi is not used.
2.5" SATA SSD1At least twice the total size of your backups. We took the SSD board out of its case to save space.
USB-SATA bridge board1The board inside an ordinary USB-SATA cable. The cable is cut and the wires are soldered straight to the board.
microSD card18 GB or larger.
5 V 3 A USB-C power adapter1A computer's USB port is not enough; the disk draws a high current when it first starts.
Ethernet cable1
8-LED addressable stick1WS2812 or SK6812. The four-colour (RGBW) kind works too; you choose it during setup.
Toggle switch (SPST)1Two wires, 6 mm neck. The maintenance switch.
DS3231 clock module (optional)1Fit it when your router has no time server. On the ZS-042 board remove R4 (201), which charges the cell; a CR2032 must not be charged.

Case

Screwless white case, purple ring · r1b

The tray and the shell snap together on seven flexing hooks, no screws. The boards sit on pins in the tray; the pin tips are melted down with a soldering iron. The light shines through a top thinned to 0.8 mm; the purser logo is engraved on top. r1 was printed and assembled; r1b is its corrected version.

The closed white Purser box held in a hand, a fruiting mandarin tree in Bodrum behind; embossed purser lettering on the lid, the maintenance switch with its purple ring on the left.
Closed Purser box on a wall; the light stick shows an orange warning, the two middle LEDs give the cause; USB-C and Ethernet cables below.
The closed Purser box in a hand, branches full of mandarins and sky behind.
Blue double-sided foam tape stuck where the SSD sits in the open tray; the Orange Pi and the bare SSD board beside it.

The SSD is held to the tray with double-sided foam tape, which also takes up vibration.

Open tray with the Orange Pi Zero 3, the clock module and wires; the bare SSD board beside it.

Inside: board and clock module on the tray pins.

The tips of the plastic pins holding the board, melted with a soldering iron.

The pin tips are melted with a soldering iron; no screws.

The light stick fixed in place inside the lid; capacitor, diode and resistor on it, wires running down.

The light stick in place inside the lid, with the fix parts on the stick.

The closed case: three upright openings at the front (USB-C, a purple USB-A plug, Ethernet), the maintenance switch and its purple ring on the left, the light and the purser logo on top

USB-C, a purple USB-A plug and Ethernet at the front; the maintenance switch on the left.

The open case: in the tray, left to right, the clock module, the Orange Pi Zero 3, the SSD and the bridge board; the shell lies upside down behind, with the light bar and the switch inside

From left to right: clock, Orange Pi, SSD and bridge.

The purple tapered ring of the maintenance switch on the left wall of the case

The ring screws straight onto the switch bushing; no nut needed.

Outside
175.5 × 68.9 × 27 mm
Material
PETG: tray and shell white, switch ring and USB-A plug purple. Not PLA; the Orange Pi and the disk get warm.
Parts
Tray, shell (white) · switch ring, USB-A plug (purple)
Status
r1b: r1 was printed and assembled, the problems found are fixed
Changes from r1
Closing: seven flexing hooks instead of lip ridges that did not hold. The Orange Pi sits 1.8 mm off the front wall; the micro HDMI no longer touches it. The USB-C opening is a full stadium. The USB-A plug is independent of the case and goes into the socket. The ring has no nut; it screws on from the bottom. The clock module's single pin is on the right edge.
Light stick wiring
The stick runs on 5 V and the Orange Pi sends data at 3.3 V; on the edge, random LEDs show random colours. The fix is entirely at the stick; the Orange Pi is not touched: a 1N4007 diode in series in the stick's 5 V lead (banded end to the stick), a 470–1000 µF capacitor across the stick's 5 V and GND, and a 330 Ω resistor in series at the stick's DIN. GND stays common.

If you would rather not print it, the printed case is in the store; electronics not included.

Print and assemble

  1. 01

    Print

    Print the shell top down; the logo and the light window are the first layers, no supports. Print the tray bottom down. The ring and the plug are small: turn on skirt and brim.

  2. 02

    Fit the boards, melt the pins

    Seat the Orange Pi on four pins and the clock module on three. Press the 2.5 mm tip of each pin down with the soldering iron; the mushroomed tip holds the board.

  3. 03

    Light stick

    Put the stick on the two pins inside the shell, LEDs up, and melt the tips the same way. Two thin rails keep it 4 mm below the top, so the light is soft, not dotted.

  4. 04

    Switch and ring

    Pass the switch through the hole in the left wall and screw the ring straight onto its bushing; no nut needed. The metal thread cuts its own thread into the PETG. The ring sits in its 1 mm seat.

  5. 05

    Disk and plug

    Place the SSD and bridge between the four corner guides on the right. Push the USB-A dust plug into the socket; if it does not go in, turn it 180°.

  6. 06

    Close

    Press the shell onto the tray until all seven hooks click. To open, hold it at the notch on the right end and lift firmly.

Wiring

Eleven wires, fifteen with the clock module

Pin numbers come from the official Orange Pi Zero 3 v1.2 pinout. The disk wires, the light and the switch are verified on our own box. Pin 1 is the square solder pad on both headers.

WireGoes toNote
Disk · red 113-pin header, pin 1 (5 V)Power for the bridge board
Disk · black 113-pin header, pin 2 (GND)
Disk · white (D−)13-pin header, pin 3 (USB2 D−)Keep the data wires short and close together
Disk · green (D+)13-pin header, pin 4 (USB2 D+)
Disk · red 226-pin header, pin 4 (5 V)Extra supply, so the disk current is not carried by a single pin
Disk · black 226-pin header, pin 9 (GND)
LED · 5 V26-pin header, pin 2 (5 V)
LED · GND26-pin header, pin 6 (GND)
LED · DIN26-pin header, pin 19 (MOSI)The stick's input end; DOUT stays free
Switch · lead 126-pin header, pin 12 (PC11)
Switch · lead 226-pin header, pin 14 (GND)Contact closed means maintenance on
Clock · VCC26-pin header, pin 1 (3.3 V)Not 5 V; the module pulls I²C up to this voltage
Clock · SDA26-pin header, pin 3 (I²C3 SDA, PH5)
Clock · SCL26-pin header, pin 5 (I²C3 SCL, PH4)
Clock · GND26-pin header, pin 25 (GND)Pin 9 carries the disk's extra ground; 20 works too

In order

  1. 01

    Take out the bridge board

    Open the housing of the USB-SATA cable, take out the board and desolder the USB cable. Four solder pads for USB remain on the board.

  2. 02

    Wire the disk

    Solder the four wires to the first four pins of the 13-pin header and the extra supply pair to the 26-pin header. The disk runs at USB 2.0 speed; enough for a nightly backup.

  3. 03

    Wire the light

    Solder the stick's 5 V, GND and DIN. Data travels on one wire. Without a level shifter the stick needs a diode, a capacitor and a DIN resistor; see the LED card below.

  4. 04

    Wire the switch

    Solder the two leads of the switch to pin 12 and pin 14. No external resistor is planned; the board's internal pull-up will be used.

  5. 05

    Wire the clock module (optional)

    VCC to pin 1, SDA to pin 3, SCL to pin 5, GND to pin 25. 32K and SQW stay free. The box finds the module at address 0x68 itself; it takes its first time from the phone while pairing and keeps it without a network afterwards (about a minute of drift a year).

  6. 06

    Measure before powering

    Check with a multimeter that there is no short between 5 V and GND. The undersides of the bare boards and the soldered ends must not touch each other.

  7. 07

    Power from the adapter

    Plug the board into a 5 V 3 A adapter, not into a computer.

3D pinout

Find the pin by turning the board

A 3D model of the Orange Pi Zero 3 v1.2. Tap a pin or pick it from the list; the pins Purser uses are labelled (with the clock module also 1, 3, 5 and 25). Pin names come from the official manual.

Drag to rotate · Scroll or pinch · Tap a pin

5VExpansion · Pin 1 · Power in/outPurser · Disk 5 V

Orange Pi hardware manual · Audio outputs per the §3.15 schematic: 7 = R, 8 = L.

Download

Release 1.2.1

Nothing to download by hand: two commands run straight from here. The card tool downloads the image itself and checks it; the server install fetches the package, checks it and installs it.

On your computer (macOS, Linux): prepare the card

bash <(curl -fsSL https://open.noq.works/files/purser/purser-setup)

On the server: install (it finds its own LAN address; --listen to choose another)

curl -fsSL https://open.noq.works/files/purser/install | sudo bash

On your computer: update a running box in place (maintenance switch on, same card)

bash <(curl -fsSL https://open.noq.works/files/purser/purser-box-update) <address>

If you want to read them before running anything: the files

FileSizeSHA-256
noq-purser-setup-1.2.1.tar.gz22 kBc62fccb9a5075ef5…
noq-purser-server-1.2.1.tar.gz37 kBfe52fa8353ab6ab4…
noq-purser-1.2.1-orangepizero3.img.xz269 MBd9b0182f04c14d80…
noq-purser-box-1.2.1.tar.gz173 kB8a45c972c63fee47…

Setup

One card, one sheet of paper, one QR code

  1. 01

    On the server: one line

    curl -fsSL https://open.noq.works/files/purser/install | sudo bash. It fetches the package, checks it, and creates a separate user and a narrow gate only the box uses. Then you list your backup repositories in /etc/purser/source.conf.

  2. 02

    On your computer: one line

    bash <(curl -fsSL https://open.noq.works/files/purser/purser-setup). It downloads and checks the image, lists the SD cards and asks for the box language, network (DHCP by default) and time server. If the disk is to be erased you confirm by typing the new box id; you type the device name once more before the card is written.

  3. 03

    Write it on paper

    Once the card is written two things are shown once: the 12-digit operation code and, if the disk is erased, the recovery passphrase. Setup does not go on until you have written them down and typed "written". No copy stays on the computer or the server; do not photograph them.

  4. 04

    Insert the card, power on

    Card, disk, Ethernet, power last. The first boot is unattended: it takes the settings from the card, erases the setup partition and prepares the disk (cyan breathing). When it is done a dot lights at each end of the stick: waiting to be paired.

  5. 05

    On the server: purser pair

    The terminal shows a QR code and a one-line token, valid for ten minutes and once.

  6. 06

    Switch maintenance on, scan the QR code

    The light blinks purple. Open https://<id>.local on your phone and accept the browser's warning for the box's self-signed certificate once. Tap Pair and scan the code. With a clock module the phone's time is written to it once at this point.

  7. 07

    Switch it off

    The page, SSH and the box's presence on the network close. The box pulls its first backup that night; a green light in the morning means it worked.

The box page

On your phone, only while the switch is on

With maintenance on, the box opens its own page on your network: https://<id>.local. No app, no account; switch it off and the page is gone.

State: The same light as the stick, disk, temperatures, clock source.

State

The same light as the stick, disk, temperatures, clock source.

Pulling: The bar fills blue from left to right.

Pulling

The bar fills blue from left to right.

Live transfer: Speed, data received, time elapsed; the last two minutes as a graph.

Live transfer

Speed, data received, time elapsed; the last two minutes as a graph.

Actions and lights: What every colour means, actions, generations.

Actions and lights

What every colour means, actions, generations.

Operation code: Every action asks for the 12-digit code on your paper.

Operation code

Every action asks for the 12-digit code on your paper.

Pairing: Scan the QR code the server shows.

Pairing

Scan the QR code the server shows.

Lights

One colour, one meaning

ColourMeaning
WhiteReady, disk closed
White, a dot at each endNot paired, or disk not prepared
Blue, filling barPulling the backup
CyanChecking what was pulled
GreenTonight is done
YellowWarning: the backup was taken but needs a look
OrangeFault: the backup could not be taken
Orange, the first two LEDs blueFault: disk. Not plugged in, dropped off USB or unreadable
Orange, LEDs 3 and 4 cyanFault: server. Unreachable, or the list could not be fetched
Orange, the last two LEDs redFault: the check did not match
Yellow, LEDs 5 and 6 whiteWarning: the clock is not trusted
RedSuspicion. Red never lights for anything else
Purple, slowly coming and goingMaintenance on; purple breathes over the state beneath (purple-white: ready)
Red and white alternatingOperation code locked
DarkNo power

Alternatives

When Purser, and when something else

Purser solves one problem: whoever takes over the server must not be able to delete or encrypt the backup. There are other ways to get there; here is an honest comparison.

  • Backups on the same machine or a NAS on the network

    Can the server delete it: yes. Effort: low. Ransomware usually encrypts these first.

  • A USB disk you plug in by hand

    Can the server delete it: yes, while plugged in. Effort: high. Safe, but people forget; a missed day is an open day.

  • Borg / restic in append-only mode

    Can the server delete it: no, but it can write. Effort: medium. Good protection in software; setup and key handling need care, and the repository still sits on a machine the server can reach.

  • A NAS with immutable snapshots

    Can the server delete it: depends on the setup. Effort: medium. A strong option; the admin interface is on the network, so a taken admin account is still a risk.

  • Cloud with object lock

    Can the server delete it: not while the lock lasts. Effort: low. Effective; but the data leaves your building, often your country, and you pay every month.

  • Purser

    Can the server delete it: no, the server can never reach the box. Effort: once, at setup. Your data stays in your building. One disk, one box: keep a separate copy against fire and theft.

Limits

What it does not protect

  • A disaster in the same place

    If the box is in the same house as the server, fire or theft takes both. Put the box in another room, in another building if you can.

  • A stolen box

    The disk is encrypted but its key is on the card; the box has to open it unattended. The real protection is that your backups are encrypted at the source.

  • Data that never entered a backup

    Purser guards prepared backups only. A folder that never made it into your backup is invisible to it too.

  • The box itself is taken

    The disk key is on the box. Whoever takes the box physically, or while it is in maintenance mode, can erase the history. Switch maintenance off when you're done and keep the box somewhere locked.

  • A patient attacker who produces bad backups for months

    If the server produces broken or incomplete backups for months, the box keeps them faithfully. The answer is long retention and regular restore drills.

  • An untested restore

    A backup that was never restored is not a backup. Our first drill on 23 Nov found a real problem (see the problems card); we fixed it and the drill on 24 Nov passed clean. Do your own once a month: mount a generation read-only, restore a database and a few files, compare them with the live system.

Known issue · LED

WS2812B / SK6812 LED stick + Orange Pi / Raspberry Pi: flicker and random colours

Wiring: 5 V → pin 2, GND → pin 6, DIN → pin 19 (SPI MOSI). The pins are the same on a Raspberry Pi. Symptom: random LEDs light up in random colours, or the stick flickers; more often while the disk is busy. The fix is entirely on the LED stick; the board is not touched.

Back of the light stick: 1N4007 diode on the 5VDC pad, resistor on DIN, capacitor across 5VDC and GND.

Diode on 5VDC (banded end to the stick), resistor on DIN, capacitor across 5VDC and GND after the diode.

Light stick with wires attached; diode and resistor in heat shrink.

Diode and resistor in heat shrink; the wires are soldered straight to the parts.

Side view: the capacitor's striped negative side faces the GND pad.

The capacitor's striped (negative) side goes to GND. Keep the mounting holes clear.

  • Cause

    The stick runs at 5 V and reads its data line against a threshold of about 3.5 V. Orange Pi and Raspberry Pi drive that line at 3.3 V, so every update is on the edge. When the disk current makes the 5 V rail sag, it gets worse.

  • 1. A 1N4007 diode in series in the 5 V lead

    The diode goes on the stick's 5V pad, banded (cathode) end towards the stick. The stick's supply drops to about 4.3 V and the 3.3 V data line is now comfortably above the threshold.

  • 2. A 470–1000 µF / 10 V capacitor across 5 V and GND

    After the diode, on the stick side. Long leg (+) to 5 V, striped (−) side to GND. It absorbs the ripple from the disk current.

  • 3. A 330 Ω resistor in series at DIN

    The resistor goes on the stick's DIN pad, the wire on its other end. Anything from 300 to 470 Ω works; 3R3 (3.3 Ω) does not.

  • Verified

    Verified on our own box on 23 Nov 2026: no random colours or flicker after the fix. Purser light animations (LIGHT_ANIM) are on by default again.

Problem and fix

Problems we ran into and how we fixed them

What happened while we built our own box, and how we fixed it. If you hit the same thing, start here; if you can't solve something, ask below.

  • A false "suspect" alarm after an interrupted borg run

    Cause: the previous generation was taken while a borg run on the server had been cut. Borg rolls back the last uncommitted segment on its next run and writes the same number again; the box flagged that as "a segment that must not change has changed". How we found out: the index.N file in the previous copy was lower than the changed segment's number, so the segment had never been committed. Fix (1.1.1): segments after the last commit no longer raise the alarm; a changed committed segment is still suspect. On an older version: check index.N first, then clear the flag on the page with the operation code.

  • The read-back runs out of time every night and never finishes

    Cause: the read-back of the first difference was too large for one window at USB 2 speed; it was cut when the time ran out and started from the beginning the next night, so the generation was never published. Fix (1.1.1): files that were read back (path, ctime, size, hash) are kept on the box; the next night files untouched since are not read again and the read-back resumes where it stopped. If the transfer writes to a file its ctime changes and it is read again.

  • The disk cannot be locked after stopping the service (disk_not_closed)

    Cause: when purser.service was stopped, the transient sandbox unit opened for the read-back or the transfer (run-uNNN) kept running; the disk stayed busy and could not be locked. Fix (1.1.1): every sandbox unit is tied to the service that started it (PartOf); when the service stops, they stop too. On an older version: find the unit with systemctl list-units 'run-*', stop it, then close the disk.

  • Restore drill: files with holes in the first generation

    In an isolated container, with the generation mounted read-only, we restored the database: clean, about a minute. On the borg side 7 segment files had holes: size and mtime right, parts of them never reached the disk, most likely from the interruptions during the first fill. The per-file check had missed it because it read the freshly written data from the page cache, not from the disk. Fixed: the read-back drops the caches and reads the disk; files with holes are found every night and pulled again. Run a restore drill yourself: a copy is only proven once it has been restored.

  • The first backup takes hours

    Cause: the Orange Pi Zero 3's USB ports are USB 2.0; the disk is read and written at 35–40 MB/s at most. A large first fill can take hours. What we changed: the first generation now reads the disk once; the whole-disk scrub that followed the file-by-file check is gone. Later nights pull only what changed and take minutes. USB 3 hardware comes with Purser v2.

  • The page says "no generation yet" although the first backup was taken

    Cause: the page read the list from the transfer history, which never recorded the first generation. Fixed: the box writes the generations it published to their own list and the page shows that. Update if you are on an older version.

  • "Backup taken, with a warning": stale source

    Cause: one of the backup jobs on the server finished late or was cut that night; when the generation was made, that source's newest backup was older than 26 hours. The box still takes and verifies the generation and does not treat it as suspect. If the source is fresh the next night the warning clears by itself; if it repeats every night, look at the backup job on the server.

  • The inner lip of the tray prints in mid-air

    Cause: the first r1b tray drawing had nothing under the lip. Fixed: a band under the lip that stays clear of the board and disk standoffs. Download the current STL files; if you printed the old one, print it again.

  • Armbian's newest test build does not boot on this board

    The stable release (6.12 kernel) boots. The Purser image is built from the stable release; if you install by hand, use the stable release.

Design

Make the case your own

The case's STEP and STL files are downloadable under an open hardware licence (CERN-OHL-S-2.0). Change them, fit them to your own board and disk, print again. Share your idea or design with us; what we take into the next release goes into the release notes under your name.

Coming next

Purser v2

We're working on the second version. Purser is for people who want to protect their data from ransomware without a large IT team: small businesses, home-server builders, anyone who wants to own their data. v2 stays that way: simple to set up, quiet in operation, entirely in your hands.

  • USB 3 hardware

    A new board and a USB 3 disk link. The first fill and the nightly check will take far less time than today.

  • Advanced versioning

    You decide which copies are kept, and for how long; the rule that old versions are never touched stays.

  • Stronger cryptography

    The encryption layer is being rebuilt to be stronger.

Quote

Need a ready-made device? A corporate need?

A ready box, setup or consulting: answer a few short questions and we will email you a quote.

The NOQ Purser case: a closed white box with a green light line on top, USB-C, a purple-capped USB-A and Ethernet at the front, and the maintenance key in its purple ring at the side

Quote flow

Services

What we do for NOQ Purser

What do you need?

  • A ready, installed box

    Arrives ready; plug it in.

  • Setup and commissioning

    We connect it to your servers.

  • Several boxes

    Several sites or copies.

  • Consulting

    We review your backups together.

How long should backups be kept?

  • One week

    The last 7 days.

  • One month

    7 daily + 4 weekly.

  • One year

    7 daily, 4 weekly, 12 monthly.

  • As long as regulation requires

    We set it together.

  • I’d like your advice

    We suggest one for you.

AI

Build it with AI

The whole project document is ready as plain text: your assistant walks you through it from printing to flashing, and checks your photo when you get stuck. For Gemini the prompt is copied to your clipboard; just paste it.

Makers

I made one

Photos and notes from people who built one. Add yours: a photo, a short note, the version, materials and print settings.

Sign in to take part

Use your NOQ account: a code by WhatsApp or email, no password. The same account works on noq.works and the NOQ app.

Questions

Ask where you got stuck

Write your question; Luma answers right away from the project documents and cites its sources. If the documents don't cover it, Luma passes it to the team; it is marked once the team verifies it.

Sign in to contribute

Suggestions

What should the next version have?

Suggest an idea or vote for one you like. Planned suggestions go into the release notes with your name.

Sign in to contribute

Release and licence

Use it, change it, share it

Release
1.2.1 · 2026-11-29
Software
GPL-3.0-or-later
Case and hardware files
CERN-OHL-S-2.0
Attribution
NOQ Purser, NOQ Open · open.noq.works/projects/purser

Built a similar box, or tried another board? Share it below or ask a question; we update the page accordingly.

Notes

Notes on this project

Our own measurements and working examples, published on noq.works.

Cookie preferences