# Getting TokuBackup to Work

**URL:** <https://forums.percona.com/t/getting-tokubackup-to-work/4669>\
**Category:** Other MySQL® Questions\
**Created:** [January 15, 2016, 4:10pm UTC](https://forums.percona.com/t/getting-tokubackup-to-work/4669 "2016-01-15T16:10:49Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![rdab100](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/rdab100/32/8_2.png) [@rdab100](https://forums.percona.com/u/rdab100)\
**Post date:** [January 20, 2016, 4:11am UTC](https://forums.percona.com/t/getting-tokubackup-to-work/4669/4 "2016-01-20T04:11:54Z")

</div>

Just run exactly the same set of software you had on a CentOS 6.7 host just to be sure…

The output I have is

"…  
[root@localhost ~]# ps\_tokudb\_admin --enable --enable-backup  
Checking SELinux status…  
INFO: SELinux is disabled.

Checking if Percona Server is running with jemalloc enabled…  
INFO: Percona Server is running with jemalloc enabled.

Checking transparent huge pages status on the system…  
INFO: Transparent huge pages are currently disabled on the system.

Checking if thp-setting=never option is already set in config file…  
INFO: Option thp-setting=never is set in the config file.

Checking if preload-hotbackup option is already set in config file…  
INFO: Option preload-hotbackup is not set in the config file.

Checking TokuDB engine plugin status…  
INFO: TokuDB engine plugin is installed.

Checking TokuBackup plugin status…  
INFO: TokuBackup plugin is not installed.

Adding preload-hotbackup option into /etc/my.cnf  
INFO: Successfully added preload-hotbackup option into /etc/my.cnf  
PLEASE RESTART MYSQL SERVICE AND RUN THIS SCRIPT AGAIN TO FINISH INSTALLATION!

[root@localhost ~]# service mysql restart  
Shutting down MySQL (Percona Server)… [OK]  
Starting MySQL (Percona Server)… [OK]  
[root@localhost ~]# ps\_tokudb\_admin --enable --enable-backup  
Checking SELinux status…  
INFO: SELinux is disabled.

Checking if Percona Server is running with jemalloc enabled…  
INFO: Percona Server is running with jemalloc enabled.

Checking transparent huge pages status on the system…  
INFO: Transparent huge pages are currently disabled on the system.

Checking if thp-setting=never option is already set in config file…  
INFO: Option thp-setting=never is set in the config file.

Checking if preload-hotbackup option is already set in config file…  
INFO: Option preload-hotbackup is set in the config file.

Checking TokuDB engine plugin status…  
INFO: TokuDB engine plugin is installed.

Checking TokuBackup plugin status…  
INFO: TokuBackup plugin is installed.

Checking if Percona Server is running with libHotBackup.so preloaded…  
INFO: Percona Server is running with libHotBackup.so preloaded.

…"

The SECOND run of the ps\_tokudb\_admin script (you need to run it twice and restart the service between) you should see these entries.

Checking TokuBackup plugin status…  
INFO: TokuBackup plugin is installed.

Checking if Percona Server is running with libHotBackup.so preloaded…  
INFO: Percona Server is running with libHotBackup.so preloaded.

If you do not then that will be an indication of the problem.  
And if you DO NOT have the preload in the my.cnf (see last entry of the first run) the plugin doesn’t load either.

Regards,  
Dom  
I don’t work for Percona just a simple DBA

---

_[View the full topic](https://forums.percona.com/t/getting-tokubackup-to-work/4669)._
