WebMail Lite 8 Documentation

Performing data backup

If you wish to perform full backup of your WebMail Lite 8 installation, you will need to export the database as well as backup files and directories of your installation.

You can export full structure and content of MySQL database with phpMyAdmin, some other MySQL management tool, it can be done via command line as well, using mysqldump tool. For example:

mysqldump -uroot -pYourRootPassWord afterlogic --result-file=/root/afterlogic.sql

The above assumes your database is called afterlogic, you're using root mySQL credentials, and the SQL file will be stored under /root. You can find the database credentials used in data/settings/config.json configuration file.

Also, you should backup all the files of your WebMail Lite 8 installation - or at least, its data/ directory. You can create ZIP archive of your installation containing all the subdirectories and files. For example, the following commands will create an archive of your installation and save it under under /root:

cd /root
zip -r afterlogic.zip /var/www/afterlogic