Percona TokuBackup is a C library that allows users to make consistent copies of a directory of files, even while the respective files are being edited, removed, added, and/or renamed.
This repository contains the library and associated unit and integration tests.
This library requires cmake 2.8.8 or greater to create a build environment on your target machine. To create this environment, from the top of the repository:
cd backup mkdir MAKEDIR cd MAKEDIR CC=gcc47 CXX=g++47 cmake ..
To build you then simply have to type:
To run a combined suite of unit tests and integration tests, run the following command after building:
This will show the progress of the tests and run valgrind memory and thread checks for each test.