Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    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:

    • Encryption Key–-Enter the user-defined segment of the encryption key that is used to encrypt backups.
    • Retention–Enter the number of days that backups will be kept before being deleted.
    • Frequency–Select the frequency for performing backups: Hourly, Daily, Weekly, Monthly

    Push via SSH

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

    • Push to SSH–Select True or False
    • SSH Server–Enter the SSH server to which backups will be transferred
    • SSH Username–Enter the username used for the transfer.
    • SSH Password–Enter the password used for the transfer.
    • SSH Retries–Enter the times to attempt the transfer before aborting.

    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.

    • Push to FTP–Select True or False
    • FTP Server–Enter the FTP server to which backups will be transferred
    • FTP Username–Enter the username used for the transfer.
    • FTP Password–Enter the password used for the transfer.
    • FTP Retries–Enter the times to attempt the transfer before aborting.

    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.

    Published: 2015-02-04