|
Toll Free: (866) 407-5279 Direct: (651) 407-5279 |
|
Note: This article's parent is MSDE/SQL Datastore (7.x)
Backing up UpdateEXPERT Premium requires adequate free disk space to backup product directories, patch remediation database files, and MSDE database files. This can require several hundred megabytes of space.
This article assumes you are backing up and restoring on the same machine, without host-name changes and using the same product build. Keep a copy of your UpdateEXPERT Premium serial number for re-installation.
This article has 3 sections, as follows:
Backing Up UpdateEXPERT Premium
7.x
Restoring UpdateEXPERT Premium 7.x 
Backup/Restore Sample Scripts 
Important: This procedure does not include backup/restore of the settings management (SecurityEXPERT) directories. This is because these directories are re-created when UpdateEXPERT is re-installed, and consist of web interface pages (ASP pages) used for settings management. If you wish to add these directories to your procedure, add the following:
C:\Inetpub\wwwroot\SBSCorporateClientWS
C:\Inetpub\wwwroot\SecurityEXPERT
C:\Inetpub\wwwroot\SEServerWS
Stop Services
> net stop ueagent
> net stop mssql$sbsdb
Copy Directories & Files:
C:\Program Files\St Bernard Software\UpdateEXPERT\*
C:\Program Files\Common Files\UpdateEXPERT\*
%SYSTEMROOT%\UEAgent\*
%SYSTEMROOT%\System32\Codec4ue3db.dll
Run AgentUtil (Leaf-Agent and Agent Settings Data):
Use C:\Program Files\St Bernard Software\UpdateEXPERT\AgentInstaller\AgentUtil.exe (as explained in this AgentUtil article) to backup Leaf-Agent and Agent Settings information from the Registry.
Export these Registry Keys:
HKEY_LOCAL_MACHINE/Software/St. Bernard Software/UpdateEXPERT
HKEY_LOCAL_MACHINE/Software/St. Bernard Software/UEJobs
HKEY_LOCAL_MACHINE/Software/St. Bernard Software/SecurityEXPERT
HKEY_CURRENT_USER/Software/St. Bernard Software/UpdateEXPERT
Copy MSSQL$SBSDB Database Files:
C:\Program Files\Microsoft Sql Server\MSSQL$SBSDB\Data\UEDataStore.mdf
C:\Program Files\Microsoft Sql Server\MSSQL$SBSDB\Data\UEDataStore_log.ldf
C:\Program Files\Microsoft Sql Server\MSSQL$SBSDB\Data\SEDataStore.mdf
C:\Program Files\Microsoft Sql Server\MSSQL$SBSDB\Data\SEDataStore.ldf
Re-install UpdateEXPERT:
If desired, completely uninstall UpdateEXPERT Premium, then re-install.
Launch UpdateEXPERT Premium 7.x to make sure it is functioning.
Stop Services
> net stop ueagent
> net stop mssql$sbsdb
Restore Directories & Files:
Overwrite directories with your backup files.
Copy the Codec4ue3db.dll file to the System32 directory, overwriting the existing file.
Restore Registry Keys and Leaf-Agent Data:
Restore registry and AgentUtil data.
Restore Database Files:
Replace the UEDataStore and SEDataStore database files with the backup UEDataStore and SEDataStore database files.
Start and Launch:
> net start ueagent (this will start mssql$sbsdb automatically).
Launch the Console.
Note: These samples provided primarily to identify the components requiring backup/restore. Be sure to modify and test them in a manner appropriate to your environment!
|
rem UEBackup.bat net stop ueagent set Dest=D:\UEBACKUP "C:\Program Files\St Bernard Software\UpdateEXPERT\AgentInstaller\AgentUtil.exe" xcopy "C:\program files\st bernard software\updateexpert\*"
"%Dest%\UEBACKUP_P\*" /E xcopy "C:\Program files\Microsoft Sql Server\MSSQL$SBSDB\data\UEDataStore.mdf"
%Dest% regedit -e %Dest%\HKLMUE.reg "HKEY_LOCAL_MACHINE\SOFTWARE\St.
Bernard Software\UpdateEXPERT" net start ueagent |
This is the backup script. AgentUtil is invoked to make it easy to backup Leaf-Agent information. xcopy
is used to backup product directories and the UEDataStore
& SEDataStore sql database files. Starting UEAgent also starts the SBSDB sql instance. |
|
rem UERestore.bat net stop ueagent set Source=D:\UEBACKUP "C:\Program Files\St Bernard Software\UpdateEXPERT\AgentInstaller\AgentUtil.exe" xcopy "%Source%\UEBACKUP_P\*" "C:\program
files\st bernard software\updateexpert" /E
/Y xcopy "%Source%\UEDataStore.mdf" "C:\Program
files\Microsoft Sql Server\MSSQL$SBSDB\data" /Y regedit -s %Source%\HKLMUE.reg net start ueagent |
This is the restore script. AgentUtil is invoked to make it easy to restore Leaf-Agent information. xcopy
is used to restore product directories and the UEDataStore
& SEDataStore sql database files. Starting UEAgent also starts the SBSDB sql instance. |