Hi, I don’t believe this was raise before, or I’ve missed this.
Is there any problem using an older version of xbstream to decompress backups created by a newer version of xtrabackup (in xbstream format)
For example: given my tests, I can use xtrabackup 8.404 to take a backup in xbstream format, and able to extract using xbstream 2.4. It works but have anyone come across issues doing this? Thanks. ![]()
Command I used to create a backup, used xtraBackup 8.4.0-4 (I suppose it also used xbstream 84 implicitly):
xtrabackup --backup --user=root --password=123456 --stream=xbstream \
--compress=lz4 --compress-threads=4 \
--target-dir=/home/backup/8.4-config-34 \
| split -d --bytes=50MB - /home/backup/8.4-config-34/backup.xbstream
I have three major versions of xtrabackup installed:
ls /usr/bin/xbstream*
/usr/bin/xbstream /usr/bin/xbstream-80 /usr/bin/xbstream-84
Command I used to decompress (xbstream 24):
/usr/bin/xbstream-24 -x - -C /home/extracted-backup
It worked fine, but should i keep doing this, or ask suggested in another thread, use the same major version of xtrabackup to create and restore backup. ![]()