Backup and Recovery Overview

System backups are archives of WebApp Secure system information, configuration, and licensing information, along with a copy of the latest database state. You can configure backup settings in the Web UI's by navigating to Configuration > Backups. Enter the following information in the Backups Configuration window:

Push via SSH

WebApp Secure can push backups to an SSH server (via SCP). Configure the following fields to push via SSH.

Note: Click the Test SSH Connection Settings link to make sure the connection works.

Push via FTP

WebApp Secure can push backups to an FTP server. Configure the following fields to push via FTP.

Note: Click the Test FTP Connection Settings link to make sure the connection works.

Click Save.

You can invoke a backup from the command line mykonos-shell, by entering system backup. You will be prompted to confirm, and a file will be created in /home/mykonos/backups/.

Note: The file will be named mykonos-<version>-<hostname>-<datetimestamp>.myk

Note: WebApp Secure stores its backups in the/home/mykonos/backups directory.

Warning: If you change the host name of WebApp Secure, backups made while using the old host name will no longer be valid. You can, however, revert back to the old host name, restore the backup, and change the host name back.

Restoring from a System Backup

To restore from a previously-exported system backup (.myk file), invoke the CLI by typing cli and then type system restore <path/to/myk_file>.

System backups do include a database backup, but only system settings are restored upon restoring the backup. To subsequently restore a database backup that was part of a system backup, you must separately restore the database using the bash command sudo mykonos-db restore latest.

Note: After restoring from a system backup, supplying the latest keyword to the mykonos-db restore command will restore the database state at the time of the system backup, and not necessarily the most up-to-date database backup (chronologically), that is, until another database backup is performed.