Re: this command line interface is deprecated

2023-07-15 Thread Wayne Sallee via Any discussion of rdiff-backup
   > rdiff-backup -v9 --api-version 201 backup --print-statistics
   testingbackup testingbackup-backup
   Perfect!  Thanks.
   Wayne Sallee
   [1]wa...@waynesallee.com
   [2]http://www.WayneSallee.com

    Original Message 
   *Subject: *  Re: this command line interface is deprecated
   *From: * Ericzolf [3]
   *To: * Rdiff-backup-users [4]
   *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] wrote:
   >>
   >>
   >>  Original Message 
   >> *Subject: *  Re: this command line interface is deprecated (resent)
   >> *From: * Ericzolf [6]
   >> *To: * Rdiff-backup-users [7]
   >> *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]wa...@waynesallee.com
   >> [9]http://www.WayneSallee.com
   >>
   >
   >

References

   1. mailto:wa...@waynesallee.com
   2. http://www.WayneSallee.com/
   3. mailto:ewl+rdiffbac...@lavar.de
   4. mailto:rdiff-backup-users@nongnu.org
   5. mailto:wa...@waynesallee.com
   6. mailto:ewl+rdiffbac...@lavar.de
   7. mailto:rdiff-backup-users@nongnu.org
   8. mailto:wa...@waynesallee.com
   9. http://www.WayneSallee.com/


Re: Mailing list messing up my posts.

2023-07-15 Thread Wayne Sallee via Any discussion of rdiff-backup
   If I post not in a thread, my posts look normal.
   For example:
   
   Sample text *
   Privacy is a fundamental right and has become a hot topic with the rise
   of the digital age, with people knowingly, and sometimes unknowingly,
   sharing a large quantity of personal information online.
   Regulating privacy is a challenge, with new websites popping up every
   day and customers located all over the globe, where privacy laws may
   vary from country to country.
   As a website owner that collects personal information, you need to do
   your part by having a detailed and easily accessible privacy policy.
   This article will guide you through this seemingly complex topic.
   You’ll learn the best practices for creating trust and transparency
   with your customers and find examples of how other businesses get
   compliant with the laws. We also put together a free privacy policy
   template you may download and use as a starting point when writing your
   own.
   *
   End Sample Text **
   But If I reply with this same text it won't look normal. So I'll break
   thread when I post to help keep my posts readable.
   Wayne Sallee
   [1]wa...@waynesallee.com
   [2]http://www.WayneSallee.com

    Original Message 
   *Subject: *  Mailing list messing up my posts.
   *From: * Wayne Sallee [3]
   *To: * Rdiff-backup-users [4]
   *CC: *
   *Date: *  2023-7-15  02:37 PM

 If I post not in a thread, my posts look normal.
 For example:
 
 Sample text *
 Privacy is a fundamental right and has become a hot topic with the
 rise of the digital age, with people knowingly, and sometimes
 unknowingly, sharing a large quantity of personal information
 online.
 Regulating privacy is a challenge, with new websites popping up
 every day and customers located all over the globe, where privacy
 laws may vary from country to country.
 As a website owner that collects personal information, you need to
 do your part by having a detailed and easily accessible privacy
 policy. This article will guide you through this seemingly complex
 topic.
 You’ll learn the best practices for creating trust and transparency
 with your customers and find examples of how other businesses get
 compliant with the laws. We also put together a free privacy policy
 template you may download and use as a starting point when writing
 your own.
 *
 End Sample Text **
 But If I reply with this same text it won't look normal. So I'll
 break thread when I post to help keep my posts readable.
 Wayne Sallee
 [5]wa...@waynesallee.com
 [6]http://www.WayneSallee.com

References

   1. mailto:wa...@waynesallee.com
   2. http://www.WayneSallee.com/
   3. mailto:wa...@waynesallee.com
   4. mailto:rdiff-backup-users@nongnu.org
   5. mailto:wa...@waynesallee.com
   6. http://www.WayneSallee.com/


Re: Man Page did not update when upgrading

