Stephen Joyce writes:
> Is anyone doing windows backups (including open files) using the volume
> shadow copy service?
>
> It seems that it shouldn't be too hard to even do bare-metal restores by
> combining VSS with fileacl or setacl to record & restore NTFS ACLs on
> files and dirs.
>
> Does anyone have a recipe for doing this, before I re-invent the wheel?
Yes, VSS looks like the most promising way to backup all WinXX files.
I'm attaching a few relevant emails from the mail list.
Craig
-- Forwarded message --
To: backuppc-users@lists.sourceforge.net
From: Elias Penttilä <[EMAIL PROTECTED]>
Date: Mon, 10 Apr 2006 14:52:05 +0300
Subj: [BackupPC-users] rsync with VSS-support
Hi,
this is something I did a couple of days ago for our company's use, I
thought it would maybe help someone else too.
Basically this enables rsync to send files which are locked, e.g. in-use
Outlook .pst-files, the Windows registry and pretty much everything else
except EFS-encrypted files.
Everything can be found here: http://iki.fi/~eliasp/rsync-vss
The most useful thing is probably the rsync.msi-file which will install
rsync under C:\Program Files\rsync. A zip-file is also provided which
includes everything in the installer plus the installer as a WiX-source
file.
NOTE that this only works on Windows XP currently, I tried it on Server
2003, but for some reason it didn't work.
There is a patch file which can be applied to the rsync 2.6.6 source
found in cygwin. It's pretty simple stuff actually. Note that it needs a
C++-compiler as I didn't have time to fiddle with the C-style COM. There
were some other issues too, like the linker not finding
CreateVssBackupComponents directly and fstat not working for files
opened with CreateFile. You have to install Microsoft's VSS SDK and copy
the include files and libraries to rsync-2.6.6/vss/inc and
rsync-2.6.6/vss/lib respectively.
-- Forwarded message --
To: Nicholas Hall <[EMAIL PROTECTED]>,
Elias Penttilä <[EMAIL PROTECTED]>
From: Kris Boutilier <[EMAIL PROTECTED]>
Cc:
Date: Thu, 13 Apr 2006 12:00:03 -0700
Subj: RE: [BackupPC-users] rsync with VSS-support
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf
> Of Nicholas Hall
> Sent: Thursday, April 13, 2006 11:33 AM
> To: Elias Penttilä
> Cc: backuppc-users@lists.sourceforge.net
> Subject: Re: [BackupPC-users] rsync with VSS-support
>
> On 4/10/06, Elias Penttilä <[EMAIL PROTECTED]> wrote:
> > ...
> > NOTE that this only works on Windows XP currently, I tried it on
> > Server 2003, but for some reason it didn't work.
>
> Does anyone know what's involved with getting this to work on
> 2000/2003 server?
>
The Volume Shadow Copy Service was only introduced with Windows 2003
Server/Windows XP - 2000 has no such facility without purchasing third party
glue such as St. Bernard Open File Manager
(http://www.stbernard.com/products/ofm/products_ofm.asp).
However, if someone knows a technique to shoehorn the Microsoft VSS server
service into a Windows 2000 server I'd love to hear about it.
Kris Boutilier
Information Services Coordinator
Sunshine Coast Regional District
-- Forwarded message --
To: Kris Boutilier <[EMAIL PROTECTED]>
From: Les Mikesell <[EMAIL PROTECTED]>
Cc: Nicholas Hall <[EMAIL PROTECTED]>,
Elias Penttilä <[EMAIL PROTECTED]>,
backuppc-users@lists.sourceforge.net
Date: Thu, 13 Apr 2006 14:53:59 -0500
Subj: RE: [BackupPC-users] rsync with VSS-support
On Thu, 2006-04-13 at 14:00, Kris Boutilier wrote:
> >
> > Does anyone know what's involved with getting this to work on
> > 2000/2003 server?
> >
>
> The Volume Shadow Copy Service was only introduced with Windows 2003
> Server/Windows XP - 2000 has no such facility without purchasing third party
> glue such as St. Bernard Open File Manager
> (http://www.stbernard.com/products/ofm/products_ofm.asp).
>
> However, if someone knows a technique to shoehorn the Microsoft VSS server
> service into a Windows 2000 server I'd love to hear about it.
Before anyone gets too carried away with this, they should probably
find out if it is legal to distribute. Rsync is covered by the
GPL which demands that all parts of a work must be redistributable
under GPL terms or it can't be distributed at all. I assume that
the VSS SDK code can't be. There's an exception for components that
are normally distributed with the operating system that might apply
since this is a download from Microsoft and the download procedure
checks to see if you are running windows. However, I think the
exception requires dynamic linking and for each user to obtain
his own copy of the non-gpl'd component separately.
--
Les Mikesell
[EMAIL PROTECTED]
-- Forwarded message --
To: Carl Wilhelm Soderstrom <[EMAIL PROTECTED]>
From: Travis Fraser <[EMAIL PROTECTED]>
Cc: backuppc-users@lists.sourceforge.net
Date: Wed, 24 May 2006 17:52: