• VSS?

    From T@21:1/5 to All on Sat Jun 14 11:14:48 2025
    Hi All,

    I do not know if this is the right place to post this,
    but please suffer with it anyway.

    How do I make a shadow copy of a directory or directories,
    copy from it/them, then remove the shadow?

    Found a lot about what VSS is, but not a lot of how
    to use it.

    The best I could find was answer #2 on

    https://superuser.com/questions/1895377/create-a-non-persistent-shadow-copy-for-backups-on-windows-11-pro

    But it is powershell calls. Is there a more direct way
    to do this without calling powershell? API's maybe?

    Many thanks,
    -T

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Phil Ashby@21:1/5 to All on Sat Jun 14 20:07:14 2025
    On 14/06/2025 19:14, T wrote:
    Hi All,

    I do not know if this is the right place to post this,
    but please suffer with it anyway.

    How do I make a shadow copy of a directory or directories,
    copy from it/them, then remove the shadow?

    Found a lot about what VSS is, but not a lot of how
    to use it.

    The best I could find was answer #2 on

    https://superuser.com/questions/1895377/create-a-non-persistent-shadow- copy-for-backups-on-windows-11-pro

    But it is powershell calls. Is there a more direct way
    to do this without calling powershell? API's maybe?

    Many thanks,
    -T

    There is a copy of, and a link to, the source for the Microsoft VShadow
    command line tool, and some extra tooling here:

    https://github.com/albertony/vss

    All written in C++ and using the COM interfaces to VSS directly..

    I presume you have been through this lot: https://learn.microsoft.com/en-us/windows/win32/vss/volume-shadow-copy-service-portal

    HTH,
    Phil.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)