Subject: backupninja: borg handler should support new 1.2 command 'compact'

From: Olivier Berger <[email-masked]>
Date: Sat, 14 Sep 2024 11:53:13 +0200

Package: backupninja
Version: 1.2.2-1
Severity: wishlist
Tags: upstream

Hi.

Since borg 1.2, a new distinction appeared between prune and compact.

Ths seems to be addressed upstream per https://0xacab.org/liberate/backupninja/-/issues/11340

In the meantime, users may use borg compact manually in case they see an increase in destination disk usage...

Hth,

-- System Information:
Debian Release: 12.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.10.6+bpo-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages backupninja depends on:
ii  bash    5.2.15-2+b7
ii  dialog  1.3-20230209-1
ii  gawk    1:5.2.1-2
ii  mawk    1.3.4.20200120-3.1

Versions of packages backupninja recommends:
ii  mailutils [mailx]  1:3.15-4

Versions of packages backupninja suggests:
ii  borgbackup     1.2.4-1
ii  bzip2          1.0.8-5+b1
ii  debconf-utils  1.5.82
pn  duplicity      <none>
ii  fdisk          2.38.1-5+deb12u1
pn  genisoimage    <none>
ii  hwinfo         21.82-1
pn  mdadm          <none>
pn  rdiff-backup   <none>
pn  restic         <none>
ii  rsync          3.2.7-1
pn  subversion     <none>
pn  trickle        <none>
ii  util-linux     2.38.1-5+deb12u1
pn  wodim          <none>

-- Configuration Files:
/etc/backupninja.conf changed [not included]

-- no debconf information