I did a streaming backup on my new cluster. And now I want to test the backup and restore process.
backup script.
xtrabackup --defaults-file=/etc/mysqld.cnf --defaults-group=mysqld --socket=/var/mysqld/mysqld.sock --user=backup --password=xxx --backup --stream=xbstream --compress --target-dir=$dest 2> $log | gzip - | ssh mysql@backup "cat - > /backups/$dest_folder/$backup_file" > /dev/null 2>&1
Do I need to decompress the data to restore?
xbstream --directory=/db/restore_data --extract /db/backup_2022-01-18.xbstream --verbose
When I do the above to extract the data nothing happens.