# Percona xtrabackup and pigz

**URL:** <https://forums.percona.com/t/percona-xtrabackup-and-pigz/4830>\
**Category:** Percona XtraBackup\
**Created:** [April 11, 2016, 4:54am UTC](https://forums.percona.com/t/percona-xtrabackup-and-pigz/4830 "2016-04-11T04:54:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jonha](https://avatars.discourse-cdn.com/v4/letter/j/a3d4f5/32.png) [@Jonha](https://forums.percona.com/u/Jonha)\
**Post date:** [April 11, 2016, 4:54am UTC](https://forums.percona.com/t/percona-xtrabackup-and-pigz/4830/1 "2016-04-11T04:54:49Z")

</div>

Hello!

I want to using xtrabackup with pigz in order to speed up backups. I am using these commands:

Backup:

innobackupex --user=dbUser --password=dbPass --no-timestamp --stream=tar /backups | pigz -f \>/backups/backup.tar.gz

Restore:

tar --use-compress-program=pigz -xif /restore/backup.tar.gz -C /restore/backup/  
innobackupex --apply-log --use-memory=4G /restore/backup/  
innobackupex --copy-back /restore/backup/

I think these commands are correct, but I would like to confirm it is a proper way to backup and restore using xtrabackup and pigz

I have MyISAM tables, MySQL Server version: 5.5.46-0ubuntu0.14.04.2-log (Ubuntu), innodb\_version, 5.5.46, protocol\_version 10

Thank you!
