Xtrabackup --prepare fails: xtrabackup_info file missing in streaming backup directory

I’ve tested this twice now. i am using xtrabackup to stream a backup over netcat to another host:
$ xtrabackup --backup --stream=xbstream | pigz | nc REDACTED 9999
and
$ nc -l -p 9999 | gzip -d | xbstream -x -C /var/lib/mysql

At the end of the backup, 'COMPLETED OK" is printed. However, there is no xtrabackup_info file produced by the xbstream process. The prepare fails to find the file and exits accordingly.

Any idea why the file isn’t being created?

Hi @Justin_Swanhart

I just tried the same commands, and didn’t encounter the issue (using xtrabackup 8.0.35-35).

What version of xtrabackup are you using?

Try again with the verbose option for xbstream and see if the output shows the xtrabackup_info file:

nc -l -p 9999 | gzip -d | xbstream -xv -C /var/lib/mysql

Also, does backup locally on the source server have the same issue? or the issue only happens when you stream the backup?