C++ backup