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

Issues unpacking backup with mbstream

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 10.3.17
    • Fix Version/s: 10.3
    • Component/s: Backup
    • Labels:
      None
    • Environment:
      CentOS 8.x

      Description

      When extracting mbstream file, I get an error about missing folder where the original backup was located.

      $ pwd
      /var/lib/mysql/mysqldumps/
      $ lz4 -d backup.stream.gz | mbstream  -x -C .
      mbstream: Can't create directory '/opt/mariabackup/base/2020-06-09_03-00-01//' (Errcode: 2 "No such file or directory")
      [00] 2020-06-11 12:40:31 mbstream: failed to create file.
      

      If I manually create folder path, the content is extracted successfully and xtrabackup_info file is placed in the original backup folder.

      $ ll /opt/mariabackup/base/2020-06-09_03-00-01/
      total 4
      -rw-r----- 1 root root 652 Jun 11 13:14 xtrabackup_info
      

        Attachments

          Activity

            People

            Assignee:
            robertbindar Robert Bindar
            Reporter:
            matejzero Matej Žerovnik
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: