[python-win32] Calling random Windows function?

Roger Upole rwupole at msn.com
Wed Feb 17 03:32:24 CET 2010


Randy Syring wrote:
> Roger Upole wrote:
>>
>> If you decide to use Volume Shadow Copy, I've wrapped some of the
>> IVss* interfaces for Python, enough to be able to backup selected files
>> from a volume.  Bear in mind that if an application has a file open for
>> writing and is not VSS-aware, you may get the file in an inconsistent 
>> state.
>>
>>       Roger
>>
> Roger,
> 
> Could you share that code or point me to a location where I could take a 
> look at it?  I would like to extend rdiff-backup to use VSS via a Python 
> script and figure it would be better to just manage the volumes directly 
> from Python if possible than to try and use command line tools.
> 
> Thanks.
> 

Souce and binaries (Python 3.1, 32-bit, XP) are attached.
If you compile yourself, note that it needs to be built
separately for WinXP due to changes in the interface layout.

        Roger
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vsbackup_31.zip
Type: application/octet-stream
Size: 64083 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-win32/attachments/20100216/6d955544/attachment-0001.obj>


More information about the python-win32 mailing list