In Windows
Backup with Attachments
Click Start > Programs > ManageEngine AssetExplorer > Backup Data. Alternatively, you can also execute the backUpData.bat file from the \bin directory in the command prompt using the command:
- C:\>cd <AssetExplorer_Home>\bin\backUpData.bat
A backup of the data and the file attachments added to the application is created in <AssetExplorer>\backup directory.
The file name for the backup file is of the pattern BackUp_month_date_year_hr_min.data. An example of the backup file name: backup_assetexplorer_11000_fullbackup_12_08_2020_15_22.data
Backup without Attachments
Open Command prompt and go to <AssetExplorer>\bin directory and execute the following command to start the database backup:
- C:\>cd <AssetExplorer_Home>\bin\backUpData.bat --trimmed
Once the back up is complete, a backup file with .data extension is placed in the Trimmed Backup folder under AssetExplorer Home directory.
The backup file contains information such as, the Build number of AssetExplorer, and date and time when the back up was performed. Here is the format of the backup file.
backup_ assetexplorer_ [build number] _database_month _date _ year _ hour _minutes.
For example, a trimmed backup taken in Version 11.0 of AssetExplorer looks like this, backup_assetexplorer_11000_database_12_08_2020_15_22.data
To restore:
- Click Start > Programs > ManageEngine AssetExplorer > Restore Data. Alternatively you can execute restoreData.bat file from the \bin directory in the command prompt using the command: C:\>cd <AssetExplorer_Home>\bin\restoreData.bat
- In the Restore Data pop up, browse and select the backed up file and click OK.
- The existing data will be overwritten with the backed up data.
- Click Close.
- The AssetExplorer server needs to be shut down before you restore the data.
- The backup file name has to be a .data file.
- Click Alt+Tab to view the Restoring Data pop up if not visible.
In Linux
Backup with Attachments
- Go to <AssetExplorer_Home>/bin directory from the command prompt.
- Execute the backUpData.sh file as given below: $ sh backUpData.sh. The backup file is created in the <AssetExplorer_Home>/backup directory.
The file name for the backup file is of the following pattern: BackUp_monthdate_year_hr_min.data. For example: backup_assetexplorer_11000_fullbackup_12_08_2020_15_22.data
Backup without Attachments
Go to <AssetExplorer_Home>\bin directory and execute the following command to start the database backup:
- $ sh backUpData.sh --trimmed
After the backup is complete, a backup file with .data extension is placed in the Trimmed Backup folder under AssetExplorer Home directory.
The backup file contains information such as, the build number, date and time when the backup was performed. Here is the format of the backup file.
backup_ assetexplorer_ [build number] _database_month _date _ year _ hour _minutes.
For example, backup_assetexplorer_11000_database_12_08_2020_15_22.data
To restore:
Go to <AssetExplorer_Home>/bin directory and execute the following command in the command prompt:
- $ sh restoreData.sh <backup file name>
- The backup file name has to be the .data file from which you wish to restore the data.
- The AssetExplorer server needs to be shut down before you restore the data.