How to enable or disable data export in CubeBackup for Microsoft 365.
By default, CubeBackup allows the administrator to export backups for Teams and 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 the CubeBackup configuration file.
Data export for Microsoft 365 users
To enable data export for users:
- Log (or SSH) into your backup server.
- 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. -
Find the [Export] section and change the value of
UserExportable
totrue
. This will enable the data export for users in CubeBackup.[Export] UserExportable = true
-
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>
- Refresh the CubeBackup web console and verify that the change now takes effect.
Data export for Teams
To disable data export for teams:
- Log (or SSH) into your backup server.
- 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. -
Find the [Export] section and change the value of
TeamExportable
tofalse
. This will disable the data export for Teams in CubeBackup.
If your config.toml file doesn't contain anTeamExport
line, you will need to add the following in the [Export] section:[Export] TeamExportable = false
-
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>
- Refresh the CubeBackup web console and verify that the change now takes effect.
Data export for SharePoint sites
To disable data export for sites:
- Log (or SSH) into your backup server.
- 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. -
Find the [Export] section and change the value of
SiteExportable
tofalse
. This will disable the data export for SharePoint sites in CubeBackup.[Export] SiteExportable = false
-
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>
- Refresh the CubeBackup web console and verify that the change now takes effect.
Hide data export option
For additional protection, system administrators can hide the Export button in the CubeBackup web console. Please follow the instructions below to configure this setting:
- Log (or SSH) into your backup server.
- 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. -
Locate the [Export] section and insert the following line
HideButton = true
.[Export] HideButton = true UserExportable = false SiteExportable = false TeamExportable = false
-
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>
- Refresh the CubeBackup web console and verify that the change now takes effect.