How to disable restoring data to different accounts.
By default, CubeBackup allows administrators and domain operators to restore Google Workspace data to a different account. However, for the sake of security and privacy, some companies may wish to disable this feature entirely. This can be done by modifying a configuration file.
Restore to owner only
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 by default.
On Linux, the installation directory is located at /opt/cubebackup by default.Find the [Restore] section and change the value of RestoreToOwnerOnly to true. If your config.toml file doesn't contain a [Restore] section, you will need to create one. After you have finished, the [Restore] section should look like this:
[Restore] RestoreToOwnerOnly = true
Restart the CubeBackup service so the changes will take effect.
On Linux:sudo /opt/cubebackup/bin/cbsrv restart
On Windows: Open the Command Prompt or Windows PowerShell and run this command as Administrator
"C:\Program Files\CubeBackup4\bin\cbsrv.exe" restart
On Docker:
sudo docker restart <container-name>