How to enable or disable data export in CubeBackup for Microsoft 365.


By default, CubeBackup allows the administrator to export backups for SharePoint sites to local machines; however, for security and privacy reasons, data export for users is disabled. In order to enable/disable data export, please follow the instructions below to modify a configuration file.

Data export for SharePoint sites

  1. Log (or SSH) into your backup server.
  2. Open the configuration file <installation directory>/etc/config.toml using a text editor.
    Note:
    By default, the installation directory is C:\Program Files\CubeBackup365 on Windows, and /opt/cubebackup365/ on Linux.
  3. Find the [Export] section and change the value of SiteExportable to false. This will disable the data export for SharePoint sites in CubeBackup.
    [Export]
    SiteExportable = false
    
  4. Restart the CubeBackup service using the following command.

    Please run this command.

    sudo /opt/cubebackup365/bin/cbsrv restart

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

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

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

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

    Please run this command to restart the container.

    sudo docker restart <container-name>

Data export for Microsoft 365 users

  1. Log (or SSH) into your backup server.
  2. Open the configuration file <installation directory>/etc/config.toml using a text editor.
    Note:
    By default, the installation directory is C:\Program Files\CubeBackup365 on Windows, and /opt/cubebackup365/ on Linux.
  3. Find the [Export] section and change the value of UserExportable to false. This will disable the data export for SharePoint sites in CubeBackup.
    [Export]
    UserExportable = false
    
  4. Restart the CubeBackup service using the following command.

    Please run this command.

    sudo /opt/cubebackup365/bin/cbsrv restart

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

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

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

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

    Please run this command to restart the container.

    sudo docker restart <container-name>