Same us Backup-Script but using c++