The backup and restore feature is provided to protect the data in case of its hardware or software failure that corrupts or destroys configuration or performance data. Manage server supports two types of backups, which are:
- Daily backup – occurs every night at 1:00 am and 4:00 am
- Admin initiated – occurs when the admin user explicitly creates a backup.
The daily backup is performed every night at 1:00 am and 4:00 am. The backup is stored on an external device attached to Manage or a remote server using SFTP (SSH File Transfer Protocol). If there is not enough space on the attached storage drive, the oldest file with an extension of “.tar.gz” is deleted. If there is still not enough space, then the next oldest file with a “.tar.gz” is deleted. This process continues until enough free space is present, or no more files with a “.tar.gz” exist. If enough free space is present, the backup is stored on the external drive. Likewise, if the remote server connection is available, the backup is stored on the remote server. Otherwise, the backup is stored in the directory /opt/enLighted/DB/DBBK on the Manage server.
The “Admin initiated” backup is an on-demand backup initiated by an administrator. Based on the storage option selected, if there is enough free space present on the external drive, the backup file is stored on the external drive or to a remote server using SFTP. If not, a backup is stored in directory /opt/enLighted/DB/DBBK on the Manage server. These backup types do not delete files on the external drive.
Only users with the 'Admin' role can access the Backup and Restore screen. Sign in to Manage using your admin login credentials.
After the password for user admin has been re-verified, go to Administration > Backup and Restore. The Backup and Restore screen is displayed. The Backup and Restore screen contains four sub-panels. An example is:
The following operations are possible:
- Selecting a Backup
- Creating a Backup
- Downloading a Backup File
- Uploading a Backup File
- Restoring from Backup File
- Deleting a Backup File
- Recovering from System Failure
The backup and restore capabilities provide the means to recover from minor and major problems. Best practice includes creating backup files before and after system configuration changes and a periodic download of a backup file to store in a separate physical location from the Manage server.