How to view the content of the backed up Gmail messages in the CubeBackup web console?


Gmail Content is hidden by default

Due to privacy concern, the content of the backed up Gmail messages is designed to be hidden by default in CubeBackup web dashboard. That is, the message content cannot be viewed directly in the Gmail Restore page. Hidden Gmail content

With this setting, it is inconvenience when restoring a Gmail message because you might not know whether this is the right message to be restored due to the hidden content.

CubeBackup allows you to turn on the visibility of the Gmail content with a configuration setting.

Show the content of Gmail messages

  • Open the configuration file config.toml on the backup server using a text editor.

Note: On Linux, the configuration file is located at “/opt/cubebackup/bin/config.toml”
On Windows, the configuration file is located at “c:\Program Files\CubeBackup4\bin\config.toml”

  • Add the following line to the [Web] section:
HideEmailBody = false

The [Web] section should look like this after the modification:

[Web]
Bind = “:80”
HideEmailBody = false
Domains = [“backupserver.yourdomain.com”]  # this is optional
  • Restart the CubeBackup service.

On Linux:

sudo /opt/cubebackup/bin/cbsrv restart

On Windows:

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

On Docker:

sudo docker restart <container-name>

Hide the content of Gmail messages

It is also simple to hide the content of backed up Gmail messages:

  • Change the value of HideEmailBody to true in config.toml configuration file.
  • Restart the CubeBackup service.