You are advised to make a system backup of the installed software and data before:
- running Entuity for the first time
- reinstalling Entuity
- reconfiguring Entuity.
This will ensure that you are up and running more quickly in the event of a file system corruption, or when upgrading Entuity. backup can run while Entuity continues to manage the network. By default, provost schedules backup to run daily at 23:00.
To change the database backup location:
By default, ENA backs up each database to its own subfolder beneath entuity_home\database\backup. When you rebuild the ENA database during install and configure, backups under entuity_home\database are also deleted. When you want to both rebuild the database and retain backups, you should save the backups to a location that is not beneath entuity_home.
You can amend the default location for database backups when you run configure. Please see step 5 in this article for details on how to change the database backup location.
To manually back up your ENA data:
You can also manually run backup.
- Ensure you are logged in as a user with administrative privileges.
- Ensure the database server msyqld is running.
- Run backup from the command line. ENA will backup all databases.
- As each backup completes, ENA reports the success or failure of each stage of the backup. Backup details can also be checked through the log file, backup.log, in the entuity_home\log directory.
To restore the database:
In the event of a system failure that causes a loss of data from the current database, you may have to restore databases and the MySQL users table from a backup.
- Ensure that you are logged in as a user with administrative privileges.
- Shut down ENA. From the command line enter stopeye, or in Windows stop the ENA service.
- Start the ENA database server mysqld. From the command line run c:\entuity\bin\start database, or in Windows restart the ENA database service.
- From the command line run c:\entuity\bin\restore.
- You will then be prompted as follows:
Do you really want to remove the entire Entuity database?
If 'yes', it will be recreated from the backup directories.
Type y/n to continue.
- Enter y. restore will then delete the existing databases and tables, and then restore the backups.
- Once restore has reported the successful completion, run swmaint. For example, in:
- default mode, swmaint removes object and sample data with incomplete associations. Enter: swmaint
- quick mode, swmaint does not delete or optimize object and sample data. Enter: swmaint -q
- swmaint reports its progress through the command line. When it completes, stop the database server mysqld by either:
- in the command line, running stop database, or
- in Windows, stopping the ENA Database service.
- When restoring a database backup from one server to another, you must change the server identifier in the restored database to that of the new server's identifier. Please see below for further help on this.
- Restart the Entuity server. From the command line run starteye, or in Windows restart the ENA service.
To restore to a different Entuity server:
- Ensure the ENA database is not running. From the command line, navigate to entuity_home\install and enter: configure serverid update_full from_file