Data Backup and Restore


Desktop Central stores all the configuration details, status of deployed configurations, User Logon Reports, Active Directory reports, etc., in the database. Backing up the data is necessary to prevent the data loss that may happen due to unforeseen circumstances.

Manual Data Backup

Follow the steps given below to take a back up of the ManageEngine Desktop Central data manually:

  1. Open a command prompt

  2. Go to <Install_Dir>/DesktopCentral_Server/bin directory.

  3. Execute the backupDB.bat as given below:

backupDB.bat <destination_directory>

 

For example, backupDB.bat c:\DesktopCentralBackup

 

The backup file will be created and stored in the specified location in date-time.zip format. An example of the backup file name: 061018-1635.zip

 

Note: The MySQL database should be running prior to running the script. If Desktop Central is running, the database will also be running. If not, start the database using the startDB.bat located under the <Install_Dir>/DesktopCentral_Server/bin directory.

Scheduled Data Backup

Follow the steps given below to schedule the data backup:

  1. Select the Admin tab

  2. Click the Database Backup link available under the Tools category. This opens the Database Backup screen.

  3. Specify the time for performing the backup operation. The time should be specified in hh:mm:sec format. The database will be backed up at this time everyday.

  4. Select the number of backups to be maintained. The older ones will automatically be deleted.

  5. Specify the location to store the backed up database.

  6. Select the "Notify when the database backup fails" option and specify the email addresses if you want to be notified in cases  of any failures. Please note that you should have configured your mail server settings to get notified.

  7. Click Save Changes.

 

Note:

  1. The destination directory specified as the argument should be an existing directory. If you specify a nonexistent directory, the data backup will not happen.

  2. The MySQL database should be running when the task is called. If Desktop Central is running, the database will also be running.

Data Restore

To restore the backed up data, follow the steps below:

  1. Open a command prompt

  2. Go to <Install_Dir>/DesktopCentral_Server/bin directory.

  3. Execute the restoreDB.bat file as given below:

    restoreDB.bat
    <backup file name>

The back up file name has to be the .zip file from which you wish to restore the data. This will restore the data from the backup file.

 

Note:

  1. Desktop Central should be shutdown prior to restoring the data.

  2. After restoration, the changes made after the backup date will not be available.

 

Copyright © 2005-2010, ZOHO Corp. All Rights Reserved.
ManageEngine