>
>What OS? What bit width? VSS is one thing that doesn’t work if you
run
>it as a 32 bit application in a 64 bit OS, or at least that was the
case
>last time I did any VSS development.
Well, this is the most wrong statement that I saw for months on this
forum.
Sorry, James.
Not only 32bit clients of IVssBackupComponents run OK on 64bit OS, but
32bit
_VSS provider services (LocalService .exe) run OK on 64bit OS with x64
VSS
service, SWPRV and VolSnap.
Are you sure?
Quoting http://msdn.microsoft.com/en-us/library/aa384627(VS.85).aspx
(although full of contradictions)
“All 32-bit VSS applications (requesters, providers, and writers) must
run as native 32-bit or 64-bit applications. Running them under WOW64 is
not supported.”
“Windows Server 2003 and Windows XP: Running 32-bit VSS requesters
under WOW64 is supported, but not for system-state backups. Running
32-bit VSS providers and writers under WOW64 is not supported. Support
for running 32- bit requesters under WOW64 was removed in Windows Vista
and subsequent versions.”
And http://support.microsoft.com/kb/896492 (referring to Windows 2003
and XP)
“Data loss and system corruption may occur if a 32-bit backup
application is used to back up and restore data on a computer that is
running a 64-bit version of Windows.”
“You should only use 64-bit versions of backup applications when your
computer is running on a 64-bit version of Windows. Many backup software
vendors have already developed 64-bit versions of their backup
applications.”
“Backup applications that only work with 32-bit versions of Windows will
not correctly back up user data, system files, and system settings.
During a restore operation, these applications may cause irreversible
data loss and system corruption.”
Well, on pre-Win7 the latter required some minor patches to
ProxyStubCLSID
registry COM, but this a minor effort.
I’ve been involved in Bacula (http://www.bacula.org/) development on and
off for quite a while, and I can assure you that when the VSS code was
written then at the time of XP and 2003, it certainly didn’t work at all
no matter how much minor patching you did. I’m not positive but I’m
pretty sure that the hard word from Microsoft was “compile your app for
64 bits”.
Maybe it’s been fixed since Windows 2003 but if you have to build a 64
bit app for Windows 2003, why would you not just build it for all 64 bit
platforms?
James