How to enable Data Export in CubeBackup


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.
         On Linux, the installation directory is locatied at /opt/cubebackup.

  • 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 so the changes will take effect.

    On Linux:

    sudo /opt/cubebackup/bin/cbsrv restart

    On Windows:

    Enter services.msc in the command line, then in the Services list that pops up, right-click the CubeBackup Service entry, and select Restart.

    On Docker:

    sudo docker restart <container-name>