How to set up a proxy for my CubeBackup instance.


Proxy settings

To allow CubeBackup to communicate with Google services via a proxy server, please follow the instructions below:

  1. Open the configuration file config.toml, remove the comment character # from the beginning of the HttpProxy line and change the value of it. If your config.toml file does not contain this field, please manually add it to the first line of this file.

    For example, the config.toml should look like this:

    HttpProxy="http://192.168.1.100:8080"

    Note:
    Starting with version 4.7, the configuration file is located at <installation directory>/etc/config.toml for fresh installations of CubeBackup. For installations upgraded through the console, or versions prior to 4.7, the configuration file is still located at <installation directory>/bin/config.toml.
         On Windows, the installation directory is located at C:\Program Files\CubeBackup4 by default.
         On Linux, the installation directory is located at /opt/cubebackup by default.

  2. Restart the CubeBackup service using the following command.

    Please run this command.

    sudo /opt/cubebackup/bin/cbsrv restart

    Open a Command Prompt as Administrator, and run this command.

    "C:\Program Files\CubeBackup4\bin\cbsrv.exe" restart

    Open the Windows PowerShell as Administrator, and run this command.

    & "C:\Program Files\CubeBackup4\bin\cbsrv.exe" restart

    Please run this command to restart the container.

    sudo docker restart <container-name>

  3. If you have connection problems after following the steps above, please also contact your proxy server administrator to ensure that Google services are not blocked by your proxy. Detailed instructions can be found at https://support.google.com/a/answer/2589954?hl=en.