/Win32VSSWrapper

Windows OS Volume Shadow Service API Wrapper

Primary LanguageC++Apache License 2.0Apache-2.0

Win32VSSWrapper

C++ API wrapper for Windows Volume Shadow Service

minijsonC++14WindowsMSVC 2015+

Require

  • C++17
  • MSVC2015+

Build

git clone https://github.com/XUranus/Win32VSSWrapper.git
cd Win32VSSWrapper
mkdir build
cd build
cmake .. -A x64 # for x64
cmake --build . --config Release

Demo Usage

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)