How to adjust PartSize for S3 storage to resolve the "TotalPartsExceeded" error in CubeBackup
Error message
TotalPartsExceeded: exceeded total allowed configured MaxUploadParts (10000). Adjust PartSize to fit in this limit s3.UploadWithContext()
Instructions
To resolve this issue, follow the steps below to adjust the part size for the S3 upload process:
Open the configuration file <installation directory>\etc\config.toml on the backup server using a text editor.
On Windows, the default installation directory is located at C:\Program Files\CubeBackup365.
On Linux, the default installation directory is located at /opt/cubebackup365.Add the following lines to the end of the file, and save the changes.
[Storage] PartSize = 32Restart the CubeBackup service using the following command.
Please run this command.
sudo /opt/cubebackup365/bin/cbsrv restartOpen a Command Prompt as Administrator, and run this command.
"C:\Program Files\CubeBackup365\bin\cbsrv.exe" restartOpen the Windows PowerShell as Administrator, and run this command.
& "C:\Program Files\CubeBackup365\bin\cbsrv.exe" restartPlease run this command to restart the container.
sudo docker restart <container-name>Return to the CubeBackup web console and manually initiate another backup.
If the issue persists, change the
PartSizevalue to 64, save the configuration file, and repeat steps 3 and 4.Note: Monitor RAM usage during the backup process, as increasing the
PartSizevalue may lead to higher memory consumption on your server. If necessary, upgrade the RAM to ensure that your CubeBackup server remains stable.