> rdiff-backup -v9 --api-version 201 backup --print-statistics testingbackup testingbackup-backup Perfect! Thanks. Wayne Sallee [1][email protected] [2]http://www.WayneSallee.com
-------- Original Message -------- *Subject: * Re: this command line interface is deprecated *From: * Ericzolf [3]<[email protected]> *To: * Rdiff-backup-users [4]<[email protected]> *CC: * *Date: * 2023-7-15 03:59 PM > rdiff-backup -v9 --api-version 201 backup --print-statistics testingbackup testingbackup-backup > > On July 15, 2023 7:17:43 PM UTC, Wayne Sallee [5]<[email protected]> wrote: >> >> >> -------- Original Message -------- >> *Subject: * Re: this command line interface is deprecated (resent) >> *From: * Ericzolf [6]<[email protected]> >> *To: * Rdiff-backup-users [7]<[email protected]> >> *CC: * >> *Date: * 2023-7-15 09:15 AM >>> 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,ser ver,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 >>> >>> >> >> >> rdiff-backup -v9 --api-version 201 --print-statistics backup 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,ser ver,test,verify} ... >> rdiff-backup: error: unrecognized arguments: --print-statistics >> >> >> Wayne Sallee >> [8][email protected] >> [9]http://www.WayneSallee.com >> > > References 1. mailto:[email protected] 2. http://www.WayneSallee.com/ 3. mailto:[email protected] 4. mailto:[email protected] 5. mailto:[email protected] 6. mailto:[email protected] 7. mailto:[email protected] 8. mailto:[email protected] 9. http://www.WayneSallee.com/
