Request: ability to copy locked files (Volume Shadow Copy)

340 views
Skip to first unread message

then...@gmail.com

unread,
Feb 11, 2018, 12:31:09 PM2/11/18
to FastCopy support forum
This was already requested once by someone else on the old BBS, but there was never any reply.

Can you please try to add the ability to copy locked files? Using the Volume Shadow Copy API is the only way to do it I think.

I need this feature to backup files on the OS and other places. Currently, I use VShadow by Microsoft to create a snapshot of a volume before copying anything. The problem with this is that files may have been added or changed since the start of the copying process (which can take about 4 hours on my 2TB drive). As a result, recent files may not be copied and you may get old copies of many files (even files that were not locked). If Volume Shadow Copy functionality was added to FastCopy, you could make it copy from a snapshot only when a file is locked.

The source code for VShadow can be found at the URL below. I really hope it can help you add Volume Shadow Copy functionality to FastCopy. The code for this version of VShadow seems to be only for Windows 8 and later, but builds for many older systems also exists (see here). I use the Windows 2008 R2 build, which also runs on Windows 7. You can probably find the source code for older versions of VShadow somewhere as well.

https://code.msdn.microsoft.com/windowsapps/VShadow-Sample-f6dd3cae/sourcecode?fileId=58708&pathId=1802053569

Thank you very much.

Hiroaki SHIROUZU

unread,
Feb 11, 2018, 11:32:19 PM2/11/18
to FastCopy support forum
I will consider it.

But FastCopy is open source software, you can add VSS function, yourself :-)
And some people will thank you, if your modification is opened to public.

then...@gmail.com

unread,
Feb 12, 2018, 11:31:04 AM2/12/18
to FastCopy support forum
Thank you for replying!

I'm not sure about adding it myself. I am not good at C language, and much worse with any Windows API stuff (most of Microsoft's code examples tend to be in C++ too, not regular C).

I understand that it is probably not easy for anyone though. If you add this, I will definitely send you a donation as a token of gratitude! FastCopy is already so amazing.
Reply all
Reply to author
Forward
0 new messages