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: | 715 |
| Nodes: | 16 (2 / 14) |
| Uptime: | 152:22:10 |
| Calls: | 12,091 |
| Calls today: | 4 |
| Files: | 15,000 |
| Messages: | 6,517,636 |