> > Is it possible to restore just the registry without restoring the
entire
> > backup?
> 
> To restore the hives you'd have to boot a different Windows install
with
> the Bacula agent running and the disks for the win2k3 server attached.
> You can't restore onto the 2k3 machine's registry hivesbecause they're
> read-only to applications while the OS is using them. You *may* be
able
> to restore them to an alternate location on the running server's
disks,
> then reboot into the recovery console and move them into place,
though.

Actually you'd just need to write a little app that made a call to
RegReplaceKey
(http://msdn.microsoft.com/en-us/library/ms724913%28VS.85%29.aspx).
Interestingly the documentation regarding VSS restore of the registry
says you should use MoveFileEx with a parameter of
MOVEFILE_DELAY_UNTIL_REBOOT to replace the registry hive with the
restored file, but if you do that your system blows up, so don't do that
:)

James

------------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to