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

mariabackup unpack backup not possible

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      Hi,

      I got the problem that i made some backups from our mariadb servers with mariabackup like described in the documentation.
      But now i cant unpack the backups to restore them.
      I always get the error:

      mbstream: Can't create/write to file './ib_logfile0' (Errcode: 13 "Permission denied")
      [00] 2023-10-17 09:29:58 mbstream: failed to create file.
      

      Here are my used commands:

      /usr/bin/mariabackup --galera-info --backup --stream=xbstream --parallel=2 2> "$TARGET"/xtrabackup_backup.log | pigz > "$TARGET/backupstream.gz"
       
      sudo unpigz -c backupstream.gz | mbstream -x -C ./unpacked
      

      The same error also happens with gzip or other tools.
      What can be done here or is that an bug?

      Greetings
      dcz01

      Attachments

        Activity

          dcz01 Daniel Czadek added a comment -

          Now it worked by starting the commands directly as root, not with sudo.

          dcz01 Daniel Czadek added a comment - Now it worked by starting the commands directly as root, not with sudo.

          People

            Unassigned Unassigned
            dcz01 Daniel Czadek
            Votes:
            0 Vote for this issue
            Watchers:
            2 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.