Skip to content

restic binary not found on macos #173

@moritzthecat

Description

@moritzthecat

on macos I installed npbackup 3.0.4 via pip in an venv and restic 0.18.1 via homebrew.
both programs can be run from same terminal. but npbackup cannot find restic.

npbackup-venv % npbackup-gui --log-file LOG                        
2025-12-01 01:41:12,914 :: INFO :: GUI: npbackup 3.0.4-darwin-UnknownBuildType-arm64-public-3.13-i 2025092901 - Copyright (C) 2022-2025 NetInvent running as thomas
2025-12-01 01:41:12,924 :: INFO :: Loaded config 5170DBB6 in /Users/xyz/dev/npbackup-venv/npbackup.conf
2025-12-01 01:41:13,301 :: ERROR :: No backup engine binary found. Please install latest binary from restic.net
2025-12-01 01:41:13,301 :: ERROR :: No backend binary found
2025-12-01 01:41:13,302 :: INFO :: Runner took 0.000397 seconds for snapshots
2025-12-01 01:41:13,567 :: INFO :: No valid snapshot list given
2025-12-01 01:41:26,055 :: INFO :: ExecTime = 0:00:13.141462, finished, state is: errors. 

from this post #124 I understood that I can set path to restic binary via environment variable
tried both
using cli % export NPBACKUP_BACKEND_BINARY=/opt/homebrew/bin/restic

and defining in environment tab

Image

then added the environment variable ${NPBACKUP_BACKEND_BINARY} in pre-exec

Image

But I still get error

2025-12-01 02:05:13,449 :: ERROR :: No backup engine binary found. Please install latest binary from restic.net
2025-12-01 02:05:13,449 :: ERROR :: No backend binary found

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions