Backing up a website

Backing up a website

Backing up a website

To add a website

  1. Click Devices > Add.
  2. Click Website.
  3. Configure the following access settings for the website:
    • In Website name, create and type a name for your website. This name will be displayed in the service console.
    • In Host, specify the host name or IP address that will be used to access the website via SFTP or SSH. For example, my.server.com or 10.250.100.100.
    • In Port, specify the port number.
    • In User name and Password, specify the credentials of the account that can be used to access the website via SFTP or SSH.

      Important  Only the files that are accessible to the specified account will be backed up.

      Instead of a password, you can specify your private SSH key. To do this, select the Use SSH private key instead of password check box, and then specify the key.

  4. Click Next.
  5. If your website uses MySQL databases, configure the access settings for the databases. Otherwise, click Skip.
    1. In Connection type, select how to access the databases from the cloud:
      • Via SSH from host—The databases will be accessed via the host specified in step 3.
      • Direct connection—The databases will be accessed directly. Choose this setting only if the databases are accessible from the Internet.
    2. In Host, specify the name or IP address of the host where the MySQL server is running.
    3. In Port, specify the port number for the TCP/IP connection to the server. The default port number is 3306.
    4. In User name and Password, specify the MySQL account credentials.

      Important  Only the databases that are accessible to the specified account will be backed up.

    5. Click Create.

    The website appears in the service console under Devices > Websites.

To change the connection settings

  1. Select the website under Devices > Websites.
  2. Click Details.
  3. Click the pencil icon next to the website or the database connection settings.
  4. Do the necessary changes, and then click Save.

To create a protection plan for websites

  1. Select a website or several websites under Devices > Websites.
  2. Click Protect.
  3. [Optional] Enable backup of databases.

    If several websites are selected, backup of databases is disabled by default.

  4. [Optional] Change the retention rules.
  5. [Optional] Enable encryption of backups.
  6. [Optional] Click the gear icon to edit the Backup file name option. This makes sense in two cases:
    • If you backed up this website earlier and want to continue the existing sequence of backups
    • If you want to see the custom name on the Backup storage tab
  7. Click Apply.