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

mariabackup --decompress breaks due to qpress not found

Details

    Description

      mariabackup --decompress breaks due to qpress not found

      expected
      qpress is either prerequeted to be installed in MariaDB Backup user guide
      or it's included in the MariaDB-Backup package

      how to repeat:
      1. perform mariabackup with option --compress
      2. issue the mariabackup --decompress step – it's fails – qpress not found

      1.
      mariabackup --backup --compress --compress-threads=2 --compress-chunk-size=512K --target-dir /var/mariadb/backupcr2
      180125 15:56:38 Connecting to MySQL server host: localhost, user: not set, password: not set, port: not set, socket: not set
      Using server version 10.2.12-MariaDB
      mariabackup based on MariaDB server 10.2.12-MariaDB Linux (x86_64)
      ~~~~~

      [root@t4w3 mysql]# ls /var/mariadb/backupcr1
      aria_log.00000001.qp backup-my.cnf.qp ib_buffer_pool.qp ib_logfile0 mysql test xtrabackup_info.qp
      aria_log_control.qp boxoffice_mdb ibdata1.qp ib_logfile0.qp performance_schema xtrabackup_checkpoints

      2.
      [root@t4w3 mysql]# mariabackup --decompress --remove-original --target-dir /var/mariadb/backupcr1
      mariabackup based on MariaDB server 10.2.12-MariaDB Linux (x86_64)
      180125 16:03:34 [01] decompressing ./ib_logfile0.qp
      sh: qpress: command not found
      cat: write error: Broken pipe
      Error: thread 0 failed.

      Attachments

        Activity

          1. compress this option is deprecated, in favor of 3rd party tools https://mariadb.com/kb/en/library/mariabackup-options/#-compress
          2. decompress - documentation of decompress lists qpress is prerequisite already https://mariadb.com/kb/en/library/mariabackup-options/#-decompress .
            "This option requires that you have the qpress utility installed on your system."
            Feel free to change the wording to stress the importance of qpress even more than it currently is.
          wlad Vladislav Vaintroub added a comment - compress this option is deprecated, in favor of 3rd party tools https://mariadb.com/kb/en/library/mariabackup-options/#-compress decompress - documentation of decompress lists qpress is prerequisite already https://mariadb.com/kb/en/library/mariabackup-options/#-decompress . "This option requires that you have the qpress utility installed on your system." Feel free to change the wording to stress the importance of qpress even more than it currently is.
          Richard Richard Stracke added a comment - - edited

          For Debian/Ubuntu:

          wget http://www.quicklz.com/qpress-11-linux-x64.tar
           
          tar xf qpress-11-linux-x64.tar
           
          sudo cp qpress  /usr/bin/qpress
          sudo chmod 755  /usr/bin/qpress
          sudo chown root:root /usr/bin/qpress
          
          

          Richard Richard Stracke added a comment - - edited For Debian/Ubuntu: wget http: //www.quicklz.com/qpress-11-linux-x64.tar   tar xf qpress- 11 -linux-x64.tar   sudo cp qpress /usr/bin/qpress sudo chmod 755 /usr/bin/qpress sudo chown root:root /usr/bin/qpress

          wget https://repo.percona.com/apt/pool/main/q/qpress/qpress_11-3.bullseye_amd64.deb
          dpkg -i qpress_11-3.bullseye_amd64.deb
          

          edward Edward Stoever added a comment - wget https://repo.percona.com/apt/pool/main/q/qpress/qpress_11-3.bullseye_amd64.deb dpkg -i qpress_11-3.bullseye_amd64.deb

          People

            Unassigned Unassigned
            winstone Zdravelina Sokolovska (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 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.