how to create a complete backup of ezeelogin installation?

How do i create a complete backup of my ezeelogin installation?


 Execute the command /usr/local/sbin/backup_ezlogin.php and this would create a binary executable backup archive in /var/ezlogin_backup_xx_x.bin.

[[email protected] ~]# /usr/local/sbin/backup_ezlogin.php

                  _             _     

  ___ _______  ___| | ___   __ _(_)_ __ 

/ _ \_  / _ \/ _ \ |/ _ \ / _` | | '_ \

|  __// /  __/  __/ | (_) | (_| | | | | |

\___/___\___|\___|_|\___/ \__, |_|_| |_|

                       |___/

#########################

#  Ezeelogin Backup     #

#########################

Checking environment... done (1797)

Based on your command line parameters, you may be prompted to enter the missing settings. The default value will be given in bold. Simply pressing enter key will choose the default value.

Creating directories... done (4914)

Copying files... |

done (4986)

Backup database... done (5236)

Backup logs... done (5244)

Creating executable archive...   

########################################################

Ezeelogin backup created: /var/ezlogin_backup_v7.8.0_b381_Thu_Oct_04_2018_09_10_32_UTC.bin

(Log: /var/log/ezlogin_backup.log)

########################################################

For free assistance, please contact [email protected]

 

Thank you for choosing Ezeelogin.

www.ezeelogin.com


 You may store this backup archive remotely in case you need to restore it when your primary node goes down.

 When your primary node goes down, all you need is to migrate the license to the new ip from the portal and execute the backup archive on the server and you are ready to go..

 

To restore, simply execute the archive created.

[[email protected] ~]# /var/ezlogin_backup_v7.8.0_b381_Thu_Oct_04_2018_09_10_32_UTC.bin

Creating directory ezlogin_backup_v7.8.0_b381_Thu_Oct_04_2018_09_10_32_UTC

Verifying archive integrity... All good.

Uncompressing Ezeelogin 7.8.0 backup (Thu_Oct_04_2018_09_10_32_UTC).............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................

/ _ \_  / _ \/ _ \ |/ _ \ / _` | | '_ \

|  __// /  __/  __/ | (_) | (_| | | | | |

\___/___\___|\___|_|\___/ \__, |_|_| |_|

                           |___/

 

 

#########################

#  Ezeelogin Restore    #

#########################

done (1797)

Required PHP extensions...

mysqli  -> Success

openssl  -> Success

posix  -> Success

pcre  -> Success

json  -> Success

curl  -> Success

mcrypt  -> Success

Required PHP functions...

exec  -> Success

proc_open  -> Success

proc_close  -> Success

fopen  -> Success

fsockopen  -> Success

file  -> Success

file_get_contents  -> Success

escapeshellarg  -> Success

preg_match  -> Success

ini_get  -> Success

Operating system: Linux (x86_64)

PHP version: 5.3.3

done (1863)

Based on your command line parameters, you may be prompted to enter the missing settings. The default value will be given in bold. Simply pressing enter key will choose the default value.

Checking database connectivity.done (3107)

Checking database availability.done (3121)

Review settings:

Install web panel files in                                : /var/www/html/ezlogin/

Install web panel system files in                         : /var/www/ezlogin/

URI path to access web panel                              : /ezlogin/

MySQL server                                              : localhost

MySQL port/socket                                         : /var/lib/mysql/mysql.sock

Force HTTPS for web panel?                                : no

Secure MySQL connection?                                  : no

Accept the above settings? (y/n/x) : y

 

Creating and setting up database... done 

Adding ezsh to shells... done 

Creating group and users... done 

Restoring logs... done

Creating directories... done 

Copying files... |

ERROR copying: setup/crontab -> ezadmin

done 

Setting access...  

done 

Setting file modes

done 

Setting file owners...

done

Setting file groups... 

ERROR chgrp: ezadmin -> root

done

Setting up config... done

Setting up cron... done 

Downloading GeoLiteCity database from www.maxmind.com... /root/ezlogin_backup_v7.8.0_b381_Thu_Oct_04_2018_09_10_32_UTC/setup/setup.php on line

done 

 

########################################################

Ezeelogin restored. (Log: /var/log/ezlogin_restore.log)

########################################################

 

3 major errors occurred.

Ezeelogin may not work correctly.

Please check the log file and correct the problems.

For assistance, please contact support with the content of the log file.

 

2 minor errors occurred.

Ezeelogin should work correctly.

Please check the log file.

For assistance, please contact support with the content of the log file.

 

###################################################################

Web panel installed at:

  '/var/www/html/ezlogin/'

  ( http://yourdomain.com/ezlogin/ ).

###################################################################

 

Note: Please check the log file to see if any error occurred.

 

TODO NOTES:

Enable web server, MySQL server and cron to startup at boot time.

 

For free assistance, please contact [email protected]

 

Thank you for choosing Ezeelogin.

www.ezeelogin.com

 

0 (0)
Article Rating (No Votes)
Rate this article
    Attached Files
    There are no attachments for this article.
    Related Articles RSS Feed
    How to truncate the ssh session logs recorded?
    Viewed 1342 times since Tue, Dec 5, 2017
    How do i uninstall ezeelogin?
    Viewed 1849 times since Wed, Jun 14, 2017
    How to export servers ?
    Viewed 2880 times since Sat, Sep 2, 2017
    Database connectivity credentials and configuration file
    Viewed 1376 times since Thu, Nov 23, 2017
    How do i export all server password into an excel file?
    Viewed 1537 times since Thu, Jun 15, 2017
    How to import servers from a file into Ezeelogin ssh gateway?
    Viewed 2415 times since Fri, Sep 1, 2017
    How can we upgrade php in an ezeelogin installed server ?
    Viewed 556 times since Fri, Jan 25, 2019
    Migrate jump server installation from one server to another
    Viewed 1931 times since Wed, Jun 14, 2017
    Configuration and error log files to check for troubleshooting
    Viewed 3972 times since Thu, Jun 15, 2017
    How to move servers/migrate servers from one Ezeelogin installation to another?
    Viewed 1412 times since Thu, Jun 15, 2017