Difference between revisions of "Generate Shadow Copy Backups (snapshot)"
From Tech-Wiki
Line 4: | Line 4: | ||
Enable Shadow Copy (also called as "Previous Version") for your volume/disk. Then create a schedule task for either commands below: | Enable Shadow Copy (also called as "Previous Version") for your volume/disk. Then create a schedule task for either commands below: | ||
− | wmic | + | wmic shadowcopy call create Volume=C:\ |
− | or | + | or on Windows Server (not 10/11): |
VSSADMIN create shadow /for=c: | VSSADMIN create shadow /for=c: | ||
+ | |||
+ | Another variant using powershell: | ||
+ | |||
+ | (gwmi -list win32_shadowcopy).Create('C:\','ClientAccessible') |
Revision as of 19:07, 22 August 2023
Enable Shadow Copy (also called as "Previous Version") for your volume/disk. Then create a schedule task for either commands below:
wmic shadowcopy call create Volume=C:\
or on Windows Server (not 10/11):
VSSADMIN create shadow /for=c:
Another variant using powershell:
(gwmi -list win32_shadowcopy).Create('C:\','ClientAccessible')