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

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

Re: this command line interface is deprecated (resent)


From: EricZolf
Subject: Re: this command line interface is deprecated (resent)
Date: Sat, 15 Jul 2023 15:15:36 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0

Hi,

On 15/07/2023 13:33, Wayne Sallee wrote:
rdiff-backup --api-version 201 -v9 --print-statistics testingbackup testingbackup-backup usage: rdiff-backup [-h] [--api-version API_VERSION] [--current-time CURRENT_TIME] [--force] [--fsync | --no-fsync]                     [--null-separator] [--new | --no-new] [--chars-to-quote CHARS] [--parsable-output]                     [--remote-schema REMOTE_SCHEMA] [--remote-tempdir DIR_PATH] [--ssh-compression | --no-ssh-compression]                     [--tempdir DIR_PATH] [--terminal-verbosity {0,1,2,3,4,5,6,7,8,9}] [--use-compatible-timestamps]
                     [-v {0,1,2,3,4,5,6,7,8,9}] [-V]
{backup,calculate,compare,complete,info,list,regress,remove,restore,server,test,verify}
 ...
rdiff-backup: error: argument action: invalid choice: 'testingbackup' (choose from 'backup', 'calculate', 'compare', 'complete', 'info', 'list', 'regress', 'remove', 'restore', 'server', 'test', 'verify')

But this works with api warning:
rdiff-backup -v9 --print-statistics testingbackup testingbackup-backup

Yes, but if you use the new API, you also _must_ use the new CLI, where a command is mandatory, e.g. backup, with something like:

rdiff-backup -v9 --api-version 201 --print-statistics backup \
        testingbackup testingbackup-backup

KR, Eric



reply via email to

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