On this page
On many of our clients, we have a need to run XtraBackup as a regular OS user. Aside from running into the issue where tar4ibd was not provided with Percona’s xtrabackup-1.6.2.tar.gz package, our main issues have been with permissions when attempting a streaming backup.
$ innobackupex --defaults-file=/home/pythian/my.cnf --user=root --stream=tar ./ | gzip - > /home/pythian/backups/2011-08-02_backup.tar.gz
So if you are seeing errors such as,
tar: -: Cannot write: Broken pipe sh: /tmp/mysql-stout: Permission denied
do yourself a favor and run through this permission checklist. I hope it saves a lot of headaches.
Ready to optimize your MySQL Database for the future?
Learn more about Pythian by reading the following blogs and articles.
With Pythian, you can accomplish your data transformation goals and more.
© 2026 All rights reserved.