I think you might have a more reliable solution by using the volume shadow copy with copy on write.  This way you can get the full file without the file lock issue yet not have an overly complex solution.

2008/9/28 Grzegorz Marszałek <graf0@post.pl>

I'm new to backuppc  - and I've got bunch of windows workstations to
backup :) The problem is called "open files". I've digged mailing
lists and found few solution (like patch for 2.6 rsync enabling vss
backup, or dosdrive.exe program with buch of scripts to mount vss
volume as a drive letter), but they are either unsupported (like patch
for rsync), or fragile (like dosdrive+scripts). Another idea is to
start backup at windows shutdown. All problematic programs (like
outlook) should be disabled by now, and few services that still could
make problems I can disable before starting backup. Starting backup
from pc is also not a big problem - ssh + keys with limited command to
run will do the trick.

Does that sounds like good idea to you? Maybe somebody tried someting
like this and could share some experiences? Frankly I couldn't find
anything about "backup on shutdown" approach on mailing list and in

Grzegorz Marszałek
graf0 at post.pl

This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
BackupPC-users mailing list
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/