2023-07-15 Thread Wayne Sallee via Any discussion of rdiff-backup
   I use my lfs build: [1]http://waynesallee.com/linux.html
   I installed rdiff-backup from source. Then later upgraded from source.
   On your computer terminal, if you type man rdiff-backup, and scroll
   down to the bottom, you will see the version number. But if you go to
   the webpage [2]https://rdiff-backup.net/rdiff-backup.1.html , and
   scroll down to the bottom, there is no version number.
   Wayne Sallee
   [3]wa...@waynesallee.com
   [4]http://www.WayneSallee.com

    Original Message 
   *Subject: *  Re: Man Page did not update when upgrading
   *From: * Ericzolf [5]
   *To: * Rdiff-backup-users [6]
   *CC: *
   *Date: *  2023-7-15  05:52 AM

Hi again,

On July 14, 2023 4:29:14 PM UTC, Wayne Sallee via Any discussion of rdiff-backup
 [7] wrote:

  I wish the man pages on the internet supplied the version number, but
  most of them don't.

I didn't understand this statement.


   Original Message 
  *Subject: *  Man Page did not update when upgrading
  *From: * Wayne Sallee [3][8]
  *To: * Rdiff-backup-users [4][9]
  *CC: *
  *Date: *  2023-7-14  11:52 AM

I downloaded rdiff-backup-2.2.5 and installed, but the man page did
not get updated.
My man page is still Version 1.2.8
Any advice?

Did you perhaps mix package (RPM, DEB,...) and pip installation, or root and non
-root installation?

KR, Eric

References

   1. http://waynesallee.com/linux.html
   2. https://rdiff-backup.net/rdiff-backup.1.html
   3. mailto:wa...@waynesallee.com
   4. http://www.WayneSallee.com/
   5. mailto:ewl+rdiffbac...@lavar.de
   6. mailto:rdiff-backup-users@nongnu.org
   7. mailto:rdiff-backup-users@nongnu.org
   8. mailto:wa...@waynesallee.com
   9. mailto:rdiff-backup-users@nongnu.org


Re: this command line interface is deprecated

2023-07-15 Thread Wayne Sallee via Any discussion of rdiff-backup
    Original Message 
   *Subject: *  Re: this command line interface is deprecated
   *From: * Ericzolf [1]
   *To: * Rdiff-backup-users [2]
   *CC: *
   *Date: *  2023-7-15  05:19 AM

Hi,


What api is it talking about?
I  tried adding "--api-version 201" to the command, but that just errored out.

Did you add it _before_ or _after_ the command (e.g. regress)? It belongs before
. Which error was it? Option unknown and a usage message?

