Skip to content

percona/Percona-TokuBackup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Percona TokuBackup

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.

Building

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:

make

Testing

To run a combined suite of unit tests and integration tests, run the following command after building:

ctest

This will show the progress of the tests and run valgrind memory and thread checks for each test.