Uploaded image for project: 'MariaDB MaxScale'
  1. MariaDB MaxScale
  2. MXS-5110

Allowing local backup in the backup functionality

    XMLWordPrintable

Details

    • New Feature
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • None
    • None
    • mariadbmon
    • None

    Description

      As of today when asking maxscale to take a backup, we have to run the following command line :
      maxctrl call command mariadbmon async-create-backup MyMonitor MySourceServer wednesday_161122

      which executes through ssh, the following :

      mariabackup --backup --safe-slave-backup --stream=xbstream --parallel=1 | pigz -c | socat - TCP-LISTEN:<port>

      i would like to have the possibility to add a local keyword option to the maxctrl command line which would both remove the --stream=mbstram and replace the | socat - TCP-LISTEN:<port> by > $backup_storage_path/wednesday_161122

      so as a summary this maxctrl command line :

      maxctrl call command mariadbmon async-create-backup MyMonitor MySourceServer wednesday_161122 local

      would run the command

      mariabackup --backup --safe-slave-backup --parallel=1 [ pigz -dc > $backup_storage_path/wednesday_161122

      Attachments

        Activity

          People

            maxmether Max Mether
            SylvainArbaudie Sylvain ARBAUDIE
            Votes:
            2 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.