KR, Eric



   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
   WARNING: this command line interface is deprecated and will disappear,
   start using the new one as described with '--new --help'.
   2023-07-15 07:07:45.648761 -0400DEBUG: Runtime
   information =>{'exec': {'version': '2.2.5', 'api_version': {'default':
   200, 'min': 200, 'max': 201, 'actual': 0}, 'argv':
   ['/usr/bin/rdiff-backup', '-v9', '--print-statistics', 'testingbackup',
   'testingbackup-backup'], 'parsed': {'api_version': None,
   'current_time': None, 'force': False, 'fsync': True, 'null_separator':
   False, 'new': False, 'chars_to_quote': None, 'parsable_output': False,
   'remote_schema': None, 'remote_tempdir': None, 'ssh_compression': True,
   'tempdir': None, 'terminal_verbosity': None,
   'use_compatible_timestamps': False, 'verbosity': 9, 'restrict': None,
   'restrict_read_only': None, 'restrict_update_only': None,
   'ssh_no_compression': False, 'create_full_path': False, 'compression':
   True, 'not_compressed_regexp':
   '(?i).*\\.(7z|aac|arj|asc|avi|bik|bz|bz2|deb|docx|flac|flv|gif|gpg|gz|j
   p2|jpeg|jpg|jsonlz4|lharc|lz4|lzh|lzma|lzo|m4a|m4v|mdf|mkv|mov|mozlz4|m
   p3|mp4|mpeg|mpg|oga|ogg|ogm|ogv|opus|pgp|pk3|png|rar|rm|rpm|rz|shn|tgz|
   tzst|vob|webm|webp|wma|wmv|xlsx|xz|z|zip|zoo|zst)$', 'selections':
   None, 'acls': True, 'carbonfile': True, 'compare_inode': True, 'eas':
   True, 'hard_links': True, 'resource_forks': True, 'never_drop_acls':
   False, 'group_mapping_file': None, 'preserve_numerical_ids': False,
   'user_mapping_file': None, 'file_statistics': True, 'print_statistics':
   True, 'allow_duplicate_timestamps': False, 'restrict_path': None,
   'restrict_mode': 'read-write', 'action': 'backup', 'compare_at_time':
   None, 'compare_hash_at_time': None, 'compare_full_at_time': None,
   'list_at_time': None, 'list_changed_since': None, 'remove_older_than':
   None, 'restore_as_of': None, 'verify_at_time': None, 'locations':
   ['testingbackup', 'testingbackup-backup']}}, 'python': {'name':
   'cpython', 'executable': '/usr/bin/python3', 'version': '3.9.13'},
   'system': {'platform': 'Linux-4.4.161-x86_64-with-glibc2.21',
   'fs_encoding': 'utf-8'}}<=
   2023-07-15 07:07:45.676965 -0400* Using repository
   'testingbackup-backup'
   Wayne Sallee
   [3]wa...@waynesallee.com
   [4]http://www.WayneSallee.com

References

   1. mailto:ewl+rdiffbac...@lavar.de
   2. mailto:rdiff-backup-users@nongnu.org
   3. mailto:wa...@waynesallee.com
   4. http://www.WayneSallee.com/


Re: Upload File Transfer Status Progress Bar Missing

2023-07-14 Thread Wayne Sallee via Any discussion of rdiff-backup
   Never mind on that one. It never had a progress bar. :-)
   Wayne Sallee
   [1]wa...@waynesallee.com
   [2]http://www.WayneSallee.com

    Original Message 
   *Subject: *  Upload File Transfer Status Progress Bar Missing
   *From: * Wayne Sallee [3]
   *To: * Rdiff-backup-users [4]
   *CC: *
   *Date: *  2023-7-14  12:27 PM

 I upgraded to rdiff-backup-2.2.5, and now the upload status file
 transfer progress bar is missing.
 Is there a way to get it back?
 Wayne Sallee
 [5]wa...@waynesallee.com
 [6]http://www.WayneSallee.com

References

   1. mailto:wa...@waynesallee.com
   2. http://www.WayneSallee.com/
   3. mailto:wa...@waynesallee.com
   4. mailto:rdiff-backup-users@nongnu.org
   5. mailto:wa...@waynesallee.com
   6. http://www.WayneSallee.com/


Re: Man Page did not update when upgrading

2023-07-14 Thread Wayne Sallee via Any discussion of rdiff-backup
   I wish the man pages on the internet supplied the version number, but
   most of them don't.
   Wayne Sallee
   [1]wa...@waynesallee.com
   [2]http://www.WayneSallee.com

    Original Message 
   *Subject: *  Man Page did not update when upgrading
   *From: * Wayne Sallee [3]
   *To: * Rdiff-backup-users [4]
   *CC: *
   *Date: *  2023-7-14  11:52 AM

 I downloaded rdiff-backup-2.2.5 and installed, but the man page did
 not get updated.
 My man page is still Version 1.2.8
 Any advice?
 Wayne Sallee
 [5]wa...@waynesallee.com
 [6]http://www.WayneSallee.com

References

   1. mailto:wa...@waynesallee.com
   2. http://www.WayneSallee.com/
   3. mailto:wa...@waynesallee.com
   4. mailto:rdiff-backup-users@nongnu.org
   5. mailto:wa...@waynesallee.com
   6. http://www.WayneSallee.com/