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
Now it worked by starting the commands directly as root, not with sudo.