Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1034702: backupninja: changed rdiffbackup logs "WARNING: this command line interface is deprecated"

264 views
Skip to first unread message

Jens Ritter

unread,
Apr 21, 2023, 11:00:05 PM4/21/23
to
Package: backupninja
Version: 1.2.2-1
Severity: normal

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

* What led up to the situation?
* What exactly did you do (or not do) that was effective (or
ineffective)?
* What was the outcome of this action?
* What outcome did you expect instead?

*** End of the template - remove these template lines ***

Running backupninja creates warnings-logs while removing old backups :
WARNING: this command line interface is deprecated and will disappear, start using the new one as described with '--new --help'

In the FAQ this is mentioned for another option:
https://rdiff-backup.net/FAQ.html#why_does_rdiff_backup_complain_about_command_line_interface_being_deprecated_even_though_im_using_the_new_syntax

Chaning the line 177 in /usr/share/backupninja/rdiff:

removestr="$RDIFFBACKUP $options --force --remove-older-than $keep "
to
removestr="$RDIFFBACKUP $options remove increments --older-than $keep "

seams to help.



-- System Information:
Debian Release: 12.0
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-7-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages backupninja depends on:
ii bash 5.2.15-2+b1
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 bsd-mailx [mailx] 8.1.2-0.20220412cvs-1
ii mailutils [mailx] 1:3.15-4

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

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

-- no debconf information
0 new messages