Difference between revisions of "Generate Shadow Copy Backups (snapshot)"
From Tech-Wiki
Line 10: | Line 10: | ||
VSSADMIN create shadow /for=c: | VSSADMIN create shadow /for=c: | ||
− | Another variant using | + | Another variant using Powershell: |
(gwmi -list win32_shadowcopy).Create('C:\','ClientAccessible') | (gwmi -list win32_shadowcopy).Create('C:\','ClientAccessible') |
Latest 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')