# How to run xtrabackup on Suse 11.3, MySQL 5.5.8 for lazy people

**URL:** <https://forums.percona.com/t/how-to-run-xtrabackup-on-suse-11-3-mysql-5-5-8-for-lazy-people/2117>\
**Category:** Percona XtraBackup\
**Created:** [January 21, 2011, 11:45pm UTC](https://forums.percona.com/t/how-to-run-xtrabackup-on-suse-11-3-mysql-5-5-8-for-lazy-people/2117 "2011-01-21T23:45:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jobe](https://avatars.discourse-cdn.com/v4/letter/j/cab0a1/32.png) [@jobe](https://forums.percona.com/u/jobe)\
**Post date:** [January 21, 2011, 11:45pm UTC](https://forums.percona.com/t/how-to-run-xtrabackup-on-suse-11-3-mysql-5-5-8-for-lazy-people/2117/1 "2011-01-21T23:45:51Z")

</div>

I tried to get this to compile multiple times under 5.5.8 and kept getting segfaults. I finally just popped the RHEL rpm and used the binary.

Here’s the quick way to get this running under Suse 11.3:

1.) Download the RHEL xtrabackup for your architecture at [http://www.percona.com/downloads/XtraBackup/XtraBackup-1.5/R PM/rhel5/](https://http)

2.) Copy to a directory (like /tmp) and extract the rpm:  
rpm2cpio xtrabackup-1.5-9.rhel5.$ARCH.rpm | cpio -idmv

3.) Copy binaries to /usr/bin:  
cp ./usr/bin/xtrabackup\_55 /usr/bin  
cp ./usr/bin/tar4ibd /usr/bin  
cp ./usr/bin/innobackupex-1.5.1 /usr/bin

4.) The stock perl causes an issue with the backup scripts version detection. Edit /usr/bin/innobackupex-1.5.1. Comment out the lines below as shown below.

$perl\_version = chr($required\_perl\_version[0])  
. chr($required\_perl\_version[1])  
. chr($required\_perl\_version[2]);  
#if ($^V lt $perl\_version) {  
#my $version = chr(48 + $required\_perl\_version[0])

# . “.” . chr(48 + $required\_perl\_version[1])

# . “.” . chr(48 + $required\_perl\_version[2]);

#print STDERR "$prefix Warning: " .

# “Your perl is too old! Innobackup requires\n”;

#print STDERR “$prefix Warning: perl $version or newer!\n”;  
#}

It should work now.

---

<div class="post-metadata">

**Author:** ![xaprb](https://avatars.discourse-cdn.com/v4/letter/x/49beb7/32.png) [@xaprb](https://forums.percona.com/u/xaprb)\
**Post date:** [February 15, 2011, 5:38am UTC](https://forums.percona.com/t/how-to-run-xtrabackup-on-suse-11-3-mysql-5-5-8-for-lazy-people/2117/2 "2011-02-15T05:38:45Z")

</div>

Thanks for posting this. Indeed I always recommend to use the binaries that we provide. Self-compiling is highly overrated; if there is a bug, it’s harder to say whether it’s a bug in the tool or if it was compiled wrongly. Using Percona’s binaries places more of the blame on Percona when something is wrong 🙂
