Sample Header Ad - 728x90

xb_stream_read_chunk(): wrong chunk magic at offset 0x0

2 votes
1 answer
1931 views
I have taken a backup of mysql instance like this
innobackupex \
   --user=$MYUSER \
   --password=$MYPASS \
   --no-timestamp \
   --parallel=$DUMP_THREADS \
   --stream=xbstream \
   --slave-info \
   --extra-lsndir=$LSN_DIR \
   --tmpdir=$TMP_DIR \
   --no-lock \
   --safe-slave-backup
I am trying to restore this backup like this.
zcat backup_file.xbs.gz 2>/dev/null | xbstream -x -C /var/lib/mysql/
I am getting this following error.
xb_stream_read_chunk(): wrong chunk magic at offset 0x0.
I have tried all google suggestions, upgraded xtrabackup to the latest version. Nothing seems to be working.
Asked by vkrishna (121 rep)
Nov 18, 2017, 09:07 AM
Last activity: Aug 9, 2024, 10:09 AM