Can't create shadow copy in command line
--------------------------------------------------
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------
Music by Eric Matyas
https://www.soundimage.org
Track title: Puzzle Game 5 Looping
--
Chapters
00:00 Can'T Create Shadow Copy In Command Line
00:35 Accepted Answer Score 26
00:57 Thank you
--
Full question
https://superuser.com/questions/1125601/...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#windows10 #commandline #shadowcopy
#avk47
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------
Music by Eric Matyas
https://www.soundimage.org
Track title: Puzzle Game 5 Looping
--
Chapters
00:00 Can'T Create Shadow Copy In Command Line
00:35 Accepted Answer Score 26
00:57 Thank you
--
Full question
https://superuser.com/questions/1125601/...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#windows10 #commandline #shadowcopy
#avk47
ACCEPTED ANSWER
Score 26
VSSAdmin only has the create
option on Windows Server as shown here. Instead, you will have to make use of a PowerShell script to create the shadow.
powershell.exe -Command (gwmi -list win32_shadowcopy).Create('E:\','ClientAccessible')
Since this just makes use of the Win32_ShadowCopy
class in WMI, you can use other methods to create the shadow. This includes the wmic
utility.
wmic shadowcopy call create Volume='E:\'