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

mariabackup does not complain about unknown options

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Duplicate
    • 10.4.10
    • N/A
    • Backup
    • Ubuntu Server 18.04.3 LTS

    Description

      When mistyping an option on the mariabackup command line mariabackup does not complain about an unknown option but continues to take the backup.

      Examples:
      1. Type targetdir= instead of target-dir= --> mariabackup creates a directory xtrabackup_backupfiles in the current working directory and puts the backup there.

      2. Type incremental-base-dir= instead of incremental-basedir= --> mariabackup will take a full backup instead

      Expected behaviour: mariabackup should throw an error on each unknown option and show the mariabackup --help output and terminate with exit code not equal 0.

      Attachments

        Issue Links

          Activity

            umoser Ulrich Moser (Inactive) created issue -
            umoser Ulrich Moser (Inactive) made changes -
            Field Original Value New Value
            Description When mistyping an option on the mariabackup command line mariabackup does not complain about an unknown option but continues to take the backup.

            Examples:
            1. Type targetdir0 instead of target-dir= --> mariabackup creates a directory xtrabackup_backupfiles in the current working directory and puts the backup there.

            2. Type incremental-base-dir= instead of incremental-basedir= --> mariabackup will take a full backup instead

            Expected behaviour: mariabackup should throw an error on each unknown option and show the mariabackup --help output and terminate with exit code not equal 0.
            When mistyping an option on the mariabackup command line mariabackup does not complain about an unknown option but continues to take the backup.

            Examples:
            1. Type targetdir= instead of target-dir= --> mariabackup creates a directory xtrabackup_backupfiles in the current working directory and puts the backup there.

            2. Type incremental-base-dir= instead of incremental-basedir= --> mariabackup will take a full backup instead

            Expected behaviour: mariabackup should throw an error on each unknown option and show the mariabackup --help output and terminate with exit code not equal 0.
            umoser Ulrich Moser (Inactive) made changes -
            serg Sergei Golubchik made changes -
            Fix Version/s N/A [ 14700 ]
            Resolution Duplicate [ 3 ]
            Status Open [ 1 ] Closed [ 6 ]
            serg Sergei Golubchik made changes -
            Workflow MariaDB v3 [ 107658 ] MariaDB v4 [ 157664 ]

            People

              Unassigned Unassigned
              umoser Ulrich Moser (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

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