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
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.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (2 / 14) |
Uptime: | 04:45:25 |
Calls: | 10,386 |
Calls today: | 1 |
Files: | 14,058 |
Messages: | 6,416,625 |