borgbackupserver icon indicating copy to clipboard operation
borgbackupserver copied to clipboard

Client Agent for Arch Linux and NixOS

Open Revan335 opened this issue 4 months ago • 6 comments

Description

A Client Agent for Arch Linux and NixOS. Examples for that: https://archlinux.org, https://cachyos.org, https://endeavouros.com and https://nixos.org

Use Case

More availability and using your Awesome work addition of the actually Available https://github.com/marcpope/borgbackupserver/issues/335 Distribution. Vorta or others are not compatible with your Awesome work.

Alternatives Considered

No response

Revan335 avatar Jul 25 '26 07:07 Revan335

When I look at install.sh it has support for arc so it should work. There's just one line that I think is a bit wrong pacman -Sy --noconfirm borg python to avoid problems with updating you also need u pacman -Syu --noconfirm borg python

theborg72 avatar Jul 25 '26 17:07 theborg72

Thanks for the request. The installer already supports the Arch family (arch, manjaro, endeavouros, cachyos), and the pacman -Syu fix @theborg72 suggested is in for the next release — untested on Arch here, so please report back if anything misbehaves. NixOS is a bigger job (no FHS paths, services managed declaratively), so leaving this open for that.

marcpope avatar Jul 26 '26 20:07 marcpope

The pacman fix is released in v2.65.0. Leaving this open for NixOS.

marcpope avatar Jul 26 '26 21:07 marcpope

The installer already supports the Arch family (arch, manjaro, endeavouros, cachyos)

Many Thanks! We can find it in the Repos, AUR or we need a manually Install with the pacman command above?

Revan335 avatar Jul 27 '26 12:07 Revan335

NixOS support is done and will be in the next release. The installer now detects NixOS, installs borgbackup/python3 via nix-env when they're missing (or you can declare them in configuration.nix beforehand), and writes a working systemd service (no more /bin/bash assumptions). One NixOS-specific behavior: BBS never updates borg on NixOS clients since packages are managed through nixpkgs — borg update jobs are skipped automatically and you update borg with your normal Nix workflow. Backups, restores, and agent self-update work the same as on other distros. Details added to the wiki (System Requirements + Agent Setup).

@Revan335 on your earlier question: there's no distro package or AUR entry for the agent — installation is the one-line curl command from your BBS server's Add Client page, on every platform.

marcpope avatar Aug 08 '26 14:08 marcpope

Awesome!

Many Thanks!

Revan335 avatar Aug 08 '26 20:08 Revan335