Manually Backup and Restore Database

How to manually backup and restore the database in O365 Manager Plus?


Back-up O365 Manager Plus database

Make sure to stop O365 Manager Plus, before taking a back-up, .

  • Stop O365 Manager Plus. (Start → All Programs → O365 Manager Plus → Stop O365 Manager Plus)

If you are using a pgSQL that does not come bundled with the product, follow the steps listed below. If not, start from step 4.

  1. Navigate to <Installation_Dir>\data and open postgresql.conf.
    Note: <Installation_Dir> here refers to the location where you have installed your pgSQL.
  2. Modify wal_level=archive in the postgresql.conf file.
  3. Copy the folders lib and bin, and paste them in <ManageEngine_O365_Manager_Plus_Installation_Dir>\.
  4. Start Command Prompt as an administrator (right-click command prompt and select 'Run as Administrator')
  5. Navigate to <O365_Manager_Plus_Installation_Dir>\bin folder by using the cd command. By default, the path to installation directory is C:\ManageEngine\O365 Manager Plus.
  6. Now, execute the command backupDB.bat to backup the database.
  7. A folder named Backup will be created at O365 Manager Plus installation directory (By default: C:\ManageEngine\O365 Manager Plus Backup) and it will contain the DB back-up in compressed file format.

Restore O365 Manager Plus database:

  • Start Command Prompt as an administrator (right-click command prompt and select 'Run as Administrator')
  • Navigate to <Installation_Dir>\bin folder by using the cd command. By default, the path to installation directory is C:\ManageEngine\O365 Manager Plus.
  • Now, execute the command restoreDB.bat to restore the database.
    restoreDB.bat compressed_file_name.zip
Get download link