¡Hola Thomas! El 2018-04-17 a las 14:13 +0200, Thomas Parmelan escribió:
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
It seems that the upstream issue report is stale, could you please create a pull request to fix the issue upstream?
Happy hacking, -- "If you have too many special cases, you are doing it wrong." -- Craig Zarouni Saludos /\/\ /\ >< `/
signature.asc
Description: PGP signature