xxhsum64_command #1095

Closed
opened 2025-05-14 21:04:47 +00:00 by shaughanlavine · 3 comments

What I'm trying to do and why

I want to use 'xxhsum -H64xxhsum -H64' as my xxhsum64 command, as required by the implementation of xxhsum I'm using. I set 'xxh64sum_command: /run/current-system/sw/bin/xxhsum -H64' in /etc/borgmatic/config.yaml.

Steps to reproduce

Run sudo 'borgmatic check --force' with
checks:

  • name: spot
    (and the required parameters) in /etc/borgmatic/config.yaml.

Actual behavior

[Errno 2] No such file or directory: '/run/current-system/sw/bin/xxhsum -H64'

Expected behavior

Run a spot check.

Other notes / implementation ideas

Using a script for 'xxhsum -H64', as suggested by Witten, works.

borgmatic version

1.8.14

borgmatic installation method

Nixos package

Borg version

borg 1.4.1

Python version

No response

Database version (if applicable)

No response

Operating system and version

NixOS 24.11 (Vicuna)

### What I'm trying to do and why I want to use 'xxhsum -H64xxhsum -H64' as my xxhsum64 command, as required by the implementation of xxhsum I'm using. I set 'xxh64sum_command: /run/current-system/sw/bin/xxhsum -H64' in /etc/borgmatic/config.yaml. ### Steps to reproduce Run sudo 'borgmatic check --force' with checks: - name: spot (and the required parameters) in /etc/borgmatic/config.yaml. ### Actual behavior [Errno 2] No such file or directory: '/run/current-system/sw/bin/xxhsum -H64' ### Expected behavior Run a spot check. ### Other notes / implementation ideas Using a script for 'xxhsum -H64', as suggested by Witten, works. ### borgmatic version 1.8.14 ### borgmatic installation method Nixos package ### Borg version borg 1.4.1 ### Python version _No response_ ### Database version (if applicable) _No response_ ### Operating system and version NixOS 24.11 (Vicuna)
Owner

Thanks for taking the time to file this one! I have a fix in hand and I'm just writing tests for it now.

Thanks for taking the time to file this one! I have a fix in hand and I'm just writing tests for it now.
Owner

This is fixed in main and will be part of the next release!

This is fixed in main and will be part of the next release!
Owner

Released in borgmatic 2.0.6!

Released in borgmatic 2.0.6!
Sign in to join this conversation.
No milestone
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
borgmatic-collective/borgmatic#1095
No description provided.