05-06-2014 09:37 PM
Solved! Go to Solution.
05-07-2014 03:11 AM
Unfortunately not possible with NetBackup. You can backup and restore system state, but it is not possible to backup and restore individual registry keys.
05-07-2014 04:54 AM
As stated above it is not possible directly to do this.
If you really needed the feature you could use the bpstart_notify.bat on a client to run:
regedit /e c:\registry_backup\registry.reg
This would then be captured in the backup and the file could be restored to be used for registry restores
Hope this helps
05-07-2014 03:11 AM
Unfortunately not possible with NetBackup. You can backup and restore system state, but it is not possible to backup and restore individual registry keys.
05-07-2014 04:54 AM
As stated above it is not possible directly to do this.
If you really needed the feature you could use the bpstart_notify.bat on a client to run:
regedit /e c:\registry_backup\registry.reg
This would then be captured in the backup and the file could be restored to be used for registry restores
Hope this helps
05-07-2014 07:18 AM
Mark, can you please explain in details/step by step to achieve this as you have stated.
Also this line is confusing to me "regedit /e". You meant to write just "regedit"?
Thank you
05-07-2014 07:32 AM
On the client you wish to backup the registry you need to create a file named bpstart_notify.bat in the \program files\veritas\netbackup\bin\ directory
This batch file will be run prior to a backup starting.
On the client create a folder named C:\registry_backup
If you just paste into the bpstart_notify.bat file the line below:
regedit /e c:\registry_backup\registry.reg
then when the backup runs the entire registry will be exported to a file named registry.reg in that folder.
This then gets backed up when the C drive is backed up.
This provides a full copy of the registry with each backup so that you can restore this file somewhere to the server. You can then either edit it to obtain the parts you need or import it into the existing registry
Do be careful though - if you double click the registry.reg file it will want to auto import it whereever you run it from!
This is just a simple workaround to provide you with a copy of the registry in an easy to use form
Hope this helps
05-07-2014 07:37 AM
Great. I'm going to test this out asap and will update you. Thank you all.
05-07-2014 07:45 AM
Just a thought .. you may need to set the NetBackup Client Service on that client to use an account with local admin rights to be able to run the command .. but try it without first as it will make life simpler
Of could you can export the file anywhere, it doesn't have to go to c:\registry_backup\ it could just go to c:\
05-07-2014 01:59 PM
Hi Mark, The command runs perfectly ok by running manually. However, its not been called by bpbkar32 prior backup. The file type i created shows up as DLL file type. Is this suppose to be application file type. If yes, how do i edit or create a windows application file type. Thank for your support.
05-07-2014 03:00 PM
on which server and where have you created bpstart_notify.bat file ?
05-08-2014 02:58 AM
The file needs to be in the \netbackup\bin\ directory on the client itself
Make sure that it is bpstart_notify.bat and that you are not hiding file entensions
Also - as i mentioned earlier - you may need the NetBackup Client Service on the client running as a local administrator so that it has enough rights to run the command during the backup.
05-08-2014 11:36 AM
Ontherocks : bpstart was created on the client
Mark: yes, bpstart is in its right path. Also am login in as local admin account.
Please see attached bpstart_notify path, contents and my client information.
I just ran backup again, and this file was not called.
05-08-2014 12:09 PM
05-09-2014 01:39 AM
The icon looks like notepad yet the file type says DLL - something wrong there - it should be shown as a Windows bath File
As Marianne says make sure you are not hiding known file extensions because i dont believe that is a .bat file