Bacula-users

Re: [Bacula-users] VSS Windows Backups

2010-02-16 11:24:17
Subject: Re: [Bacula-users] VSS Windows Backups
From: Bob Hetzel <beh AT case DOT edu>
To: bacula-users AT lists.sourceforge DOT net
Date: Tue, 16 Feb 2010 10:48:30 -0500
> 
> Hello,
> 
> 15.02.2010 20:15, Joseph L. Casale wrote:
>>> >> For such a full backup, you need some secondary windows installation 
>>> >> for the resore itself - for Server 2003 and XP, BartPE is a convenient 
>>> >> way to get such a thing. For newer Windows versions, you probably best 
>>> >> use Microsoft's PE system (I haven't actually built such a beast yet).
>> > 
>> > I cant say that wont work, but I would strongly recommend not to approach
>> > this that way, I would put money on an installation plagued with issues.
> 
> I tend to disagree - but I admit you seem to know what you're talking 
> about  :-) 
> 
> Anyway, my scenario in more detail - I'd be happy to see any hidden 
> pitfalls!
> Use a secondary windows /typically PE-based) to boot. Create the 
> partitions you originally had on the system in question (I'm aware of 
> Server 2k8's service partition...)
> Assign drive letters as before, and format as before.
> Start FD, and restore a complete backup to it's original location.
> Make sure you've got the partitions activated, boot loader in place, etc.
> Reboot the restored system.
> 
> Both theory and my experience tell me that you'll end up with a 
> complete windows, happily running where it was backed up.
> For sanity#s sake, you next apply the system state backup you - 
> hopefully - captured during your regular backups, following 
> Microsoft's procedures.
> 
> After three reboots, you should have your system in a consistent, 
> mostly up-to-date state.
> 
> Be aware that some applications - typically everything based on 
> databases - may require additional steps, for example to replay 
> transaction logs written and backed up after the last regular back up.
> 
>> > Reinstall windows, reinstall apps with appropriate methods (like exchange
>> > cant just be re-installed new, setup needs switch's),
> 
> That alone can be a problem - only identifying everything you had 
> before requires a full-blown configuration and deployment management 
> system, in my experience  :-( 
> 
>> > then add in only
>> > applicable data.
> 
> This is even worse (though getting better at least with Microsoft's 
> applications) as it's really hard to determine wat is "applicable data".
> 
>> > You are *will* break all sorts of things pulling the rug
>> > out from under complicated applications like AD/Exchange etc...
> 
> True, but with the combination of VSS and system state backup / 
> restore plus the things you (should) know about managing AD you get to 
> an up-to-date, restored, system quite quickly - much faster than 
> reinstalling tons of applications, updates, patches, service packs, 
> bug fixes and the like one by one.
> 
>>> >> I would expect problems when, for whatever reasons, you need to 
>>> >> restore for example IIS (meta)data only, as I'm pretty sure that doing 
>>> >> this in a running windows will not result in a merge of the data in 
>>> >> the live system and the restored data, but only in an error (more 
>>> >> likely) or loss of the current data by overwriting with backed up 
>>> >> files (less likely).
>> > 
>> > Yup, Metabase is involved, AFAIK it best done from a system state or using
>> > the provided scripts which you can script with a runbeforejob and let 
>> > Bacula
>> > snag it after. See msdn and technet, you'll see all that's involved in that
>> > ugly one.
>> > 
>> > http://technet.microsoft.com/en-us/library/cc783795%28WS.10%29.aspx
> 
> Actually, the stuff Microsoft has in its libraries is quite complete 
> and provides a good way to spend lots of time for windows admins 
> thinking about backup and recovery  ;-) 
> 
> Not really being a windows admin myself and needing that stuff makes 
> me spend even more time with it...
> 
> Thanks for your insight!
> 
> Arno
> 
> -- Arno Lehmann IT-Service Lehmann Sandstr. 6, 49080 Osnabr?ck 
> www.its-lehmann.de 

Last year I tried some experimentation with bare-metal restore using bacula 
and bart-pe of a Windows boot volume and I never did get it to work 
properly.  I believe there are least two pitfalls, probably more:

1) How to make it bootable?  You can restore all the important files but 
getting it to boot is another matter.

2) I couldn't get far enough for this to be an issue but I believe bacula's 
handling of "Junction Points"--it gripes but doesn't back them up, will 
break many things too.  Can anybody shed light on whether these will be 
auto-created by the OS if they're missing?

Has anybody actually documented fully the steps to get a Windows Server 
2003 bare-metal bart-pe restore working like this?

Regarding the IIS metabase, if you go into the IIS Manager app, then right 
click on Properties for the local computer, then tick the setting to 
"Enable Direct Metabase Edit" you should be able to just back up the 
metabase folder as regular files.  If you stop IIS then restore the files 
MBSchema.xml and MetaBase.xml as regular files you should be back to where 
you were with the IIS config at least.  All the web content, and CGI 
applications, and dll's is another matter, of course.





------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users