Site Home  »  How Tos »  Backup and Restore

Backup and Restore

Tags:  

Backup and Restore


Regular backup of the MSP Central and probe are recommended so that in case of any disaster,the backup versions can be restored and the software can be bought into the operational state immediately.

NOTE : Please make sure to shutdown the Central/Probe during the backup/restore operation
The backup procedure might take a few minutes depending on the size of your data

Backup

  1. Stop MSP Central/Probe that you want to backup.
  2. Execute BackupDB.bat/sh from <MSP Center Plus Home>/bin/backup directory to start the data backup.
  3. Once the backup is over, a directory backup is created in <MSP Center Plus Home> directory and the backup file 'OpManagerBackup.bak'  is placed in this directory. Further backups are stored in the same directory with file name incremented by 1.For e.g 'OpManagerBackup1.bak' 'OpManagerBackup2.bak' etc.
  4. If you have any specific fixes in the previous builds, then copy these folders
    • central\classes\com
    • central\WEB-INF\classes\com
    • probe\classes\com
    • probe\WEB-INF\classes\com
Restore
  1. You can restore the backed up data over a fresh installation of MSP Central/Probe or over an existing problematic installation.During restoration the existing tables are dropped,new tables are created and the data is restored in all the tables
  2. First stop the Central/Probe you are running
  3. Execute RestoreDB.bat/sh from<MSP Center Plus Home>/bin/backup directory with the backup file name as argument (provide the absolute path of the backup file)
  4.  See example below:
    C:\ \bin\backup>RestoreDB.bat  "c:\MSPBackups\OpManagerBackup.bak"
  5. Restore the folders that you have backed in step 4 of Backup process (above).



We recommend the above procedure for backup/restore as you would have a complete backup of all the data and configuration files as a single entity.In cases where you would want to go for a folder backups,the following directories have to be backed up

Central:
  • central\mysql\data
  • central\gen
  • central\conf
  • central\users
  • central\tomcat\conf\server.keystore
  • central\tomcat\conf\server.xml
  • central\supportcenter\fileAttachments
  • central\supportcenter\custom
  • central\supportcenter\inlineimages
  • central\desktopcentral\webapps\DesktopCentral\agent
  • central\desktopcentral\webapps\DesktopCentral\client-data
       If you have rebranded your product then copy these extra folders
  • central\html
  • central\images
  • central\webclient\devices\images
  • central\desktopcentral\conf
  • central\supportcenter\applications\extracted
  • central\supportcenter\applications\extracted\AdventNetSupportCenter.eear
    \AdventNetServiceDeskWC.ear\AdventNetServiceDesk.war\WEB-INF\classes\resources\ApplicationResources.properties
  • central\desktopcentral\conf\ApplicationResources.properties
       If you have any specific fixes in the previous builds, then then copy these folders
  • central\classes\com
  • central\WEB-INF\classes\com
Probe:
  • probe\mysql\data
  • probe\gen
  • probe\conf
  • probe\html
  • probe\users   
  • probe\tomcat\conf\server.keystore
  • probe\tomcat\conf\server.xml
       If you have rebranded your product then copy these extra folders
  • probel\html
  • probe\images
  • probe\webclient\devices\images
       If you have any specific fixes in the previous builds, then then copy these folders
  • probe\classes\com
  • probe\WEB-INF\classes\com






 RSS of this page

rtttrrb