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

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

Re: Spurious "deprecated" warning?


From: Robert Nichols
Subject: Re: Spurious "deprecated" warning?
Date: Fri, 22 Mar 2024 08:13:49 -0500
User-agent: Mozilla Thunderbird

On 3/22/24 07:32, Adam Weremczuk wrote:
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?

A quick review of the very nice manpage reveals:

    rdiff-backup --api-version 201 --force remove increments --older-than 8W 
some_server::some_path/rdiff/

Note that "--api-version" and "--force" are generic options and must appear _before_ the 
"remove" action.

--
Bob Nichols     "NOSPAM" is really part of my email address.
                Do NOT delete it.





reply via email to

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