Re: [Bacula-users] [Bulk] Re: Windows registry restore possible?
On Thu, 29 Apr 2010 06:49:06 +0200, Craig Ringer cr...@postnewspapers.com.au wrote: Win7 and win2k8 offer an excellent built-in image backup system that makes proper use of VSS to get a consistent copy, We have some W2K8 servers running here but not backing them up yet (just upgraded Bacula from 2.4.3 to 3.0.3, clients still on 2.4.4) so no experience with them in that respect. Under W2K3 I use ntbackup to back up the registry, on W2K8 I played around with wbadmin but can't get it to do the same as this: ClientRunBeforeJob = if [%l]==[Full] (ntbackup backup systemstate /F c:\\systemstate.bkf) ClientRunAfterJob = del c:\\systemstate.bkf ClientRunAfterJob = del \c:\\Documents and Settings\\Default User\\Local Settings\\Application Data\\Microsoft\\Windows NT\\NTBackup\\data\\backup*.log\ Are you also talking about wbadmin and if so what am I missing? Issues with wbadmin I have are: 1) on the command line I tried to make it back up to a local device which it refuses so I need to specify a share on another machine, then copy back the backup before letting Bacula at it 2) thinking I may need to define a schedule first (so it does not include local drives and therefore can back up to a local drive which is now not included in the backup), in the GUI I selected 'system state' only but this seems to include all files instead of just necessary system files/registry hives (I canceled while it was still bust racking up more than 6 files). -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] [Bulk] Re: Windows registry restore possible?
On Wed, 28 Apr 2010 07:07:43 +0200, Thomas Mueller tho...@chaschperli.ch wrote: Am Tue, 27 Apr 2010 12:50:30 -0400 schrieb jdb: Is it possible to restore just the registry without restoring the entire backup? I have the VSS enabled in the Bacula config, [..] VSS does provide a consistent snapshot. IMHO the VSS Writer loglines just mean that the Service xyz was informed about a snapshot that will happen so that Service xyz can get into a consitent state on disk. this does not mean that anything is written an tape/volume. Right, for W2K3 use ntbackup (heard it was not in W2K8 anymore, anyone know the replacement?) to back up the system state, which should include registry files. For this I added in my job definitions: ClientRunBeforeJob = if [%l]==[Full] (ntbackup backup systemstate /F c:\\systemstate.bkf) ClientRunAfterJob = del c:\\systemstate.bkf ClientRunAfterJob = del \c:\\Documents and Settings\\Default User\\Local Settings\\Application Data\\Microsoft\\Windows NT\\NTBackup\\data\\backup*.log\ This runs the commands on the server and does a compare, if backup level is full then does an ntbackup (so not on 'incremental==full' etc.) and deletes the temp files afterward (systemstate is overwritten but it takes up space, logs keep piling up otherwise). You need to have a few hundred MB free on C: for the systemstate.bkf file and the full backups take a few minutes longer. -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users