Package: backup-manager
Version: 0.7.14-1
Severity: normal
Tags: patch
Hi there,
I recently noticed that my remote archives were not purged anymore (I am
using FTP but the problem would be the same for SSH). This seems to have
started when I upgraded from 0.7.12-4 to 0.7.14-1.
After investigating, I found the problem lies in the fact that
/usr/sbin/backup-manager exports
BM_BMP_PATH=/usr/bin/backup-manager-purge, whereas backup-manager-upload
tries to run $ENV{BM_BMP_PATH}/backup-manager-purge, thus trying to run
/usr/bin/backup-manager-purge/backup-manager-purge, which does not
exist.
My fix was to simply delete the line "export BM_BMP_PATH=$bmp" (line 37)
in /usr/sbin/backup-manager.
For what it's worth, this line was introduced in a commit related to
upstream issue #91 and I reported it there too:
https://github.com/sukria/Backup-Manager/issues/91#issuecomment-381925277
Thanks
-- System Information:
Debian Release: buster/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.15.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8),
LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages backup-manager depends on:
ii debconf [debconf-2.0] 1.5.66
ii perl 5.26.1-5
ii ucf 3.0038
backup-manager recommends no packages.
Versions of packages backup-manager suggests:
pn anacron <none>
pn backup-manager-doc <none>
ii dar 2.5.14+bis-2
ii dvd+rw-tools 7.1-12
ii genisoimage 9:1.1.11-3+b2
ii gettext-base 0.19.8.1-6
pn libnet-amazon-s3-perl <none>
ii openssh-client 1:7.7p1-2
ii wodim 9:1.1.11-3+b2
ii zip 3.0-11+b1
-- debconf-show failed
--
Thomas PARMELAN
Ingénierie Vidéo - Unicast / CDN
SFR / Altice Labs France
Campus SFR Saint-Denis