Windows: Copy Open Files
-
VSS did NOT exist in Windows 2000 or earlier, so none of the below will work in W2K. XP supports "temporary" shadow copies.
-
a script that smartly uses Volume Shadow Services to copy an open file. This is great for copying .pst files... and I will attempt to copy MSDE or SQL Server database files...
http://blogs.msdn.com/adioltean/archive/2005/01/05/346793.aspx
-
Hobocopy, a robocopy style tool that uses VSS to copy locked files. Hobocopy has moved to: https://github.com/candera/hobocopy/downloads
-
hobocopy syntax for copying is exactly the same as DOS copy, but entire tree is copied by default.
-
e.g. hobocopy c:\Program FIles\Microsoft SQL Server to C:\Backup\hobocopy-SQL /r
-
/r = recursive
-
Mounts a shadow volume (allowing things like robocopy to work on open files) - derived from hobocopy - https://github.com/candera/shadowspawn
-
Similar? Seems designed to work for tools like backups - http://vscsc.sourceforge.net/
tags: windows, winxp, copy, locked, lock, vss, vshadow.exe, .cmd
>>
Leonard Chan's Homepage
>>
Scribble Web
>> Windows: Copy Open Files