C++ API wrapper for Windows Volume Shadow Service
- C++17
- MSVC2015+
git clone https://github.com/XUranus/Win32VSSWrapper.git
cd Win32VSSWrapper
mkdir build
cd build
cmake .. -A x64 # for x64
cmake --build . --config Release
require Administrator
vssclient list ---- list all snapshots
vssclient delete <snapshotID> ---- delete the specified snapshot
vssclient delete all ---- delete all snapshots
vssclient create <volumePath1> <volumePath2> ... ---- create snapshot(set) for specified volumes
vssclient query <snapshotID> ---- query specified snapshot
vssclient mount <snapshotID> <path> ---- expose specified snapshot
vssclient umount <snapshotID> ---- umount specified snapshot
vssclient delset <snapshotSetID ---- delete snapshot set specified
vssclient mkwritable <snapshotID> ---- make snapshot writable (must have hardware provider)