Activity for Volume Shadow Copy Simple Client

  • Frigo Frigo modified a comment on discussion Help

    Hello! I have also tried to create a backup script in PowerShell to avoid dependencies on vscsc and dosdev: https://github.com/FrigoCoder/Mirror Unfortunately I ran into an issue. PowerShell only allows ClientAccessible context, whereas VSCSC uses Backup context, which is exactly what we would need. $s1 = (gwmi -List Win32_ShadowCopy).Create($drive, "Backup") If you try to create a shadow copy with Backup context, the result object has a dummy ShadowId full of zeroes, and a ReturnValue of 5 which...

  • Frigo Frigo posted a comment on discussion Help

    Hello! I have also tried to create a backup script in PowerShell to avoid dependencies on vscsc and dosdev: https://github.com/FrigoCoder/Mirror Unfortunately I ran into an issue. PowerShell only allows ClientAccessible context, whereas VSCSC uses Backup context, which is exactly what we would need. $s1 = (gwmi -List Win32_ShadowCopy).Create($drive, "Backup") If you try to create a shadow copy with Backup context, the result object has a dummy ShadowId full of zeroes, and a ReturnValue of 5 which...

  • Volker Volker posted a comment on discussion Help

    The sample attached to the project (robocopy-sample.bat) can only copy single files and lack error/samity checks. I beefed it up a bit and added the option to backup entire directories as well. ShadowCopy.bat @ECHO OFF SETLOCAL :: Global variables SET version=1.0beta SET VSHADOWEXE=vscsc.exe SET DOSDEVEXE=dosdev.exe SET MAPPED_DRIVE=t: :: No parameters: Show usage info IF "%~1" EQU "" GOTO :USAGE :: Test if we are called by VSHADOW/vscsc (only one parameter specified) :: parameter contains name of...

  • Volker Volker posted a comment on discussion Help

    Hi! dosdev is available from http://www.ltr-data.se/opencode.html/. I took the liberty to download the source code from http://www.ltr-data.se/files/zerodrv_source.7z, make it Unicode-aware and ported it to MS Visual Studio 2012. The dosdev.cpp would be #define WIN32_LEAN_AND_MEAN #include <windows.h> #include <stdio.h> #include <tchar.h> _TCHAR buffer[65535] = _T(""); int _tmain(int argc, _TCHAR **argv) { DWORD dwFlags = 0; bool displayhelp = false; bool querymode = false; // Nice argument parse...

  • T L T L posted a comment on discussion Help

    To someone who may be interested: The following powershell script should be able...

  • Allan Allan posted a comment on discussion Help

    will VSCSC.exe work for and Server 2012

  • Allan Allan posted a comment on discussion Help

    Please ignore my earlier post. Above error was due to wrong Exe and Correct exe did...

  • Allan Allan posted a comment on discussion Help

    I am getting similar error as earlier person mentioned on Vista only. How do I overcome...

  • Alex Alex posted a comment on discussion Help

    Not working with Win2008 R2...

1