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: <backuppc-users@lists.sourceforge.net>
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:33 -0400
Subj: Re: [BackupPC-users] Re: rsync with VSS-support
On Wed, 2006-05-24 at 16:18 -0500, Carl Wilhelm Soderstrom wrote:
> I just tried Elias's patched rsyncd-for-windows with VSS support
> (http://users.tkk.fi/~epenttil/rsync-vss/); but I
> can't get it to work on either of the machines I installed it on. (One
> W2K3EE, and a WXP Home).
>
> Even if I just tried to run rsyncd.exe from the command line (with the
> '--daemon --no-detach -vvv' options); it would just exit right away.
>
> Has anyone else gotten it to work?
I got it to work. There is a typo in the rsync.conf file relating to the
name of the folder it is in (Program Files/rsync). I tried changing the
folder name to match the file contents, but no luck. Just change in the
rsync.conf file the locations of the pid file etc.
>
> I do have the full cygwin kit installed on both of the machines in question,
> which I know can cause problems with operation; but I did try moving the
> c:\cygwin directory out of the way (to the Trash, temporarily) without
> success.
>
> The .msi file is very cool tho, works great, even on a win98 box. Ought to
> use that for the regular backuppc-rsyncd package.
>
--
Travis Fraser <[EMAIL PROTECTED]>
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/