Is there a way to dump the configuration of the server into a file?
How to dump the configuration of the server into a file?
The recommended way is to take the entire backup of the Ezeelogin. Refer below article to create a complete backup of Ezeelogin.
You can skip taking the logs if /var/log/ezlogin directory is huge in size
[[email protected] ~]# /usr/local/sbin/backup_
If you want to manually backup, refer the below steps
1. Take the backup of the config file /usr/local/etc/ezlogin/ez.conf and the dir /usr/local/etc/ezlogin/
2. Copy the directory /usr/local/etc/ezlogin/ to the server you want it to be restored.
3. Take the backup of the database using mysqldump. Refer 1st and 2nd steps of the following article for Ezeelogin database backup and restore.
If you are getting the following error "Database connect failed: Access denied for user 'ezlogin_urk'@'localhost' (using password: YES)", run the following command to grant privileges manually.
Login to MySQL as root and replace with your Ezeelogin database credentials. To get Ezeelogin database credentials you can refer the article to retrieve Ezeelogin database credentials