Re: this command line interface is deprecated (resent)
EricZolf <[email protected]> Sat, 15 Jul 2023 15:15:36 +0200
| Newsgroups | gmane.comp.sysutils.backup.rdiff-backup.general |
|---|---|
| Organization | rdiff-backup.net |
| Message-ID | <[email protected]> |
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