How to adjust the number of concurrent backup accounts in CubeBackup for Microsoft 365.

Parallel backup

CubeBackup backs up user accounts in parallel. That is, CubeBackup will backup multiple accounts simultaneously. The number of parallel accounts is decided automatically by CubeBackup depending on the number of cores in your CPU, the available network bandwidth, and the type of backup storage.

  • In most cases, the number of parallel accounts is between 4 and 10.
  • Each account is handled by several threads simultaneously.

Set the number of parallel accounts

In most cases, CubeBackup will choose a reasonable number of parallel accounts for your system, and there should be no reason to adjust it. However, this number can be modified in the configuration file if you wish.

Modify the configuration file

  1. Log (or SSH) into your backup server.
  2. Open the configuration file <installation directory>/etc/config.toml using a text editor.

    By default, the installation directory is C:\Program Files\CubeBackup365 on Windows, and /opt/cubebackup365/ on Linux.

  3. In the [Backup] section, remove the comment character "#" from the beginning of the line, and modify the WorkerCount value:

    WorkerCount = 10    # Backup 10 applications simultaneously

    Note: The recommended value for WorkerCount is no larger than 5 if you are doing an on-premises backup. You can set a higher value if CubeBackup is running on a cloud instance and backing up to cloud storage, which can accept a greater writing load than a local machine.

Restart CubeBackup

After changing the value of WorkerCount, you need to restart CubeBackup to let it take effect.

  1. In the CubeBackup console, click the Stop backup button if the backup is running.
  2. Log or SSH into the backup server.
  3. 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>