How to disable indexing for Gmail message contents.
Starting with CubeBackup for Google Workspace V4.11, new backups of Gmail messages now index the content of messages (in addition to the subject, senders, recipients and snippets). This enhances search capabilities and allows directly searching message contents. However, it will also increase the Gmail backup size by 5%~10%.
If you need to disable this feature due to storage constraints or security reasons, please follow these steps:
Open the config file config.toml on the backup server 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.In the [Backup] section, find the
DisableMailBodyIndexfield and set the value totrue. If your config.toml file doesn't contain aDisableMailBodyIndexline, you will need to add the following in the [Backup] section:DisableMailBodyIndex = trueSave the changes and restart the CubeBackup service to apply the new settings.
Please run this command.
sudo /opt/cubebackup/bin/cbsrv restartOpen a Command Prompt as Administrator, and run this command.
"C:\Program Files\CubeBackup4\bin\cbsrv.exe" restartOpen the Windows PowerShell as Administrator, and run this command.
& "C:\Program Files\CubeBackup4\bin\cbsrv.exe" restartPlease run this command to restart the container.
sudo docker restart <container-name>