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

Issues unpacking backup with mbstream

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Not a Bug
    • 10.3.17
    • 10.3.17
    • Backup
    • None
    • 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

            robertbindar Robert Bindar
            matejzero Matej Žerovnik
            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.