rdiff-backup-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Spurious "deprecated" warning?


From: Adam Weremczuk
Subject: Re: Spurious "deprecated" warning?
Date: Fri, 22 Mar 2024 12:32:13 +0000
User-agent: Mozilla Thunderbird

Similar issue on 2.2.2-1:

/usr/bin/rdiff-backup --remove-older-than 8W --force some_server::some_path/rdiff/

WARNING: this command line interface is deprecated and will disappear, start using the new one as described with '--new --help'. WARNING: this command line interface is deprecated and will disappear, start using the new one as described with '--new --help'.
WARNING: No increment is older than '8W'
WARNING: Action remove emitted warnings, see previous messages for details
NOTE: No increments older than Thu Jan 25 21:42:19 2024 found, exiting.

I've tried replacing it with:

/usr/bin/rdiff-backup --api-version 201 remove --remove-older-than 8W --force some_server::some_path/rdiff/
usage: rdiff-backup remove [-h] {increments} ...
rdiff-backup remove: error: argument entity: invalid choice: '8W' (choose from 'increments')

How should my command look like?


On 03/03/2024 14:02, Robert Nichols wrote:
On 3/2/24 15:05, qx6uwumzvv@liamekaens.com wrote:
Yesterday I did my quarterly update of the software on 3 virtual machines running debian/testing and rdiff-backup was updated from 2.2.2-1 to 2.2.6-1.

Today when I looked at the log output from my nightly backup scripts emailed to me from these machines, I see that every invocation of rdiff-backup is now producing the message:

WARNING: Server will be called with deprecated command line interface to guarantee compatibility. It might lead to a deprecation warning from newer rdiff-backup versions. Use '--api-version 201' (or higher) to avoid it.

See https://github.com/rdiff-backup/rdiff-backup/issues/922

Should be fixed when version 2.4 is released. For the time being, just modify your scripts to add the "--api-version 201" option.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]