Backup fails when started from UI

Hi,

Latest core.

I recently added a crowdsec module then added it to an existing backup :

When lauched from the UI, it fails :

crowdsec2: starting backup 8 at Wed Jul  1 11:23:00 2026
Repository is present at path ce9fb2b8-d342-5aaa-b538-ada6b54553f7/crowdsec/4274927c-0a9c-4efb-b1c9-84ada41e2048
[ERROR] restic backup failed: Popen.__init__() got an unexpected keyword argument 'check'
crowdsec2: backup 8 failed (exit code 1)

When launched manually it succeeds :

[root@ns8 ~]# runagent -m node run-backup --backup 8
(...)
crowdsec2: starting backup 8 at Wed Jul  1 11:16:09 2026
Repository is present at path ce9fb2b8-d342-5aaa-b538-ada6b54553f7/crowdsec/4274927c-0a9c-4efb-b1c9-84ada41e2048
no parent snapshot found, will read all files

Files:          19 new,     0 changed,     0 unmodified
Dirs:            4 new,     0 changed,     0 unmodified
Added to the repository: 41.857 MiB (6.923 MiB stored)

processed 19 files, 41.838 MiB in 0:07
snapshot 84222e41 saved
Applying Policy: keep 30 latest snapshots
keep 1 snapshots:
ID        Time                 Host        Tags        Reasons        Paths                                            Size
---------------------------------------------------------------------------------------------------------------------------------
84222e41  2026-07-01 09:16:12  ns8                     last snapshot  /srv/state/environment                           41.838 MiB
                                                                      /srv/state/secrets/bouncer_keys_firewall.secret
                                                                      /srv/volumes/data
---------------------------------------------------------------------------------------------------------------------------------
1 snapshots

crowdsec2: backup 8 completed
(...)
Backup 8 completed successfully

What’s wrong ? :thinking:

Txs !

3 posts were merged into an existing topic: Backup Error dnsmasq to SMB-Share