BackupPC-users

Re: [BackupPC-users] Windows bare metal restore

2009-11-24 17:09:34
Subject: Re: [BackupPC-users] Windows bare metal restore
From: Chris Bennett <chris AT ceegeebee DOT com>
To: "Jeffrey J. Kosowsky" <backuppc AT kosowsky DOT org>
Date: Wed, 25 Nov 2009 08:35:31 +1030
Hi Jeff,

> I'm very interested in this topic since I have been spending a lot of
> time developing my "shadowmountrsync" routines which attempt to
> automate the backup part of your approach outlined above. So far I
> have robustly implemented startup of shadows and backup of acls (using
> subinacl and/or getfacl).

Great to hear from you - I was going to mention your script in my
first post, as it's a fantastic contribution to the problem I'm trying
to solve.  The funny thing is I spent the better part of a weekend
working out how it all works _before_ I found your script, but what
you've put together has been a good reference for me nonetheless.

I'm primarily trying to do this with rsync over ssh, so the details
are a little different, but the 'at' job schedule to work around the
passphrase ssh login problem was a very clever idea (that I had not
found elsewhere).

> 1. What is 'fileacl' and how is it better/worse than subinacl? 
>    (which seems to backup all the ACL info (vs. the limited getfacl
>    capabilities) 

Good question - it's a tool I found in 2007 when I last had a look at
doing more then file-level backups with backuppc.

http://www.gbordier.com/gbtools/fileacl.asp

I had not heard/seen of subinacl or getfacl until I looked at your
work (hint: I'm not a Windows admin.. :) )

I'm willing to use whatever works, and fileacl claims save/restore
acl's comprehensively.

I've tried both fileacl and subinacl with the same results.

I'm wondering what isn't restored by a file-level restore, permission
restore, and then a fixboot / fixmbr.  Or whether it's something to do
with the change of 'hard disks' (in my case VMWare vmdk files).  Or
whether the on-disk block location of some files is stored somewhere
and that breaks on the restore.  Coming from a Linux background, I
don't know why it has to be so hard to understand how to perform a
full system recovery without forking out $$.. :)

> 2. What does the "ntbackup of systemstate" add?
>    If I understand that better, I would be happy to add it as an
>    additional option to shadowmountrsync.

Well, I don't know the details as it's all a little abstract, but
reading:

http://technet.microsoft.com/en-us/library/cc785306(WS.10).aspx

gives some hints on what it covers, and I'm just used to seeing it be
done with other backup tools.  For some of it's components backed up
(e.g. AD), I think additional massaging is done on backup, and when
restored, additional unrolling/replaying of files onto the system
instead of just file-level recovery.  But I could be way off there.

> Please keep me informed on your progress on getting bare-metal
> restores to work. I am very interested in getting this all working.

My major aim is to do a backup/restore out of band without recovering
a base-os installed.  Barring that, I want to work out what the
minimum amount of work is required before I can restore from my
backuppc files / permission dump and have the system functioning as it
was at the time of backup.

I hope someone out there with the right Windows knowledge can provide
some additional answers to the questions we are asking.

Regards,

Chris Bennett
cgb

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/