How to enable Data Export in CubeBackup for Google Workspace.


Data export is disabled by default

For security and privacy reasons, data export is disabled by default in CubeBackup. In order to enable data export, you will need to modify a configuration file.

Enable data export

  • Log (or SSH) into your backup server.
  • Open the configuration file config.toml using a text editor.

    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.

  • Find the [Export] section and change the value of Enabled to true. If your config.toml file doesn't contain an [Export] section, you will need to create one. After you have finished, the [Export] section should look like this:

    [Export]
    Enabled = true
  • 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>