Cutebox is a small backup tool written in C++11 with QT.
The program is divided in two part, the server part and the client part.
The server who authenticate and store the data sended by the client. (Almost file backup)
The client who have a list of watched files and check every 30 sec if there is a modification.
If a modification is identified, the client send the smallest amount of data that represent this modification.
For each file, the client split the file in chunks and compute the corresponding hash. As it is very fast to identify modification in a file.
This project has been developped in collaboration with RG System and it contains some copyrighted materials who are not present in this repository.
- Launch
./cutebox srv
- Launch
./cutebox cli
connect <host>
: Connect the client to the serverlogin <email> <password>
: Authenticate clientaddfile <filepath>
: Add a file to be watchedcheck
: Force change detectionhelp
: Display helpexit
: Quit program
./cutebox seed
cd sql/tests/ && sh create_project.sh && qmake && make
: Compile tests./tests
: Run tests
cd client/tests/ && sh create_project.sh && qmake && make
: Compile tests./tests
: Run tests