Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-32224

Deprecated --innobackupex option causes wrong error messages

    XMLWordPrintable

Details

    Description

      it seems something is wrong with command line processing:

      if '--innobackupex' is at the end of command line mariadb-backup gives `unknown option` error:

      ubuntu@ip-10-1-0-196:~$ sudo mariadb-11.3.0-preview-linux-systemd-x86_64/bin/mariadb-backup  -utest_user -pct570c3521fCCR#  --target-dir=backup/base_backup_dir --backup --innobackupex
      mariadb-11.3.0-preview-linux-systemd-x86_64/bin/mariadb-backup: unknown option '--innobackupex'
      

      if '--innobackupex' is the first argument mariadb-backup gives `Missing argument` error:

      ubuntu@ip-10-1-0-196:~$ sudo mariadb-11.3.0-preview-linux-systemd-x86_64/bin/mariadb-backup  --innobackupex -utest_user -pct570c3521fCCR#  --target-dir=backup/base_backup_dir
      230921 13:10:55 innobackupex: Missing argument
      

      tested with https://mirrors.xtom.ee/mariadb//mariadb-11.3.0/bintar-linux-systemd-x86_64/mariadb-11.3.0-preview-linux-systemd-x86_64.tar.gz and Ubuntu Focal

      Attachments

        Activity

          People

            bar Alexander Barkov
            tturenko Timofey Turenko
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.