Manually Backup and Restore Database
How to manually backup and restore the database in M365 Manager Plus?
Back-up M365 Manager Plus database
Make sure to stop M365 Manager Plus, before taking a back-up, .
- Stop M365 Manager Plus. (Start → All Programs → M365 Manager Plus → Stop M365 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.
- Navigate to <Installation_Dir>\data and open postgresql.conf.
Note: <Installation_Dir> here refers to the location where you have installed your pgSQL.
- Modify wal_level=archive in the postgresql.conf file.
- Copy the folders lib and bin, and paste them in <ManageEngine_M365_Manager_Plus_Installation_Dir>\.
- Start Command Prompt as an administrator (right-click command prompt and select 'Run as Administrator')
- Navigate to <M365_Manager_Plus_Installation_Dir>\bin folder by using the cd command. By default, the path to installation directory is C:\Program Files\ManageEngine\M365 Manager Plus.
- Now, execute the command backupDB.bat to backup the database.
- A folder named Backup will be created at M365 Manager Plus installation directory (By default: C:\Program Files\ManageEngine\M365 Manager Plus Backup) and it will contain the DB back-up in compressed file format.
Restore M365 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:\Program Files\ManageEngine\M365 Manager Plus.
- Now, execute the command restoreDB.bat to restore the database. restoreDB.bat compressed_file_name.zip