Generate Shadow Copy Backups (snapshot)

From Tech-Wiki
Jump to: navigation, search

Back to Windows 10

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')